Function at 0x43e420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x84], 0x14
mov dword [ebp - 0x50], 0xc800
mov eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0x84]
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
push 0x614cec
mov eax, dword [ebp + 0xc]
push eax
call fcn.00589eae
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x43e49a
push 0x613ef6
mov ecx, dword [ebp + 8]
call fcn.00406610
mov ecx, dword [ebp - 0x70]
or ecx, 1
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp + 8]
jmp 0x43e801
push 2
push 0
push 0
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00589ec3
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00589ffd
add esp, 4
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push 0
push 0
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00589ec3
add esp, 0x10
mov edx, dword [ebp - 0x50]
push edx
call fcn.0045fda2
add esp, 4
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0xa8]
jg 0x43e560
jl 0x43e511
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp - 0xac]
ja 0x43e560
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
push 1
mov edx, dword [ebp - 0x48]
push edx
call fcn.0058a612
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x6c], 0
jmp 0x43e53c
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x54]
jge 0x43e555
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x6c]
movzx eax, byte [edx]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
jmp 0x43e533
cmp dword [ebp - 0x54], 0
jg 0x43e511
jmp 0x43e6fd
mov eax, dword [ebp - 0x50]
shl eax, 1
cdq
mov ecx, dword [ebp - 0x78]
sub ecx, eax
mov eax, dword [ebp - 0x74]
sbb eax, edx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x84]
sub eax, 2
cdq
push edx
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xa4]
push edx
call fcn.005900c0
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
xorpd xmm0, xmm0
movlpd qword [ebp - 0x60], xmm0
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
push 1
mov edx, dword [ebp - 0x48]
push edx
call fcn.0058a612
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x7c], 0
jmp 0x43e5db
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x54]
jge 0x43e5f4
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x7c]
movzx eax, byte [edx]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
jmp 0x43e5d2
mov eax, dword [ebp - 0x50]
cdq
add eax, dword [ebp - 0x60]
adc edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x80], 0
jmp 0x43e616
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x84]
sub edx, 2
cmp dword [ebp - 0x80], edx
jge 0x43e69b
push 0
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00589ec3
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
push 1
mov edx, dword [ebp - 0x48]
push edx
call fcn.0058a612
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], 0
jmp 0x43e665
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x54]
jge 0x43e67e
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x64]
movzx eax, byte [edx]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
jmp 0x43e65c
mov ecx, dword [ebp - 0x60]
add ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x5c]
adc edx, dword [ebp - 0x90]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], edx
jmp 0x43e60d
push 0
mov eax, dword [ebp - 0x50]
cdq
mov ecx, dword [ebp - 0x78]
sub ecx, eax
mov eax, dword [ebp - 0x74]
sbb eax, edx
push eax
push ecx
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00589ec3
add esp, 0x10
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
push 1
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0058a612
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x68], 0
jmp 0x43e6e4
mov edx, dword [ebp - 0x68]
add edx, 1
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x54]
jge 0x43e6fd
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x68]
movzx edx, byte [ecx]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x24], edx
jmp 0x43e6db
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0058a72a
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
call fcn.0045fdab
add esp, 4
cmp dword [ebp - 0x88], 0
jne 0x43e736
mov dword [ebp - 0x9c], 0
jmp 0x43e746
mov dword [ebp - 0x48], 0x8123
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x78]
add ecx, 0x9d
mov edx, dword [ebp - 0x74]
adc edx, 0
push 0
push 0xc
push edx
push ecx
call fcn.00590170
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x58], 0
jmp 0x43e784
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 8
jge 0x43e7ac
mov eax, dword [ebp - 0x58]
movzx ecx, byte [ebp + eax - 0xc]
push ecx
push 0x614cf0
push 3
mov edx, dword [ebp - 0x58]
lea eax, [ebp + edx*2 - 0x20]
push eax
call fcn.005885bc
add esp, 0x10
jmp 0x43e77b
mov ecx, 1
shl ecx, 4
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 0x11
jae 0x43e7c5
jmp 0x43e7ca
call fcn.00588e75
mov edx, dword [ebp - 0x8c]
mov byte [ebp + edx - 0x20], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x44]
call fcn.00406610
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406650
mov edx, dword [ebp - 0x70]
or edx, 1
mov dword [ebp - 0x70], edx
lea ecx, [ebp - 0x44]
call fcn.004066a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00587cb5
mov esp, ebp
pop ebp
ret