Function at 0x436f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd14
mov eax, dword [0x58005c]
xor eax, ebp
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xd14], ecx
call fcn.004debd0
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
call fcn.004debb0
mov dword [ebp - 4], eax
call fcn.004deba0
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 0x436fe6
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xcc], 0
mov edx, dword [ebp - 0xcc]
cmp edx, dword [ebp - 0x18]
jl 0x436ffd
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 0x43701f
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 0x437051
mov ecx, dword [ebp - 0x80]
cmp dword [ecx + 0x80], 0
je 0x437051
jmp 0x43744a
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 [0x5582d0]
add esp, 0x20
push 0x55c50c
lea eax, [ebp - 0x4d8]
push eax
call fcn.004de640
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x437137
jmp 0x43744a
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.0041da81
add esp, 0x10
movsx eax, byte [ebp - 0x8f]
cmp eax, 0x33
jne 0x437194
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x84], 1
movsx ecx, byte [ebp - 0x8f]
cmp ecx, 0x35
jne 0x4371a7
mov dword [ebp - 0x68], 1
movsx edx, byte [ebp - 0x8f]
cmp edx, 0x37
jne 0x4371c4
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 0x437207
mov ecx, dword [ebp - 0xd0]
imul ecx, ecx, 0xffffffff
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0x78], 0
jge 0x437216
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 0x437237
mov eax, dword [ebp - 0x30]
push eax
call fcn.0041329a
add esp, 4
jmp 0x43744a
mov ecx, dword [ebp - 0x30]
push ecx
push 1
push 0xe
lea edx, [ebp - 0x28]
push edx
call fcn.0041da81
add esp, 0x10
cmp eax, 1
jne 0x43743e
mov eax, dword [ebp - 0x30]
push eax
push 1
push 0x28
lea ecx, [ebp - 0x60]
push ecx
call fcn.0041da81
add esp, 0x10
cmp eax, 1
jne 0x43743e
mov edx, dword [ebp - 0xd14]
mov ecx, dword [edx + 0xc]
call fcn.00405260
mov dword [ebp - 0xcec], eax
movzx eax, word [ebp - 0x52]
cmp eax, 8
jne 0x43736e
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xcf0], ecx
cmp dword [ebp - 0xcf0], 0
jne 0x4372ae
mov dword [ebp - 0xcf0], 0x100
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0xcf0]
push eax
push 4
lea ecx, [ebp - 0xce8]
push ecx
call fcn.0041da81
add esp, 0x10
mov dword [ebp - 0xcf4], 0
jmp 0x4372e5
mov edx, dword [ebp - 0xcf4]
add edx, 1
mov dword [ebp - 0xcf4], edx
mov eax, dword [ebp - 0xcf4]
cmp eax, dword [ebp - 0xcf0]
jge 0x43736e
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 0x4372d6
mov dword [ebp - 0xd04], 0
jmp 0x437389
mov eax, dword [ebp - 0xd04]
add eax, 1
mov dword [ebp - 0xd04], eax
mov ecx, dword [ebp - 0xd04]
cmp ecx, dword [ebp - 0x70]
jge 0x43743e
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.0041da81
add esp, 0x10
mov dword [ebp - 0xd0c], 0
jmp 0x4373d5
mov eax, dword [ebp - 0xd0c]
add eax, 1
mov dword [ebp - 0xd0c], eax
mov ecx, dword [ebp - 0xd0c]
cmp ecx, dword [ebp - 4]
jge 0x43742d
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 0x4373c6
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*4]
mov dword [ebp - 8], edx
jmp 0x43737a
mov eax, dword [ebp - 0x30]
push eax
call fcn.0041329a
add esp, 4
mov ecx, dword [ebp - 0x88]
xor ecx, ebp
call fcn.004130a1
mov esp, ebp
pop ebp
ret 8