Function at 0x43f210
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x4c897f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4fe280]
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, 0x5030e3
call fcn.004b99c5
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.00448db1
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 0x80000000
push esi
call fcn.0042e9e0
test al, al
jne 0x43f303
lea ecx, [ebp + 0x50]
call fcn.00440380
mov byte [ebp - 4], 3
cmp dword [edi + 4], 0
je 0x43f2e2
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call fcn.00408570
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.004048c0
mov byte [ebp - 4], 2
lea eax, [ebp + 0x50]
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 2
xor bl, bl
jmp 0x43f507
lea eax, [ebp + 4]
xorps xmm0, xmm0
push eax
lea ecx, [ebp + 0x18]
movlpd qword [ebp + 4], xmm0
call fcn.0042ebe0
mov eax, dword [ebp + 4]
or eax, dword [ebp + 8]
jne 0x43f375
lea ecx, [ebp + 0x38]
call fcn.004045e0
mov byte [ebp - 4], 9
cmp dword [edi + 4], 0
je 0x43f354
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call fcn.00408570
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.004048c0
mov byte [ebp - 4], 2
lea eax, [ebp + 0x38]
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 2
xor bl, bl
jmp 0x43f507
xorps xmm0, xmm0
mov byte [ebp + 0x1f], 1
push 0x10000
mov dword [ebp + 0x68], 0
movlpd qword [ebp + 0x10], xmm0
call fcn.004497e2
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 0x43f4a8
test ebx, ebx
je 0x43f489
cmp dword [ecx], 0xffffffff
je 0x43f489
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 0x43f486
cmp byte [edi + 8], 0
jne 0x43f44e
mov ecx, dword [ebp + 0x68]
test ecx, ecx
je 0x43f486
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 0x43f442
mov ecx, dword [ebp + 0x14]
mov esi, dword [eax]
call fcn.004b9d10
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 4]
movsd qword [ebp - 0x14], xmm0
call fcn.004b9d10
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 0x43f3a0
lea ecx, [ebp + 0x20]
call fcn.004045e0
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0x20]
push eax
push 0
mov ecx, edi
call fcn.0043f570
xor al, al
mov byte [ebp + 0x1f], al
mov byte [ebp - 4], 0x10
lea ecx, [ebp + 0x20]
call fcn.004048c0
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 0x43f4a8
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x43f4a8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x43f4a8
mov eax, dword [ebp + 0x18]
mov dword [eax], 0xffffffff
push ebx
call fcn.004494c5
mov eax, dword [edi]
add esp, 4
mov ecx, edi
call dword [eax + 8]
lea ecx, [ebp - 0x2c]
call fcn.004045e0
mov byte [ebp - 4], 0x18
cmp dword [edi + 4], 0
je 0x43f4ea
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call fcn.00408570
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.004048c0
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 0x43f53f
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x43f52d
test eax, eax
je 0x43f52d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.004491e3
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.00448da0
lea esp, [ebp + 0x70]
pop ebp
ret 4