Function at 0x5eb3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0xb9e498]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
push 1
call fcn.005f9b40
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5eb40a
xor eax, eax
jmp 0x5eb736
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x258], 0xf4240
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x25c], 0xf4240
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x260], 0
push 0x40
push 0x84296c
mov edx, dword [ebp - 0xc]
push edx
call fcn.005fa1a0
add esp, 0xc
push 0
push eax
call fcn.00842a20
add esp, 8
test eax, eax
je 0x5eb45b
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.005f9e50
add esp, 0x10
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005fa280
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x5eb4ef
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movsx esi, byte [edx]
push 0
call fcn.005f5ad0
add esp, 4
mov ecx, dword [ebp - 4]
movsx edx, byte [eax + ecx]
cmp esi, edx
je 0x5eb4cf
mov eax, dword [ebp - 0xc]
add eax, 0x70
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx]
or edx, 0x20000
mov eax, dword [ebp - 0x64]
mov dword [eax], edx
push 0
call fcn.005f5ad0
add esp, 4
mov ecx, dword [ebp - 4]
movsx edx, byte [eax + ecx]
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
test edx, edx
jne 0x5eb498
jmp 0x5eb507
mov ecx, dword [ebp - 0xc]
add ecx, 0x70
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
or eax, 0x20000
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x70]
and eax, 0x20000
je 0x5eb5af
cmp dword [ebp + 8], 0
je 0x5eb570
mov ecx, dword [ebp + 8]
movsx esi, byte [ecx]
push 0
call fcn.005f5ad0
add esp, 4
movsx edx, byte [eax]
cmp esi, edx
jne 0x5eb570
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x31
jne 0x5eb559
mov edx, dword [ebp + 8]
movsx esi, byte [edx + 2]
push 0
call fcn.005f5ad0
add esp, 4
movsx eax, byte [eax + 2]
cmp esi, eax
jne 0x5eb570
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x30
jne 0x5eb5af
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 2]
cmp ecx, 0x39
jge 0x5eb5af
cmp dword [ebp + 8], 0
je 0x5eb5a8
push 0
call fcn.005f5ad0
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
push str.Application_built_with_libpng__.20s_but_running_with__.20s
push 0x50
lea eax, [ebp - 0x60]
push eax
call fcn.0083e255
add esp, 0x14
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.005f9ec0
add esp, 8
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x5eb5f4
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xb4], 0x2000
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xb4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.005f9e00
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xb0], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xb0], 0
jne 0x5eb5f4
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x98], 0x5f5220
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x9c], fcn.005f52a0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xa0], edx
cmp dword [ebp - 8], 0
jne 0x5eb6be
push 0x38
push 0xb26264
mov ecx, dword [ebp - 0xc]
add ecx, 0x78
push ecx
call fcn.00605e10
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
add edx, 6
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x6c], 6
ja case.0x5eb64f.1
mov eax, dword [ebp - 0x6c]
jmp dword [eax*4 + 0x5eb748]
jmp 0x5eb6be
push str.zlib_memory_error
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005f9ec0
add esp, 8
mov dword [ebp - 8], 1
jmp 0x5eb6be
push str.zlib_stream_error
mov edx, dword [ebp - 0xc]
push edx
call fcn.005f9ec0
add esp, 8
mov dword [ebp - 8], 1
jmp 0x5eb6be
push str.zlib_version_error
mov eax, dword [ebp - 0xc]
push eax
call fcn.005f9ec0
add esp, 8
mov dword [ebp - 8], 1
jmp 0x5eb6be
push str.Unknown_zlib_error
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005f9ec0
add esp, 8
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
je 0x5eb6ff
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xb0]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005f9d90
add esp, 8
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xb0], 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.005f9c20
add esp, 0xc
xor eax, eax
jmp 0x5eb736
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xb0]
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xb4]
mov dword [eax + 0x88], edx
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.005f5110
add esp, 0xc
mov eax, dword [ebp - 0xc]
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00841e91
mov esp, ebp
pop ebp
ret