Function at 0x43ad90
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 0x43b134
cmp byte [esi + 0x127], bl
push ebp
je 0x43aee9
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 0x43ae77
mov edi, 8
add byte [esi + 0x128], 1
mov bl, byte [esi + 0x128]
cmp bl, 7
jae 0x43aee2
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 0x43aed4
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 0x43ae72
cmp bl, 7
jb 0x43b133
mov edi, 8
mov edx, 1
xor ebx, ebx
test byte [esi + 0x70], 0x20
jne 0x43b109
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 0x43b09e
cmp dword [esi + 0x110], ebx
jne 0x43b056
lea ebx, [esi + 0x120]
jmp 0x43af40
push 0
push esi
call fcn.004382f0
push 4
lea edx, [esp + 0x20]
push edx
push esi
call fcn.00431bb0
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 0x43af91
push str.PNG_unsigned_integer_out_of_range
push esi
call fcn.00431a20
add esp, 8
push esi
mov dword [esi + 0x110], edi
call fcn.00430e50
push 4
push ebx
push esi
call fcn.00431bb0
push 4
push ebx
push esi
call fcn.00430e70
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 0x43afd8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x43afc0
test eax, eax
je 0x43b035
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x43b027
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43b035
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x43b027
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43b035
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x43b027
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43b035
movzx edi, byte [edx]
movzx eax, byte [ecx]
sub edi, eax
je 0x43b035
test edi, edi
mov eax, 1
jg 0x43b037
or eax, 0xffffffff
jmp 0x43b037
xor eax, eax
test eax, eax
je 0x43b049
push str.Not_enough_image_data
push esi
call fcn.00431a20
add esp, 8
cmp dword [esi + 0x110], 0
je 0x43af40
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 0x43b078
mov dword [esi + 0x7c], ecx
mov ebx, dword [esi + 0x7c]
push ebx
push edi
push esi
call fcn.00431bb0
push ebx
push edi
push esi
call fcn.00430e70
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.00443810
add esp, 8
cmp eax, 1
je 0x43b0d9
cmp eax, ebx
je 0x43b0cb
mov eax, dword [esi + 0x90]
cmp eax, ebx
jne 0x43b0c1
mov eax, str.Decompression_Error
push eax
push esi
call fcn.00431a20
add esp, 8
cmp dword [esi + 0x88], ebx
jne 0x43af20
jmp 0x43b0ee
cmp dword [esi + 0x88], ebx
je 0x43b0ee
cmp dword [esi + 0x7c], ebx
jne 0x43b0ee
cmp dword [esi + 0x110], ebx
je 0x43b0fc
push str.Extra_compressed_data
push esi
call fcn.00431a90
add esp, 8
or dword [esi + 0x6c], edi
or dword [esi + 0x70], 0x20
mov dword [esi + 0x88], ebx
cmp dword [esi + 0x110], ebx
jne 0x43b116
cmp dword [esi + 0x7c], ebx
je 0x43b124
push str.Extra_compression_data
push esi
call fcn.00431a90
add esp, 8
lea edx, [esi + 0x78]
push edx
call fcn.004435b0
add esp, 4
or dword [esi + 0x6c], edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x80
ret