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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4440e9
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4440e8
push esi
push ebx
call fcn.00443c74
test byte [esi + 8], 8
pop ecx
pop ecx
je 0x444002
movzx eax, word [esi + 0x14]
push eax
push dword [esi + 0x10]
push ebx
call fcn.0044b0bf
add esp, 0xc
test byte [esi + 8], 0x10
je 0x443ea9
test dword [ebx + 0x74], 0x80000
je 0x443e8f
cmp byte [esi + 0x19], 3
jne 0x443e8f
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 0x16]
jae 0x443e8f
mov eax, dword [esi + 0x50]
add eax, ecx
or dl, 0xff
sub dl, byte [eax]
inc ecx
mov byte [eax], dl
movzx eax, word [esi + 0x16]
cmp ecx, eax
jl 0x443e7a
movzx eax, byte [esi + 0x19]
push eax
movzx eax, word [esi + 0x16]
push eax
lea eax, [esi + 0x54]
push eax
push dword [esi + 0x50]
push ebx
call fcn.0044c4c9
add esp, 0x14
test byte [esi + 8], 0x20
je 0x443ec1
movzx eax, byte [esi + 0x19]
push eax
lea eax, [esi + 0x5e]
push eax
push ebx
call fcn.0044c5dd
add esp, 0xc
test byte [esi + 8], 0x40
je 0x443edb
movzx eax, word [esi + 0x14]
push eax
push dword [esi + 0x80]
push ebx
call fcn.0044b17b
add esp, 0xc
test dword [esi + 8], 0x100
je 0x443ef8
movzx eax, byte [esi + 0x70]
push eax
push dword [esi + 0x6c]
push dword [esi + 0x68]
push ebx
call fcn.0044c6ea
add esp, 0x10
test dword [esi + 8], 0x400
je 0x443f38
push dword [esi + 0xb4]
movzx eax, byte [esi + 0xb9]
push dword [esi + 0xb0]
push eax
movzx eax, byte [esi + 0xb8]
push eax
push dword [esi + 0xac]
push dword [esi + 0xa8]
push dword [esi + 0xa4]
push ebx
call fcn.0044b64b
add esp, 0x20
test dword [esi + 8], 0x4000
je 0x443f5e
push dword [esi + 0xe8]
movzx eax, byte [esi + 0xe0]
push dword [esi + 0xe4]
push eax
push ebx
call fcn.0044c74f
add esp, 0x10
test byte [esi + 8], 0x80
je 0x443f78
movzx eax, byte [esi + 0x7c]
push eax
push dword [esi + 0x78]
push dword [esi + 0x74]
push ebx
call fcn.0044c7d7
add esp, 0x10
push edi
mov edi, 0x200
test dword [esi + 8], edi
je 0x443f92
lea eax, [esi + 0x3c]
push eax
push ebx
call fcn.0044c83c
or dword [ebx + 0x6c], edi
pop ecx
pop ecx
test dword [esi + 8], 0x2000
je 0x443fc7
xor edi, edi
cmp dword [esi + 0xdc], edi
jle 0x443fc7
mov dword [ebp - 4], edi
mov eax, dword [esi + 0xd8]
add eax, dword [ebp - 4]
push eax
push ebx
call fcn.0044c206
add dword [ebp - 4], 0x10
inc edi
cmp edi, dword [esi + 0xdc]
pop ecx
pop ecx
jl 0x443fa8
xor edi, edi
cmp dword [esi + 0x30], edi
mov dword [ebp - 4], edi
jle 0x444077
push 0xfffffffffffffffd
pop ebx
mov eax, dword [esi + 0x38]
mov eax, dword [edi + eax]
test eax, eax
jle 0x444017
mov eax, dword [esi + 0x38]
add eax, edi
push dword [eax + 8]
push dword [eax + 0x18]
push dword [eax + 0x14]
push dword [eax + 4]
push dword [eax]
push dword [ebp + 8]
call fcn.0044b4f7
add esp, 0x18
jmp 0x44405c
cmp byte [esi + 0x19], 3
jne 0x443e5b
push str.Valid_palette_required_for_paletted_images
push ebx
call fcn.00443b6d
jne 0x44403f
mov eax, dword [esi + 0x38]
add eax, edi
push dword [eax]
push 0
push dword [eax + 8]
push dword [eax + 4]
push dword [ebp + 8]
call fcn.0044b417
mov eax, dword [esi + 0x38]
add esp, 0x14
mov dword [edi + eax], 0xfffffffe
jmp 0x444062
cmp eax, 0xffffffff
jne 0x444062
mov eax, dword [esi + 0x38]
add eax, edi
push 0
push dword [eax + 8]
push dword [eax + 4]
push dword [ebp + 8]
call fcn.0044b383
add esp, 0x10
mov eax, dword [esi + 0x38]
mov dword [edi + eax], ebx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 0x1c
cmp eax, dword [esi + 0x30]
jl 0x443fd8
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4440e7
mov edi, dword [esi + 0xc0]
imul eax, eax, 0x14
add eax, edi
jmp 0x4440e3
push edi
push ebx
call fcn.00442d78
pop ecx
pop ecx
cmp eax, 1
je 0x4440d1
mov cl, byte [edi + 0x10]
test cl, cl
je 0x4440d1
test cl, 2
je 0x4440d1
test cl, 4
jne 0x4440d1
test byte [edi + 3], 0x20
jne 0x4440c1
cmp eax, 3
je 0x4440c1
test dword [ebx + 0x70], 0x10000
je 0x4440d1
push dword [edi + 0xc]
push dword [edi + 8]
push edi
push ebx
call fcn.0044bb8d
add esp, 0x10
mov eax, dword [esi + 0xc4]
imul eax, eax, 0x14
add edi, 0x14
add eax, dword [esi + 0xc0]
cmp edi, eax
jb 0x44408e
pop edi
pop esi
pop ebx
leave
ret