Function at 0x43a570
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x34], edx
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 0
je 0x43a5b6
xor eax, eax
jmp 0x43a7b3
mov edx, dword [ebp - 0x18]
and edx, 2
jne 0x43a645
mov eax, dword [ebp - 8]
push eax
call fcn.004a8159
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
adc edx, dword [ebp - 0x30]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x10], 0xffffffff
jne 0x43a5ee
jmp 0x43a7b0
push 0
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov cl, 0x20
call fcn.0049bbf0
push eax
push 2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x43a645
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x34]
mov dword [ecx + 0x28], edx
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], edx
jmp 0x43a7ac
push 1
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.004a8346
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042e370
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43a686
jmp 0x43a7b0
cmp dword [ebp - 0x38], 0
jg 0x43a6a5
jl 0x43a694
cmp dword [ebp - 0x3c], 0
jae 0x43a6a5
mov eax, dword [ebp - 4]
push eax
call fcn.0042e530
add esp, 4
jmp 0x43a7b0
push 0
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004a8346
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0
jg 0x43a6e0
jl 0x43a6cf
cmp dword [ebp - 0x4c], 0
jae 0x43a6e0
mov ecx, dword [ebp - 4]
push ecx
call fcn.0042e530
add esp, 4
jmp 0x43a7b0
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x28]
jg 0x43a729
jl 0x43a6f2
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2c]
jae 0x43a729
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004a9af8
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x43a717
jmp 0x43a729
mov eax, dword [ebp - 0xc]
cdq
add eax, dword [ebp - 0x24]
adc edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
jmp 0x43a6e0
call fcn.004a7baa
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004a8346
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0xc], 0
jl 0x43a76d
cmp dword [ebp - 0xc], 0
jne 0x43a787
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x20]
jl 0x43a787
jg 0x43a76d
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
jbe 0x43a787
mov ecx, dword [ebp - 4]
push ecx
call fcn.0042e530
add esp, 4
call fcn.004a7baa
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
jmp 0x43a7b0
cmp dword [ebp - 0x50], 0
jg 0x43a7a3
jl 0x43a795
cmp dword [ebp - 0x54], 0
jae 0x43a7a3
mov eax, dword [ebp - 4]
push eax
call fcn.0042e530
add esp, 4
jmp 0x43a7b0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x1c], edx
xor eax, eax
jmp 0x43a7b3
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret