Function at 0x4f2b6d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18]
push esi
push eax
push ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x64], edx
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
push 1
call fcn.004fa2d5
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
add esp, 0xc
test eax, eax
jne 0x4f2bcb
xor eax, eax
jmp 0x4f2e0a
mov ecx, dword [ebp - 0x58]
mov eax, 0xf4240
mov dword [ecx + 0x258], eax
mov ecx, dword [ebp - 0x58]
push 0x40
mov dword [ecx + 0x25c], eax
mov eax, dword [ebp - 0x58]
push fcn.004c8970
push dword [ebp - 0x58]
mov dword [eax + 0x260], ebx
call fcn.004f9236
push ebx
push eax
call fcn.004fe01c
add esp, 0x14
test eax, eax
je 0x4f2c0f
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp - 0x64]
push dword [ebp - 0x74]
push dword [ebp - 0x68]
push dword [ebp - 0x58]
call fcn.004fa3c3
push dword [ebp - 0x78]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x58]
call fcn.004f92a1
add esp, 0x20
cmp dword [ebp - 0x60], ebx
je 0x4f2c68
xor esi, esi
push ebx
call fcn.004f852e
pop ecx
mov ecx, dword [ebp - 0x60]
mov cl, byte [ecx + esi]
cmp cl, byte [eax + esi]
je 0x4f2c57
mov eax, dword [ebp - 0x58]
or dword [eax + 0x70], 0x20000
push ebx
call fcn.004f852e
mov al, byte [eax + esi]
inc esi
pop ecx
test al, al
jne 0x4f2c3b
jmp 0x4f2c72
mov eax, dword [ebp - 0x58]
or dword [eax + 0x70], 0x20000
mov eax, dword [ebp - 0x58]
test dword [eax + 0x70], 0x20000
je 0x4f2ce4
mov esi, dword [ebp - 0x60]
cmp esi, ebx
je 0x4f2cdc
push ebx
call fcn.004f852e
pop ecx
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x4f2cb1
cmp cl, 0x31
jne 0x4f2ca6
push ebx
call fcn.004f852e
pop ecx
mov cl, byte [esi + 2]
cmp cl, byte [eax + 2]
jne 0x4f2cb1
cmp byte [esi], 0x30
jne 0x4f2ce4
cmp byte [esi + 2], 0x39
jge 0x4f2ce4
cmp esi, ebx
je 0x4f2cdc
push ebx
call fcn.004f852e
push eax
push esi
push str.Application_built_with_libpng__.20s_but_running_with__.20s
lea eax, [ebp - 0x54]
push 0x50
push eax
call fcn.004c4081
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
call fcn.004f92bf
add esp, 0x20
xor esi, esi
inc esi
mov dword [ebp - 0x5c], esi
jmp 0x4f2ce7
xor esi, esi
inc esi
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x4f2d25
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xb4], 0x2000
mov eax, dword [ebp - 0x58]
push dword [eax + 0xb4]
push dword [ebp - 0x58]
call fcn.004fa47c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0xb0], ebx
jne 0x4f2d25
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x98], 0x4f8054
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x9c], fcn.004f809b
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0xa0], eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x4f2da2
mov eax, dword [ebp - 0x58]
push 0x38
add eax, 0x78
push str.1.2.5
push eax
call fcn.004df6e4
add esp, 0xc
cmp eax, 0xfffffffa
je 0x4f2d90
cmp eax, 0xfffffffc
je 0x4f2d89
cmp eax, 0xfffffffe
je 0x4f2d82
cmp eax, ebx
je 0x4f2da2
push str.Unknown_zlib_error
jmp 0x4f2d95
push str.zlib_stream_error
jmp 0x4f2d95
push str.zlib_memory_error
jmp 0x4f2d95
push 0x511208
push dword [ebp - 0x58]
call fcn.004f92bf
pop ecx
mov dword [ebp - 0x5c], esi
pop ecx
mov eax, dword [ebp - 0x5c]
test eax, eax
mov eax, dword [ebp - 0x58]
je 0x4f2dd9
push dword [eax + 0xb0]
push dword [ebp - 0x58]
call fcn.004fa452
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x68]
mov dword [eax + 0xb0], ebx
push dword [ebp - 0x64]
push dword [ebp - 0x58]
call fcn.004fa348
add esp, 0x14
jmp 0x4f2bc4
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax + 0xb0]
mov dword [ecx + 0x84], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax + 0xb4]
push ebx
push ebx
push dword [ebp - 0x58]
mov dword [ecx + 0x88], eax
call fcn.004f94b0
mov eax, dword [ebp - 0x58]
add esp, 0xc
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004c0985
leave
ret