Function at 0x4955d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x632b20]
xor eax, ebp
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [0x9cf788]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x148]
push eax
call fcn.00494d10
add esp, 0x10
push 0x5ecb18
lea ecx, [ebp - 0x148]
push ecx
call fcn.005cd6b5
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x49562e
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
or eax, 0xffffffff
jmp 0x495945
push 0x1452
push 0
mov edx, dword [ebp + 0x20]
push edx
call fcn.005cbc50
add esp, 0xc
push 0x1452
push 0
mov eax, dword [ebp + 0x24]
push eax
call fcn.005cbc50
add esp, 0xc
push 0x1452
push 0
mov ecx, dword [ebp + 0x28]
push ecx
call fcn.005cbc50
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.005ce115
add esp, 4
mov byte [ebp - 0x38], al
mov eax, dword [ebp - 0x10]
push eax
call fcn.005ce115
add esp, 4
mov byte [ebp - 0x37], al
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005ce115
add esp, 4
mov byte [ebp - 0x36], al
mov byte [ebp - 0x35], 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.005ce115
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 1
push 4
lea ecx, [ebp - 0x14c]
push ecx
call fcn.005cdfc1
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
push 1
push 4
lea eax, [ebp - 0x44]
push eax
call fcn.005cdfc1
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
push 1
push 4
lea edx, [ebp - 0x34]
push edx
call fcn.005cdfc1
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
push 1
push 4
lea ecx, [ebp - 0x14]
push ecx
call fcn.005cdfc1
add esp, 0x10
mov edx, dword [ebp + 0x18]
sub edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], 0
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
cmp dword [ebp + 0x10], 0
jge 0x49573e
mov eax, dword [ebp - 0x30]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp - 0x34]
jle 0x495754
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
sub ecx, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], 0
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x3c], edx
cmp dword [ebp + 0x14], 0
jge 0x495780
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp + 0x14]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x1c]
cmp edx, dword [ebp - 0x14]
jle 0x495796
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0x14
mov edx, dword [ebp - 0x3c]
imul edx, dword [ebp - 0x34]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 0
jmp 0x4957c9
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x2c]
jge 0x49581b
push 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.005cdc9c
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
push 1
mov edx, dword [ebp - 0x30]
shl edx, 1
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x20]
lea edx, [ecx + eax*2]
push edx
call fcn.005cdfc1
add esp, 0x10
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
jmp 0x4957c0
mov edx, dword [ebp - 0x34]
imul edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x3c]
imul edx, dword [ebp - 0x34]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 0
jmp 0x495857
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x2c]
jge 0x4958a9
push 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.005cdc9c
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
push 1
mov edx, dword [ebp - 0x30]
shl edx, 1
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x24]
lea edx, [ecx + eax*2]
push edx
call fcn.005cdfc1
add esp, 0x10
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
jmp 0x49584e
mov edx, dword [ebp - 0x34]
imul edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x3c]
imul edx, dword [ebp - 0x34]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 0
jmp 0x4958e5
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x2c]
jge 0x495937
push 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.005cdc9c
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
push 1
mov edx, dword [ebp - 0x30]
shl edx, 1
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x28]
lea edx, [ecx + eax*2]
push edx
call fcn.005cdfc1
add esp, 0x10
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
jmp 0x4958dc
mov edx, dword [ebp - 0x10]
push edx
call fcn.005cd459
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x48]
xor ecx, ebp
call fcn.005cbcfe
mov esp, ebp
pop ebp
ret