Function at 0x49c7f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x62bcc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
push edx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x20]
push ecx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], eax
push 1
mov dword [ebp - 0x5c], 0
call fcn.004a4290
add esp, 0xc
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x49c9e5
mov eax, dword [ebp - 0x58]
push 0x40
push fcn.005019a3
mov dword [eax + 0x258], 0xf4240
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x25c], 0xf4240
mov eax, dword [ebp - 0x58]
push eax
call fcn.004a3030
push 0
push eax
call fcn.005019c0
add esp, 0x14
test eax, eax
je 0x49c88d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp - 0x68]
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x6c]
push dword [ebp - 0x64]
push eax
call fcn.004a44b0
push dword [ebp - 0x70]
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push eax
call fcn.004a3010
mov edi, dword [ebp - 0x60]
add esp, 0x20
test edi, edi
je 0x49c8f1
xor esi, esi
nop dword [eax]
push 0
call fcn.0049e5e0
mov cl, byte [edi + esi]
add esp, 4
cmp cl, byte [eax + esi]
je 0x49c8df
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x60]
or dword [eax + 0x70], 0x20000
push 0
call fcn.0049e5e0
add esp, 4
mov al, byte [eax + esi]
inc esi
test al, al
jne 0x49c8c0
mov eax, dword [ebp - 0x58]
test dword [eax + 0x70], 0x20000
je 0x49c96a
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x49c963
push 0
call fcn.0049e5e0
mov cl, byte [esi]
add esp, 4
cmp cl, byte [eax]
jne 0x49c936
cmp cl, 0x31
jne 0x49c92b
push 0
call fcn.0049e5e0
mov cl, byte [esi + 2]
add esp, 4
cmp cl, byte [eax + 2]
jne 0x49c936
cmp byte [esi], 0x30
jne 0x49c96a
cmp byte [esi + 2], 0x39
jge 0x49c96a
test esi, esi
je 0x49c963
push 0
call fcn.0049e5e0
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.0049b470
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
call fcn.004a3050
add esp, 0x20
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], 0
mov dword [eax + 0xb4], 0x2000
jne 0x49c9b4
mov eax, dword [ebp - 0x58]
push dword [eax + 0xb4]
mov eax, dword [ebp - 0x58]
push eax
call fcn.004a4470
mov ecx, dword [ebp - 0x58]
add esp, 8
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0xb0], 0
jne 0x49c9ae
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 0
je 0x49c9f7
mov eax, dword [ebp - 0x58]
push dword [eax + 0xb0]
mov eax, dword [ebp - 0x58]
push eax
call fcn.004a43a0
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
mov dword [eax + 0xb0], 0
mov eax, dword [ebp - 0x58]
push eax
call fcn.004a4340
add esp, 0x14
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x58]
push 0
push 0
push 0
push eax
call fcn.004a3130
mov eax, dword [ebp - 0x58]
push eax
call fcn.0049cae0
mov eax, dword [ebp - 0x58]
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
pop esi
call fcn.004ff23c
mov esp, ebp
pop ebp
ret