Function at 0x439d80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
mov eax, 2
push ebx
xor ebx, ebx
mov edx, 1
push esi
mov esi, dword [esp + 0x8c]
add dword [esi + 0xe8], edx
mov ecx, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0xe8]
cmp eax, dword [esi + 0xd4]
push edi
mov edi, 8
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
jb 0x43a124
cmp byte [esi + 0x127], bl
push ebp
je 0x439ed9
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xec]
add eax, edx
push eax
push ebx
push ecx
mov dword [esi + 0xe8], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
jmp 0x439e67
mov edi, 8
add byte [esi + 0x128], 1
mov bl, byte [esi + 0x128]
cmp bl, 7
jae 0x439ed2
mov edx, dword [esi + 0xcc]
movzx ecx, bl
add ecx, ecx
add ecx, ecx
sub edx, dword [esp + ecx + 0x3c]
mov edi, dword [esp + ecx + 0x20]
lea eax, [edx + edi - 1]
xor edx, edx
div edi
test byte [esi + 0x74], 2
mov edi, eax
mov dword [esi + 0xe4], edi
jne 0x439ec4
mov eax, dword [esi + 0xd0]
sub eax, dword [esp + ecx + 0x74]
mov ebp, dword [esp + ecx + 0x58]
xor edx, edx
lea eax, [eax + ebp - 1]
div ebp
test edi, edi
mov dword [esi + 0xd4], eax
je 0x439e62
cmp bl, 7
jb 0x43a123
mov edi, 8
mov edx, 1
xor ebx, ebx
test byte [esi + 0x70], 0x20
jne 0x43a0f9
lea ecx, [esp + 0x13]
mov byte [esp + 0x18], 0x49
mov byte [esp + 0x19], 0x44
mov byte [esp + 0x1a], 0x41
mov byte [esp + 0x1b], 0x54
mov byte [esp + 0x1c], 0
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], edx
lea ebp, [esi + 0x78]
nop
cmp dword [esi + 0x7c], ebx
jne 0x43a08e
cmp dword [esi + 0x110], ebx
jne 0x43a046
lea ebx, [esi + 0x120]
jmp 0x439f30
push 0
push esi
call fcn.004372e0
push 4
lea edx, [esp + 0x20]
push edx
push esi
call fcn.00430ba0
mov eax, dword [esp + 0x28]
movzx ecx, byte [esp + 0x2a]
movzx edx, byte [esp + 0x2b]
movzx edi, al
shl edi, 8
movzx eax, ah
add edi, eax
shl edi, 8
add edi, ecx
shl edi, 8
add edi, edx
add esp, 0x14
cmp edi, 0x7fffffff
jbe 0x439f81
push str.PNG_unsigned_integer_out_of_range
push esi
call fcn.00430a10
add esp, 8
push esi
mov dword [esi + 0x110], edi
call fcn.0042fe40
push 4
push ebx
push esi
call fcn.00430ba0
push 4
push ebx
push esi
call fcn.0042fe60
add esp, 0x1c
mov eax, 4
lea ecx, [esp + 0x18]
mov edx, ebx
lea ecx, [ecx]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x439fc8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x439fb0
test eax, eax
je 0x43a025
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x43a017
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43a025
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x43a017
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43a025
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x43a017
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43a025
movzx edi, byte [edx]
movzx eax, byte [ecx]
sub edi, eax
je 0x43a025
test edi, edi
mov eax, 1
jg 0x43a027
or eax, 0xffffffff
jmp 0x43a027
xor eax, eax
test eax, eax
je 0x43a039
push str.Not_enough_image_data
push esi
call fcn.00430a10
add esp, 8
cmp dword [esi + 0x110], 0
je 0x439f30
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x110]
cmp eax, ecx
mov edi, dword [esi + 0xb0]
lea ebp, [esi + 0x78]
mov dword [esi + 0x7c], eax
mov dword [ebp], edi
jbe 0x43a068
mov dword [esi + 0x7c], ecx
mov ebx, dword [esi + 0x7c]
push ebx
push edi
push esi
call fcn.00430ba0
push ebx
push edi
push esi
call fcn.0042fe60
mov ecx, dword [esi + 0x7c]
sub dword [esi + 0x110], ecx
add esp, 0x18
mov edi, 8
xor ebx, ebx
push 1
push ebp
call fcn.00442800
add esp, 8
cmp eax, 1
je 0x43a0c9
cmp eax, ebx
je 0x43a0bb
mov eax, dword [esi + 0x90]
cmp eax, ebx
jne 0x43a0b1
mov eax, str.Decompression_Error
push eax
push esi
call fcn.00430a10
add esp, 8
cmp dword [esi + 0x88], ebx
jne 0x439f10
jmp 0x43a0de
cmp dword [esi + 0x88], ebx
je 0x43a0de
cmp dword [esi + 0x7c], ebx
jne 0x43a0de
cmp dword [esi + 0x110], ebx
je 0x43a0ec
push str.Extra_compressed_data
push esi
call fcn.00430a80
add esp, 8
or dword [esi + 0x6c], edi
or dword [esi + 0x70], 0x20
mov dword [esi + 0x88], ebx
cmp dword [esi + 0x110], ebx
jne 0x43a106
cmp dword [esi + 0x7c], ebx
je 0x43a114
push str.Extra_compression_data
push esi
call fcn.00430a80
add esp, 8
lea edx, [esi + 0x78]
push edx
call fcn.004425a0
add esp, 4
or dword [esi + 0x6c], edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x80
ret