Function at 0x44b210
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx]
push edi
test eax, eax
jne 0x44b462
mov ebp, dword [esp + 0x78]
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x38]
push 0xa
push ecx
push ebp
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x475cac
lea esi, [esp + 0x30]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x44b26d
test al, al
je 0x44b269
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x44b26d
add esi, 2
add edi, 2
test al, al
jne 0x44b245
xor eax, eax
jmp 0x44b272
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44b462
mov esi, dword [sym.imp.kernel32.dll_ReadFile]
lea edx, [esp + 0x14]
push eax
push edx
lea eax, [esp + 0x28]
push 4
push eax
push ebp
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x44b462
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x44]
push 0x12
push edx
push ebp
call esi
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push ebp
call esi
mov edx, dword [esp + 0x10]
push edx
push 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], ebp
je 0x44b462
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x14]
push 0
push eax
push ecx
push ebp
push edx
call esi
mov ecx, 0x732708
call fcn.00403850
test eax, eax
jne 0x44b30c
push ebp
call dword [sym.imp.kernel32.dll_GlobalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 4
mov edi, 0x47cc04
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 4
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x108], 1
call fcn.00461b30
add esp, 4
mov dword [ebx + 0x10c], eax
test eax, eax
jne 0x44b360
push ebp
call dword [sym.imp.kernel32.dll_GlobalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 4
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x50]
mov dword [esp + 0x78], eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x108]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x3c]
mov dword [esp + 0x50], 0x24
test eax, eax
mov dword [esp + 0x54], 0xc2
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], edx
jle 0x44b455
mov eax, dword [esp + 0x78]
mov esi, dword [ebx + 0x10c]
push 0
lea ebp, [eax*4]
mov eax, dword [0x73270c]
mov edx, ebp
mov ecx, dword [eax]
add edx, esi
push edx
lea edx, [esp + 0x58]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x44b46c
lea edx, [esp + 0x24]
mov eax, dword [ebx + 0x10c]
push 0
push edx
lea edx, [esp + 0x30]
mov eax, dword [eax + ebp]
push edx
lea edx, [esp + 0x38]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x24]
push edx
push 0
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x44b488
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x10c]
mov eax, dword [ecx + ebp]
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x4c]
mov eax, dword [esp + 0x78]
mov ecx, dword [ebx + 0x108]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jl 0x44b39f
mov ebp, dword [esp + 0x18]
push ebp
call dword [sym.imp.kernel32.dll_GlobalFree]
mov dword [ebx], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 4
mov ecx, ebx
call fcn.0044b4b0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 4
mov ecx, ebx
call fcn.0044b4b0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 4