Function at 0x43e5b0
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 0x614cac
mov eax, dword [ebp + 0xc]
push eax
call fcn.0058a61c
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x43e62a
push 0x613ea6
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 0x43e991
push 2
push 0
push 0
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0058a631
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0058a768
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.0058a631
add esp, 0x10
mov edx, dword [ebp - 0x50]
push edx
call fcn.00460552
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 0x43e6f0
jl 0x43e6a1
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp - 0xac]
ja 0x43e6f0
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.0058ad7d
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x6c], 0
jmp 0x43e6cc
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x54]
jge 0x43e6e5
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 0x43e6c3
cmp dword [ebp - 0x54], 0
jg 0x43e6a1
jmp 0x43e88d
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.00590840
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.0058ad7d
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x7c], 0
jmp 0x43e76b
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x54]
jge 0x43e784
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 0x43e762
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 0x43e7a6
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 0x43e82b
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.0058a631
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.0058ad7d
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], 0
jmp 0x43e7f5
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x54]
jge 0x43e80e
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 0x43e7ec
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 0x43e79d
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.0058a631
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.0058ad7d
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x68], 0
jmp 0x43e874
mov edx, dword [ebp - 0x68]
add edx, 1
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x54]
jge 0x43e88d
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 0x43e86b
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0058ae95
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
call fcn.0046055b
add esp, 4
cmp dword [ebp - 0x88], 0
jne 0x43e8c6
mov dword [ebp - 0x9c], 0
jmp 0x43e8d6
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.005908f0
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 0x43e914
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 8
jge 0x43e93c
mov eax, dword [ebp - 0x58]
movzx ecx, byte [ebp + eax - 0xc]
push ecx
push 0x614cb0
push 3
mov edx, dword [ebp - 0x58]
lea eax, [ebp + edx*2 - 0x20]
push eax
call fcn.00588d6c
add esp, 0x10
jmp 0x43e90b
mov ecx, 1
shl ecx, 4
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 0x11
jae 0x43e955
jmp 0x43e95a
call fcn.00589625
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.0058846b
mov esp, ebp
pop ebp
ret