Function at 0x43bd70
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 0x43c114
cmp byte [esi + 0x127], bl
push ebp
je 0x43bec9
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 0x43be57
mov edi, 8
add byte [esi + 0x128], 1
mov bl, byte [esi + 0x128]
cmp bl, 7
jae 0x43bec2
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 0x43beb4
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 0x43be52
cmp bl, 7
jb 0x43c113
mov edi, 8
mov edx, 1
xor ebx, ebx
test byte [esi + 0x70], 0x20
jne 0x43c0e9
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 0x43c07e
cmp dword [esi + 0x110], ebx
jne 0x43c036
lea ebx, [esi + 0x120]
jmp 0x43bf20
push 0
push esi
call fcn.004392d0
push 4
lea edx, [esp + 0x20]
push edx
push esi
call fcn.00432b90
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 0x43bf71
push str.PNG_unsigned_integer_out_of_range
push esi
call fcn.00432a00
add esp, 8
push esi
mov dword [esi + 0x110], edi
call fcn.00431e30
push 4
push ebx
push esi
call fcn.00432b90
push 4
push ebx
push esi
call fcn.00431e50
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 0x43bfb8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x43bfa0
test eax, eax
je 0x43c015
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x43c007
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43c015
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x43c007
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43c015
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x43c007
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43c015
movzx edi, byte [edx]
movzx eax, byte [ecx]
sub edi, eax
je 0x43c015
test edi, edi
mov eax, 1
jg 0x43c017
or eax, 0xffffffff
jmp 0x43c017
xor eax, eax
test eax, eax
je 0x43c029
push str.Not_enough_image_data
push esi
call fcn.00432a00
add esp, 8
cmp dword [esi + 0x110], 0
je 0x43bf20
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 0x43c058
mov dword [esi + 0x7c], ecx
mov ebx, dword [esi + 0x7c]
push ebx
push edi
push esi
call fcn.00432b90
push ebx
push edi
push esi
call fcn.00431e50
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.004447f0
add esp, 8
cmp eax, 1
je 0x43c0b9
cmp eax, ebx
je 0x43c0ab
mov eax, dword [esi + 0x90]
cmp eax, ebx
jne 0x43c0a1
mov eax, str.Decompression_Error
push eax
push esi
call fcn.00432a00
add esp, 8
cmp dword [esi + 0x88], ebx
jne 0x43bf00
jmp 0x43c0ce
cmp dword [esi + 0x88], ebx
je 0x43c0ce
cmp dword [esi + 0x7c], ebx
jne 0x43c0ce
cmp dword [esi + 0x110], ebx
je 0x43c0dc
push str.Extra_compressed_data
push esi
call fcn.00432a70
add esp, 8
or dword [esi + 0x6c], edi
or dword [esi + 0x70], 0x20
mov dword [esi + 0x88], ebx
cmp dword [esi + 0x110], ebx
jne 0x43c0f6
cmp dword [esi + 0x7c], ebx
je 0x43c104
push str.Extra_compression_data
push esi
call fcn.00432a70
add esp, 8
lea edx, [esi + 0x78]
push edx
call fcn.00444590
add esp, 4
or dword [esi + 0x6c], edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x80
ret