Function at 0x4d0750
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x590baf
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x78]
mov ecx, 0x6355a1
call fcn.00561ea5
mov eax, dword [edi]
mov ecx, edi
mov byte [edi + 8], 0
call dword [eax]
mov dword [ebp + 0x18], 0
mov dword [ebp - 4], 0
push 4
call fcn.0052f564
add esp, 4
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 1
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 0
mov dword [ebp + 0x18], eax
mov dword [ebp - 4], 2
lea ecx, [ebp + 0x18]
push 0x80
push 3
push 1
push SysReAllocString
push esi
call fcn.004bbac0
test al, al
jne 0x4d0843
lea ecx, [ebp + 0x50]
call fcn.004d1800
mov byte [ebp - 4], 3
cmp dword [edi + 4], 0
je 0x4d0822
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call fcn.00404010
mov byte [ebp - 4], 4
mov ecx, dword [edi + 4]
push 0
mov eax, dword [ecx]
mov byte [ebp - 4], 3
call dword [eax + 4]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x50]
call fcn.00404570
mov byte [ebp - 4], 2
lea eax, [ebp + 0x50]
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 2
xor bl, bl
jmp 0x4d0a47
lea eax, [ebp + 4]
xorps xmm0, xmm0
push eax
lea ecx, [ebp + 0x18]
movlpd qword [ebp + 4], xmm0
call fcn.004bbc70
mov eax, dword [ebp + 4]
or eax, dword [ebp + 8]
jne 0x4d08b5
lea ecx, [ebp + 0x38]
call fcn.00403f80
mov byte [ebp - 4], 9
cmp dword [edi + 4], 0
je 0x4d0894
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call fcn.00404010
mov byte [ebp - 4], 0xa
mov ecx, dword [edi + 4]
push 0
mov eax, dword [ecx]
mov byte [ebp - 4], 9
call dword [eax + 4]
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0x38]
call fcn.00404570
mov byte [ebp - 4], 2
lea eax, [ebp + 0x38]
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 2
xor bl, bl
jmp 0x4d0a47
xorps xmm0, xmm0
mov byte [ebp + 0x1f], 1
push 0x10000
mov dword [ebp + 0x68], 0
movlpd qword [ebp + 0x10], xmm0
call fcn.0052ffb8
mov esi, dword [ebp + 0x10]
mov ebx, eax
mov eax, dword [ebp + 0x14]
add esp, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x4d09e8
test ebx, ebx
je 0x4d09c9
cmp dword [ecx], 0xffffffff
je 0x4d09c9
push 0
lea eax, [ebp + 0x68]
mov dword [ebp + 0x68], 0
push eax
push 0x10000
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d09c6
cmp byte [edi + 8], 0
jne 0x4d098e
mov ecx, dword [ebp + 0x68]
test ecx, ecx
je 0x4d09c6
mov eax, dword [edi]
push ecx
push ebx
mov ecx, edi
call dword [eax + 4]
add esi, dword [ebp + 0x68]
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 4]
adc edx, 0
mov dword [ebp + 0x14], esi
mov dword [ebp + 0xc], edx
test eax, eax
je 0x4d0982
mov ecx, dword [ebp + 0x14]
mov esi, dword [eax]
call fcn.00530590
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 4]
movsd qword [ebp - 0x14], xmm0
call fcn.00530590
movsd xmm1, qword [ebp - 0x14]
sub esp, 8
divsd xmm1, xmm0
mov ecx, dword [edi + 4]
movsd qword [esp], xmm1
call dword [esi]
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x68], 0
jmp 0x4d08e0
lea ecx, [ebp + 0x20]
call fcn.00403f80
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0x20]
push eax
push 0
mov ecx, edi
call fcn.004d0ab0
xor al, al
mov byte [ebp + 0x1f], al
mov byte [ebp - 4], 0x10
lea ecx, [ebp + 0x20]
call fcn.00404570
mov byte [ebp - 4], 2
lea eax, [ebp + 0x20]
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x4d09e8
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x4d09e8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4d09e8
mov eax, dword [ebp + 0x18]
mov dword [eax], 0xffffffff
push ebx
call fcn.0052fc78
mov eax, dword [edi]
add esp, 4
mov ecx, edi
call dword [eax + 8]
lea ecx, [ebp - 0x2c]
call fcn.00403f80
mov byte [ebp - 4], 0x18
cmp dword [edi + 4], 0
je 0x4d0a2a
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call fcn.00404010
mov byte [ebp - 4], 0x19
mov ecx, dword [edi + 4]
push 1
mov eax, dword [ecx]
mov byte [ebp - 4], 0x18
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2c]
call fcn.00404570
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 2
mov bl, byte [ebp + 0x1f]
mov dword [ebp - 4], 0x1e
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x4d0a7f
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4d0a6d
test eax, eax
je 0x4d0a6d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.0052f594
add esp, 8
mov dword [ebp + 0x18], 0
mov dword [ebp - 4], 0xffffffff
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 + 0x6c]
xor ecx, ebp
call fcn.0052f553
lea esp, [ebp + 0x70]
pop ebp
ret 4