Function at 0x437510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd14
mov eax, dword [0x58605c]
xor eax, ebp
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xd14], ecx
call fcn.004e2400
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
call fcn.004e23e0
mov dword [ebp - 4], eax
call fcn.004e23d0
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x70]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0xcc], ecx
cmp dword [ebp - 0x18], 1
jge 0x437576
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xcc], 0
mov edx, dword [ebp - 0xcc]
cmp edx, dword [ebp - 0x18]
jl 0x43758d
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0x4e4], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x7c]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 1
jge 0x4375af
mov dword [ebp - 0x6c], 1
mov eax, dword [ebp - 0xcc]
cdq
idiv dword [ebp - 0x6c]
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xd14]
mov eax, dword [ebp - 0xcc]
cmp eax, dword [edx + 0x10]
jne 0x4375e1
mov ecx, dword [ebp - 0x80]
cmp dword [ecx + 0x80], 0
je 0x4375e1
jmp 0x4379da
mov edx, dword [ebp - 0xd14]
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x4e4]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4e4]
cdq
mov ecx, 0xa
idiv ecx
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x4e4]
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp - 0x4e0], edx
mov eax, dword [ebp - 0xcc]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xcc]
cdq
mov ecx, 0xa
idiv ecx
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xcc]
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp - 0x4dc], edx
mov edx, dword [ebp - 0x4dc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0x4e0]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push str.dwq_an_an_d_d_d_d_d_d.dwq
lea edx, [ebp - 0x4d8]
push edx
call dword [0x55e2d0]
add esp, 0x20
push 0x56250c
lea eax, [ebp - 0x4d8]
push eax
call fcn.004e1e40
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4376c7
jmp 0x4379da
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x30]
push ecx
push 0x40
push 1
lea edx, [ebp - 0xc8]
push edx
call fcn.0041dbff
add esp, 0x10
movsx eax, byte [ebp - 0x8f]
cmp eax, 0x33
jne 0x437724
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x84], 1
movsx ecx, byte [ebp - 0x8f]
cmp ecx, 0x35
jne 0x437737
mov dword [ebp - 0x68], 1
movsx edx, byte [ebp - 0x8f]
cmp edx, 0x37
jne 0x437754
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x64]
imul eax, dword [ebp - 0x78]
shl eax, 2
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jge 0x437797
mov ecx, dword [ebp - 0xd0]
imul ecx, ecx, 0xffffffff
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0x78], 0
jge 0x4377a6
mov edx, dword [ebp - 0x78]
imul edx, edx, 0xffffffff
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x2c], ecx
xor edx, edx
je 0x4377c7
mov eax, dword [ebp - 0x30]
push eax
call fcn.004133fa
add esp, 4
jmp 0x4379da
mov ecx, dword [ebp - 0x30]
push ecx
push 1
push 0xe
lea edx, [ebp - 0x28]
push edx
call fcn.0041dbff
add esp, 0x10
cmp eax, 1
jne 0x4379ce
mov eax, dword [ebp - 0x30]
push eax
push 1
push 0x28
lea ecx, [ebp - 0x60]
push ecx
call fcn.0041dbff
add esp, 0x10
cmp eax, 1
jne 0x4379ce
mov edx, dword [ebp - 0xd14]
mov ecx, dword [edx + 0xc]
call fcn.00405390
mov dword [ebp - 0xcec], eax
movzx eax, word [ebp - 0x52]
cmp eax, 8
jne 0x4378fe
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xcf0], ecx
cmp dword [ebp - 0xcf0], 0
jne 0x43783e
mov dword [ebp - 0xcf0], pe_nt_image_headers32
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0xcf0]
push eax
push 4
lea ecx, [ebp - 0xce8]
push ecx
call fcn.0041dbff
add esp, 0x10
mov dword [ebp - 0xcf4], 0
jmp 0x437875
mov edx, dword [ebp - 0xcf4]
add edx, 1
mov dword [ebp - 0xcf4], edx
mov eax, dword [ebp - 0xcf4]
cmp eax, dword [ebp - 0xcf0]
jge 0x4378fe
mov ecx, dword [ebp - 0xcf4]
movzx edx, byte [ebp + ecx*4 - 0xce6]
mov dword [ebp - 0xd00], edx
mov eax, dword [ebp - 0xcf4]
movzx ecx, byte [ebp + eax*4 - 0xce7]
mov dword [ebp - 0xcfc], ecx
mov edx, dword [ebp - 0xcf4]
movzx eax, byte [ebp + edx*4 - 0xce8]
mov dword [ebp - 0xcf8], eax
mov ecx, dword [ebp - 0xd00]
shl ecx, 0x10
and ecx, 0xff0000
mov edx, dword [ebp - 0xcfc]
shl edx, 8
and edx, 0xff00
or ecx, edx
mov eax, dword [ebp - 0xcf8]
and eax, 0xff
or ecx, eax
mov edx, dword [ebp - 0xcf4]
mov dword [ebp + edx*4 - 0x8e8], ecx
jmp 0x437866
mov dword [ebp - 0xd04], 0
jmp 0x437919
mov eax, dword [ebp - 0xd04]
add eax, 1
mov dword [ebp - 0xd04], eax
mov ecx, dword [ebp - 0xd04]
cmp ecx, dword [ebp - 0x70]
jge 0x4379ce
mov edx, dword [ebp - 8]
mov dword [ebp - 0xd08], edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp - 0xcec]
push edx
call fcn.0041dbff
add esp, 0x10
mov dword [ebp - 0xd0c], 0
jmp 0x437965
mov eax, dword [ebp - 0xd0c]
add eax, 1
mov dword [ebp - 0xd0c], eax
mov ecx, dword [ebp - 0xd0c]
cmp ecx, dword [ebp - 4]
jge 0x4379bd
mov edx, dword [ebp - 0xcec]
add edx, dword [ebp - 0xd0c]
movsx eax, byte [edx]
mov dword [ebp - 0xd10], eax
mov ecx, dword [ebp - 0xd10]
and ecx, 0xff
mov dword [ebp - 0xd10], ecx
mov edx, dword [ebp - 0xd08]
mov eax, dword [ebp - 0xd10]
mov ecx, dword [ebp + eax*4 - 0x8e8]
mov dword [edx], ecx
mov edx, dword [ebp - 0xd08]
add edx, 4
mov dword [ebp - 0xd08], edx
jmp 0x437956
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*4]
mov dword [ebp - 8], edx
jmp 0x43790a
mov eax, dword [ebp - 0x30]
push eax
call fcn.004133fa
add esp, 4
mov ecx, dword [ebp - 0x88]
xor ecx, ebp
call fcn.00413201
mov esp, ebp
pop ebp
ret 8