Function at 0x5f7800
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
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 0x5f783a
xor eax, eax
jmp 0x5f7a5e
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x258], 0xf4240
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x25c], 0xf4240
push 0x40
push 0x84296c
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005fa1a0
add esp, 0xc
push 0
push eax
call fcn.00842a20
add esp, 8
test eax, eax
je 0x5f787e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.005f9e50
add esp, 0x10
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.005fa280
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x5f790f
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx esi, byte [ecx]
push 0
call fcn.005f5ad0
add esp, 4
mov edx, dword [ebp - 4]
movsx eax, byte [eax + edx]
cmp esi, eax
je 0x5f78f1
mov ecx, dword [ebp - 0xc]
add ecx, 0x70
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
or eax, 0x20000
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
push 0
call fcn.005f5ad0
add esp, 4
mov edx, dword [ebp - 4]
movsx eax, byte [eax + edx]
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
test eax, eax
jne 0x5f78bb
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x70]
and eax, 0x20000
je 0x5f79b7
cmp dword [ebp + 8], 0
je 0x5f7978
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 0x5f7978
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x31
jne 0x5f7961
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 0x5f7978
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x30
jne 0x5f79b7
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 2]
cmp ecx, 0x39
jge 0x5f79b7
cmp dword [ebp + 8], 0
je 0x5f79b0
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
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xb4], 0x2000
cmp dword [ebp - 8], 0
jne 0x5f79fc
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 0x5f79fc
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
je 0x5f7a3d
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xb0]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.005f9d90
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xb0], 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.005f9c20
add esp, 0xc
xor eax, eax
jmp 0x5f7a5e
push 0
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005f9aa0
add esp, 0x10
mov edx, dword [ebp - 0xc]
push edx
call fcn.005f82c0
add esp, 4
mov eax, dword [ebp - 0xc]
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00841e91
mov esp, ebp
pop ebp
ret