Function at 0x43a890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x639490]
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 0x60dcf8
mov eax, dword [ebp + 0xc]
push eax
call fcn.00583e2c
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x43a90a
push 0x60ce97
mov ecx, dword [ebp + 8]
call fcn.004066a0
mov ecx, dword [ebp - 0x70]
or ecx, 1
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp + 8]
jmp 0x43ac71
push 2
push 0
push 0
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00583e41
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00583f78
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.00583e41
add esp, 0x10
mov edx, dword [ebp - 0x50]
push edx
call fcn.00459d62
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 0x43a9d0
jl 0x43a981
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp - 0xac]
ja 0x43a9d0
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.0058458d
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x6c], 0
jmp 0x43a9ac
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x54]
jge 0x43a9c5
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 0x43a9a3
cmp dword [ebp - 0x54], 0
jg 0x43a981
jmp 0x43ab6d
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.00589f90
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.0058458d
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x7c], 0
jmp 0x43aa4b
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x54]
jge 0x43aa64
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 0x43aa42
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 0x43aa86
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 0x43ab0b
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.00583e41
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.0058458d
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], 0
jmp 0x43aad5
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x54]
jge 0x43aaee
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 0x43aacc
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 0x43aa7d
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.00583e41
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.0058458d
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x68], 0
jmp 0x43ab54
mov edx, dword [ebp - 0x68]
add edx, 1
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x54]
jge 0x43ab6d
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 0x43ab4b
mov eax, dword [ebp - 0x4c]
push eax
call fcn.005846a5
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
call fcn.00459d6b
add esp, 4
cmp dword [ebp - 0x88], 0
jne 0x43aba6
mov dword [ebp - 0x9c], 0
jmp 0x43abb6
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.0058a040
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 0x43abf4
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 8
jge 0x43ac1c
mov eax, dword [ebp - 0x58]
movzx ecx, byte [ebp + eax - 0xc]
push ecx
push 0x60dcfc
push 3
mov edx, dword [ebp - 0x58]
lea eax, [ebp + edx*2 - 0x20]
push eax
call fcn.0058257c
add esp, 0x10
jmp 0x43abeb
mov ecx, 1
shl ecx, 4
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 0x11
jae 0x43ac35
jmp 0x43ac3a
call fcn.00582e35
mov edx, dword [ebp - 0x8c]
mov byte [ebp + edx - 0x20], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x44]
call fcn.004066a0
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004066e0
mov edx, dword [ebp - 0x70]
or edx, 1
mov dword [ebp - 0x70], edx
lea ecx, [ebp - 0x44]
call fcn.00406730
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00581c71
mov esp, ebp
pop ebp
ret