Function at 0x441476
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b49b4
mov eax, dword fs:[0]
push eax
mov eax, 0x10b0
call fcn.0047aac0
mov eax, dword [0x500ef0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1074], ecx
xor ecx, ecx
mov dword [ebp - 0x1028], ebx
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], cx
mov dword [ebp - 0x1040], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1030], ebx
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], bl
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44162a
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x44153f
cmp dword [ebp - 0x107c], 0
jbe 0x44155a
push dword [ebp - 0x107c]
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1040]
call fcn.00414674
push ebx
lea eax, [ebp - 0x107c]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call edi
test eax, eax
jne 0x44151e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x102c]
lea esi, [ebp - 0x1040]
mov edx, dword [ebp - 0x1040]
cmp ecx, 0x10
mov edi, dword [ebp - 0x1030]
cmovae esi, edx
cmp edi, 3
jl 0x4415bf
cmp ecx, 0x10
lea eax, [ebp - 0x1040]
cmovae eax, edx
cmp byte [eax], 0xef
jne 0x4415bf
cmp ecx, 0x10
lea eax, [ebp - 0x1040]
cmovae eax, edx
cmp byte [eax + 1], 0xbb
jne 0x4415bf
cmp ecx, 0x10
lea eax, [ebp - 0x1040]
cmovae eax, edx
cmp byte [eax + 2], 0xbf
jne 0x4415bf
add esi, 3
add edi, 0xfffffffd
push ebx
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x1028]
call fcn.00432f47
push dword [ebp - 0x1018]
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push eax
push edi
push esi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x44160b
push ebx
push eax
lea ecx, [ebp - 0x1028]
call fcn.00432f47
jmp 0x44162a
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1018], ebx
cmovae eax, dword [ebp - 0x1028]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x1018], 0
je 0x441982
mov esi, ebx
mov dword [ebp - 0x10a4], ebx
mov dword [ebp - 0x1070], esi
mov dword [ebp - 0x10a0], ebx
mov dword [ebp - 0x109c], ebx
mov dword [ebp - 0x1098], ebx
mov dword [ebp - 0x1094], ebx
mov dword [ebp - 0x1090], ebx
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x10b8], ebx
cmovae eax, dword [ebp - 0x1028]
xor edi, edi
mov dword [ebp - 0x10bc], eax
mov dword [ebp - 0x10b4], ebx
mov dword [ebp - 0x108c], ebx
mov dword [ebp - 0x1088], ebx
mov dword [ebp - 0x107c], edi
mov dword [ebp - 0x1084], edi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x106c]
push eax
lea ecx, [ebp - 0x10bc]
call fcn.0044210d
mov byte [ebp - 4], 5
lea eax, [ebp - 0x106c]
push eax
cmp ebx, edi
je 0x4416dc
mov ecx, ebx
call fcn.0044122a
push 0x2c
pop eax
add ebx, eax
mov dword [ebp - 0x1088], ebx
jmp 0x4416fa
push ebx
lea ecx, [ebp - 0x108c]
call fcn.00440d83
mov eax, dword [ebp - 0x1084]
mov ebx, dword [ebp - 0x1088]
mov dword [ebp - 0x107c], eax
mov ecx, dword [ebp - 0x106c]
cmp ecx, 3
jne 0x44171a
test esi, esi
jne 0x44171e
mov esi, dword [ebp - 0x1068]
mov dword [ebp - 0x1070], esi
jmp 0x441814
test esi, esi
je 0x44177a
lea eax, [esi + 1]
cmp dword [ebp - 0x1068], eax
jne 0x44176a
push str.assemblyIdentity
lea ecx, [ebp - 0x1064]
call fcn.004155c7
mov ecx, dword [ebp - 0x106c]
test al, al
je 0x44176a
cmp ecx, 3
jne 0x44176a
push dword [ebp - 0x1080]
lea ecx, [ebp - 0x1098]
push dword [ebp - 0x1048]
push dword [ebp - 0x104c]
call fcn.00440c39
jmp 0x441814
test esi, esi
je 0x44177a
cmp dword [ebp - 0x1068], esi
je 0x441839
cmp ecx, 5
je 0x44186f
test ecx, ecx
je 0x44186f
lea eax, [esi + 1]
cmp dword [ebp - 0x1068], eax
jne 0x441814
push 0x4c7114
lea ecx, [ebp - 0x1064]
call fcn.004155c7
test al, al
je 0x441814
mov eax, dword [ebp - 0x1048]
mov ecx, dword [ebp - 0x104c]
sub eax, ecx
push 0x30
cdq
pop edi
idiv edi
mov dword [ebp - 0x1080], eax
test eax, eax
je 0x441814
mov esi, dword [ebp - 0x1074]
xor edi, edi
mov ebx, eax
add ecx, edi
push str.name
call fcn.004155c7
test al, al
je 0x4417f6
mov eax, dword [ebp - 0x104c]
lea ecx, [esi + 0x30]
add eax, 0x18
add eax, edi
push eax
call fcn.00435282
push 0x30
pop eax
add edi, eax
sub ebx, 1
je 0x441808
mov ecx, dword [ebp - 0x104c]
jmp 0x4417d2
mov ebx, dword [ebp - 0x1088]
mov esi, dword [ebp - 0x1070]
lea ecx, [ebp - 0x104c]
mov byte [ebp - 4], 4
call fcn.00441c0d
lea ecx, [ebp - 0x1064]
call fcn.00411fa2
mov edi, dword [ebp - 0x107c]
jmp 0x4416a7
lea ecx, [ebp - 0x104c]
mov byte [ebp - 4], 4
call fcn.00441c0d
lea ecx, [ebp - 0x1064]
call fcn.00411fa2
push dword [ebp - 0x1074]
lea eax, [ebp - 0x1098]
push eax
call fcn.00442a56
pop ecx
pop ecx
mov byte [ebp - 0x1075], al
jmp 0x44188c
lea ecx, [ebp - 0x104c]
call fcn.00441c0d
lea ecx, [ebp - 0x1064]
call fcn.00411fa2
mov byte [ebp - 0x1075], 0
mov esi, dword [ebp - 0x108c]
test esi, esi
je 0x441902
mov edi, esi
cmp edi, ebx
je 0x4418b4
push 0x2c
pop esi
push 0
mov ecx, edi
call fcn.0044137f
add edi, esi
cmp edi, ebx
jne 0x44189f
mov esi, dword [ebp - 0x108c]
mov eax, dword [ebp - 0x107c]
sub eax, esi
mov dword [ebp - 0x1070], esi
push 0x2c
cdq
pop ecx
idiv ecx
imul eax, eax, 0x2c
mov dword [ebp - 0x1074], eax
cmp eax, 0x1000
jb 0x4418f9
lea eax, [ebp - 0x1074]
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x1074]
mov esi, dword [ebp - 0x1070]
pop ecx
pop ecx
push eax
push esi
call fcn.00479ff8
pop ecx
pop ecx
mov esi, dword [ebp - 0x1098]
test esi, esi
je 0x44197c
mov edi, dword [ebp - 0x1094]
cmp esi, edi
je 0x44192e
push 0
mov ecx, esi
call fcn.00441353
push 0x30
pop eax
add esi, eax
cmp esi, edi
jne 0x441916
mov esi, dword [ebp - 0x1098]
mov eax, dword [ebp - 0x1090]
sub eax, esi
mov dword [ebp - 0x1070], esi
push 0x30
cdq
pop ecx
idiv ecx
imul eax, eax, 0x30
mov dword [ebp - 0x1074], eax
cmp eax, 0x1000
jb 0x441973
lea eax, [ebp - 0x1074]
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x1074]
mov esi, dword [ebp - 0x1070]
pop ecx
pop ecx
push eax
push esi
call fcn.00479ff8
pop ecx
pop ecx
mov bl, byte [ebp - 0x1075]
mov eax, dword [ebp - 0x102c]
cmp eax, 0x10
jb 0x4419d1
mov ecx, dword [ebp - 0x1040]
inc eax
mov dword [ebp - 0x1074], eax
mov dword [ebp - 0x1070], ecx
cmp eax, 0x1000
jb 0x4419c8
lea eax, [ebp - 0x1074]
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x1074]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1070]
push eax
push ecx
call fcn.00479ff8
pop ecx
pop ecx
and dword [ebp - 0x1030], 0
mov eax, dword [ebp - 0x1014]
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
cmp eax, 8
jb 0x441a3e
mov ecx, dword [ebp - 0x1028]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1074], eax
mov dword [ebp - 0x1070], ecx
cmp eax, 0x1000
jb 0x441a35
lea eax, [ebp - 0x1074]
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x1074]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1070]
push eax
push ecx
call fcn.00479ff8
pop ecx
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047a65d
leave
ret