Function at 0x5a5610
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x7dcee0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp + 0x1c]
push eax
mov dword [ebp - 0x74], edx
mov edx, dword [ebp + 0x20]
push ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], 0
push 1
call fcn.005965e0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
add esp, 0xc
test eax, eax
je 0x5a5846
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x58]
mov eax, 0xf4240
mov dword [ecx + 0x248], eax
push 0x40
mov dword [edx + 0x24c], eax
mov eax, dword [ebp - 0x58]
push fcn.00697a20
push eax
call fcn.00595840
push 0
push eax
call fcn.00697ad4
add esp, 0x14
test eax, eax
je 0x5a56aa
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x58]
push edx
push eax
push ecx
call fcn.00596750
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
push edx
mov edx, dword [ebp - 0x58]
push eax
push ecx
push edx
call fcn.005958e0
mov ecx, dword [ebp - 0x68]
add esp, 0x20
test ecx, ecx
je 0x5a571a
mov edx, str.1.4.19
xor esi, esi
lea eax, [ecx - 1]
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, byte [edx + eax]
je 0x5a5703
mov ecx, dword [ebp - 0x58]
or dword [ecx + 0x70], 0x20000
mov cl, byte [eax]
cmp cl, 0x2e
jne 0x5a570b
inc esi
cmp esi, 2
jge 0x5a571a
test cl, cl
je 0x5a571a
cmp byte [edx + eax], 0
jne 0x5a56f0
mov edx, dword [ebp - 0x58]
test dword [edx + 0x70], 0x20000
je 0x5a57c5
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x5a5788
push 0
call fcn.005951f0
mov cl, byte [esi]
add esp, 4
cmp cl, byte [eax]
jne 0x5a5763
cmp cl, 0x31
jne 0x5a5758
push 0
call fcn.005951f0
mov cl, byte [esi + 2]
add esp, 4
cmp cl, byte [eax + 2]
jne 0x5a5763
cmp byte [esi], 0x30
jne 0x5a57c5
cmp byte [esi + 2], 0x39
jge 0x5a57c5
test esi, esi
je 0x5a5788
push esi
push str.Application_was_compiled_with_png.h_from_libpng__.20s
lea edx, [ebp - 0x54]
push 0x50
push edx
call fcn.00696275
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push eax
push ecx
call fcn.00595940
add esp, 0x18
push 0
call fcn.005951f0
push eax
push str.Application__is__running_with_png.c_from_libpng__.20s
lea edx, [ebp - 0x54]
push 0x50
push edx
call fcn.00696275
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push eax
push ecx
call fcn.00595940
mov edx, dword [ebp - 0x58]
push str.Incompatible_libpng_version_in_application_and_library
push edx
call fcn.00595940
add esp, 0x24
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0xb4], 0x2000
test ecx, ecx
jne 0x5a580b
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0xb4]
mov ecx, dword [ebp - 0x58]
push eax
push ecx
call fcn.00596860
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xb0], eax
mov eax, dword [ebp - 0x58]
add esp, 8
cmp dword [eax + 0xb0], 0
jne 0x5a580b
mov dword [ebp - 0x5c], 1
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x5a5857
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0xb0]
mov ecx, dword [ebp - 0x58]
push eax
push ecx
call fcn.00596830
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
push eax
mov dword [edx + 0xb0], 0
mov edx, dword [ebp - 0x58]
push ecx
push edx
call fcn.00596690
add esp, 0x14
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0069528d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x58]
push 0
push 0
push 0
push eax
call fcn.005a4e50
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.0069528d
mov esp, ebp
pop ebp
ret