Function at 0x43e480
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.00589edc
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x43e4fa
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 0x43e861
push 2
push 0
push 0
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00589ef1
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0058a028
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.00589ef1
add esp, 0x10
mov edx, dword [ebp - 0x50]
push edx
call fcn.0045fe17
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 0x43e5c0
jl 0x43e571
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp - 0xac]
ja 0x43e5c0
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.0058a63d
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x6c], 0
jmp 0x43e59c
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x54]
jge 0x43e5b5
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 0x43e593
cmp dword [ebp - 0x54], 0
jg 0x43e571
jmp 0x43e75d
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.005900f0
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.0058a63d
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x7c], 0
jmp 0x43e63b
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x54]
jge 0x43e654
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 0x43e632
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 0x43e676
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 0x43e6fb
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.00589ef1
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.0058a63d
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], 0
jmp 0x43e6c5
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x54]
jge 0x43e6de
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 0x43e6bc
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 0x43e66d
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.00589ef1
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.0058a63d
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x68], 0
jmp 0x43e744
mov edx, dword [ebp - 0x68]
add edx, 1
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x54]
jge 0x43e75d
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 0x43e73b
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0058a755
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
call fcn.0045fe12
add esp, 4
cmp dword [ebp - 0x88], 0
jne 0x43e796
mov dword [ebp - 0x9c], 0
jmp 0x43e7a6
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.005901a0
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 0x43e7e4
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 8
jge 0x43e80c
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.0058862c
add esp, 0x10
jmp 0x43e7db
mov ecx, 1
shl ecx, 4
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 0x11
jae 0x43e825
jmp 0x43e82a
call fcn.00588ee5
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.00587d2b
mov esp, ebp
pop ebp
ret