Function at 0x46c6a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x68], str.1.5.1
push 0x28c
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x88], 0x28c
call fcn.004013d6
mov esi, eax
add esp, 4
mov dword [ebp - 0x90], esi
cmp esi, edi
je 0x46c706
push 0x28c
push edi
push esi
call fcn.00402394
add esp, 0xc
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x60], esi
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x46c918
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x60]
mov eax, 0xf4240
mov dword [ecx + 0x258], eax
mov dword [edx + 0x25c], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x60]
mov dword [eax + 0x260], edi
mov eax, ecx
mov dword [ebp - 0x80], ecx
cmp eax, edi
je 0x46c74f
mov dword [eax + 0x40], fcn.005f8835
jmp 0x46c751
xor eax, eax
push edi
push eax
mov dword [ebp - 0x74], eax
call fcn.0046c9a8
add esp, 8
test eax, eax
je 0x46c769
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x60]
cmp eax, edi
je 0x46c78e
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x84]
mov dword [eax + 0x238], edx
mov edx, dword [ebp - 0x6c]
mov dword [eax + 0x23c], ecx
mov dword [eax + 0x240], edx
mov eax, dword [ebp - 0x60]
cmp eax, edi
je 0x46c7a7
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp + 8]
mov dword [eax + 0x4c], ecx
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], ecx
mov edx, dword [ebp - 0x68]
mov ebx, 1
mov esi, 0x20000
cmp edx, edi
je 0x46c7d7
mov eax, str.1.5.1
sub edx, eax
nop
mov cl, byte [edx + eax]
cmp cl, byte [eax]
je 0x46c7cd
mov ecx, dword [ebp - 0x60]
or dword [ecx + 0x70], esi
mov cl, byte [eax]
add eax, ebx
test cl, cl
jne 0x46c7c0
jmp 0x46c7dd
mov eax, dword [ebp - 0x60]
or dword [eax + 0x70], esi
mov edx, dword [ebp - 0x60]
test dword [edx + 0x70], esi
je 0x46c822
mov eax, dword [ebp - 0x68]
cmp eax, edi
je 0x46c81f
cmp byte [eax], 0x31
jne 0x46c7f7
cmp byte [eax + 2], 0x35
je 0x46c822
cmp eax, edi
je 0x46c81f
push str.1.5.1
push eax
push str.Application_built_with_libpng__.20s_but_running_with__.20s
lea eax, [ebp - 0x5c]
push 0x50
push eax
call fcn.005f89a7
mov esi, dword [ebp - 0x60]
add esp, 0x14
lea ecx, [ebp - 0x5c]
call fcn.005e3880
mov dword [ebp - 0x64], ebx
mov ecx, dword [ebp - 0x64]
test ecx, ecx
jne 0x46c85e
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x60]
mov dword [edx + 0xb4], 0x2000
mov ecx, dword [eax + 0xb4]
call fcn.0046ca23
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x60]
mov dword [ecx + 0xb0], eax
cmp dword [edx + 0xb0], edi
jne 0x46c85e
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x60]
mov dword [eax + 0x98], 0x46caf4
mov eax, dword [ebp - 0x60]
mov dword [ecx + 0x9c], 0x47390e
mov ecx, dword [ebp - 0x64]
mov dword [eax + 0xa0], edx
test ecx, ecx
jne case.0x46c89e.0
mov eax, dword [ebp - 0x60]
add eax, 0x78
call fcn.0046ca78
add eax, 6
cmp eax, 6
ja case.0x46c89e.5
jmp dword [eax*4 + 0x46c98c]
mov ecx, str.zlib_memory_error
jmp 0x46c8bf
mov ecx, str.zlib_stream_error
jmp 0x46c8bf
mov ecx, str.zlib_version_error
jmp 0x46c8bf
mov ecx, str.Unknown_zlib_error
mov esi, dword [ebp - 0x60]
call fcn.005e3880
mov dword [ebp - 0x64], ebx
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
test edx, edx
je 0x46c92b
mov ecx, dword [eax + 0xb0]
mov eax, dword [ebp - 0x60]
cmp eax, edi
je 0x46c8fd
cmp ecx, edi
je 0x46c8fd
mov edx, dword [eax + 0x240]
cmp edx, edi
je 0x46c8f8
push ecx
push eax
call edx
add esp, 8
jmp 0x46c8fd
call fcn.00417f14
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x60]
mov dword [ecx + 0xb0], edi
mov ecx, dword [ebp - 0x6c]
push edx
mov edx, dword [ebp - 0x70]
call fcn.005e5490
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x60]
mov edx, dword [eax + 0xb0]
mov eax, dword [ebp - 0x60]
mov dword [ecx + 0x84], edx
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x60]
mov edx, dword [eax + 0xb4]
mov dword [ecx + 0x88], edx
cmp esi, edi
je 0x46c975
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], 0x5e39ea
cmp dword [esi + 0x50], edi
je 0x46c96f
mov ecx, str.Cant_set_both_read_data_fn_and_write_data_fn_in_the_same_structure
mov dword [esi + 0x50], edi
call fcn.005e3880
mov dword [esi + 0x14c], edi
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
mov esp, ebp
pop ebp
ret