Function at 0x454080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x58605c]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24c], ecx
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], 0
push 0x563444
mov edx, dword [ebp + 8]
push edx
call fcn.004e1e40
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4540e6
cmp dword [ebp + 0x10], 0
jne 0x4540df
push 0
push str.file_not_found
mov eax, dword [ebp + 8]
push eax
push 0
call dword [0x55e28c]
xor eax, eax
jmp 0x45443c
push 2
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0041deb1
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041ddb9
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x454165
call fcn.00413f51
mov eax, dword [eax]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x12c]
push eax
push 0x563458
lea ecx, [ebp - 0x128]
push ecx
call dword [0x55e2d0]
add esp, 0x14
push 0
push 0x56347c
lea edx, [ebp - 0x128]
push edx
push 0
call dword [0x55e28c]
mov eax, dword [ebp - 0x18]
push eax
call fcn.004133fa
add esp, 4
xor eax, eax
jmp 0x45443c
cmp dword [ebp - 0x10], 0
jne 0x454181
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004133fa
add esp, 4
mov eax, 1
jmp 0x45443c
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041deb1
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, 0x412
push eax
call fcn.004134e0
add esp, 4
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 0x3f
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xffffffc0
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jne 0x4541fc
mov eax, dword [ebp - 0x18]
push eax
call fcn.004133fa
add esp, 4
push 0
push 0x563484
push 0x56348c
push 0
call dword [0x55e28c]
xor eax, eax
jmp 0x45443c
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 0x14]
push eax
call fcn.0041dbff
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004133fa
add esp, 4
cmp dword [ebp - 0x1c], 0
jge 0x45425a
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
push str.namelist
lea ecx, [ebp - 0x230]
push ecx
call dword [0x55e2d0]
add esp, 0x10
push 0
push str.ftell
lea edx, [ebp - 0x230]
push edx
push 0
call dword [0x55e28c]
cmp dword [ebp + 0xc], 0
je 0x4542a4
mov dword [ebp - 0x234], 0
jmp 0x45427b
mov eax, dword [ebp - 0x234]
add eax, 1
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
cmp ecx, dword [ebp - 0x1c]
jge 0x4542a4
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x234]
movsx eax, byte [edx]
xor eax, 0xff
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x234]
mov byte [ecx], al
jmp 0x45426c
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x1c]
mov byte [edx], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
mov byte [eax + 1], 0
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x1c]
jge 0x4543c9
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x24c]
call fcn.00454450
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x238]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x1c]
jge 0x4543c4
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x24c]
call fcn.004544e0
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0x80
jle 0x454337
push 0
push 0x5634c8
push 0x5634d0
push 0
call dword [0x55e28c]
jmp 0x4543c9
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x24c]
mov eax, dword [edx + 8]
shl eax, 7
mov ecx, dword [ebp - 0x24c]
add eax, dword [ecx + 0xc]
push eax
call fcn.00419a50
add esp, 0xc
mov edx, dword [ebp - 0x24c]
mov eax, dword [edx + 8]
shl eax, 7
mov ecx, dword [ebp - 0x24c]
add eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x23c]
mov byte [eax + edx], 0
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x23c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x24c]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp - 0x24c]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x24c]
mov edx, dword [ebp - 0x24c]
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 4]
jl 0x4543c4
push 0x64
mov ecx, dword [ebp - 0x24c]
call fcn.00453a30
jmp 0x4542be
mov ecx, dword [ebp - 0x24c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x240], edx
jmp 0x4543e9
mov eax, dword [ebp - 0x240]
add eax, 1
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x24c]
mov edx, dword [ebp - 0x240]
cmp edx, dword [ecx + 4]
jge 0x454412
mov eax, dword [ebp - 0x240]
shl eax, 7
mov ecx, dword [ebp - 0x24c]
mov edx, dword [ecx + 0xc]
mov byte [eax + edx], 0
jmp 0x4543da
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
push ecx
call fcn.00413327
add esp, 4
mov edx, dword [ebp - 0x24c]
mov dword [edx + 0x10], 0
mov eax, 1
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00413201
mov esp, ebp
pop ebp
ret 0xc