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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov eax, dword [0x4b850c]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x2a8]
test eax, eax
je 0x43d4e1
cmp eax, 1
je 0x43d700
sub eax, 1
mov dword [edi + 0x2a8], eax
cmp eax, 1
je 0x43d728
mov eax, dword [edi + 0x74]
test al, 1
je 0x43d81d
test al, 4
jne 0x43d5a0
lea edx, [esi + 1]
mov ecx, 1
mov eax, edi
call fcn.004398e0
mov ebx, eax
test eax, eax
je 0x43d758
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp], edi
call fcn.00432ff0
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.00427190
mov dword [esp + 4], 0
mov dword [esp], edi
call fcn.0043a1a0
test eax, eax
jne 0x43d5b0
test esi, esi
jne 0x43d559
jmp 0x43d5d7
lea edx, [eax + 1]
cmp esi, edx
je 0x43d5d0
mov eax, edx
cmp byte [ebx + eax], 0
jne 0x43d550
mov edx, eax
sub eax, 1
cmp eax, 0x4e
ja 0x43d5d7
lea eax, [edx + 5]
cmp esi, eax
jae 0x43d5e0
mov eax, str.truncated
mov edx, dword [esp + 0x4c]
sub edx, dword [0x4b850c]
jne 0x43d818
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edi
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0042b9c0
or eax, 8
mov dword [edi + 0x74], eax
jmp 0x43d4f4
mov eax, dword [esp + 0x4c]
sub eax, dword [0x4b850c]
jne 0x43d818
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, esi
cmp eax, 0x4e
jbe 0x43d569
mov eax, str.bad_keyword
jmp 0x43d575
movzx ecx, byte [ebx + edx + 1]
test cl, cl
je 0x43d600
mov eax, str.bad_compression_info
cmp cl, 1
jne 0x43d575
cmp byte [ebx + edx + 2], 0
jne 0x43d575
nop
lea eax, [edx + 3]
mov dword [esp + 0x18], eax
mov edx, eax
cmp eax, esi
jae 0x43d633
mov dword [esp + 0x14], edi
mov edi, ecx
jmp 0x43d620
cmp eax, esi
jae 0x43d7eb
movzx ecx, byte [ebx + eax]
mov edx, eax
lea eax, [eax + 1]
test cl, cl
jne 0x43d618
mov ecx, edi
mov edi, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [esp + 0x1c], eax
mov edx, eax
cmp eax, esi
jae 0x43d66b
mov dword [esp + 0x14], edi
mov edi, ecx
jmp 0x43d658
cmp eax, esi
jae 0x43d7f8
movzx ecx, byte [ebx + eax]
mov edx, eax
lea eax, [eax + 1]
test cl, cl
jne 0x43d650
mov ecx, edi
mov edi, dword [esp + 0x14]
add edx, 1
mov dword [esp + 0x14], edx
test cl, 1
jne 0x43d790
cmp esi, edx
jb 0x43d790
mov eax, esi
mov byte [ebx + esi], 0
sub eax, edx
cmp cl, 1
mov edx, 1
mov dword [esp + 0x2c], eax
sbb edx, 0xffffffff
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x14]
add edx, ebx
mov dword [esp + 0xc], 1
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
add edx, ebx
mov dword [esp], edi
mov dword [esp + 0x34], ebx
add ebx, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0
call fcn.00441030
test eax, eax
je 0x43d5b0
mov eax, 0x48d796
jmp 0x43d575
mov eax, dword [esp + 0x4c]
sub eax, dword [0x4b850c]
jne 0x43d818
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edi
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0043a1a0
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0043a1a0
mov eax, dword [esp + 0x4c]
sub eax, dword [0x4b850c]
jne 0x43d818
mov dword [esp + 0x74], str.no_space_in_chunk_cache
jmp 0x43d589
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0043a1a0
mov eax, dword [esp + 0x4c]
sub eax, dword [0x4b850c]
jne 0x43d818
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], str.out_of_memory
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0042b9c0
mov edx, dword [esp + 0x14]
cmp edx, esi
jae 0x43d570
and ecx, 1
je 0x43d570
lea eax, [esp + 0x2c]
mov ecx, edx
mov edx, esi
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp], eax
mov eax, edi
call fcn.00439b50
cmp eax, 1
je 0x43d805
mov eax, dword [edi + 0x9c]
test eax, eax
jne 0x43d575
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax]
mov byte [ebx + edx], 0
mov edx, 2
jmp 0x43d69a
mov ecx, edi
mov edx, eax
mov edi, dword [esp + 0x14]
jmp 0x43d633
mov ecx, edi
mov edx, eax
mov edi, dword [esp + 0x14]
jmp 0x43d66b
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov ebx, dword [edi + 0x2c8]
lea edx, [ecx + eax]
jmp 0x43d7dd
call fcn.00464ba0
mov dword [esp + 4], str.missing_IHDR
mov dword [esp], edi
call fcn.0042b970
lea esi, [esi]