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

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, eax
test esi, esi
je 0x41adfe
test edi, edi
je 0x41adfe
mov eax, esi
call fcn.0041aa80
test byte [edi + 8], 8
mov bl, 3
je 0x41abfc
movzx eax, word [edi + 0x14]
mov ecx, dword [edi + 0x10]
push eax
push ecx
mov eax, esi
call fcn.0041e2c0
add esp, 8
jmp 0x41ac0b
cmp byte [edi + 0x19], bl
jne 0x41ac0b
mov ecx, str.Valid_palette_required_for_paletted_images
call fcn.0041a980
test byte [edi + 8], 0x10
je 0x41ac5d
test dword [esi + 0x68], 0x80000
je 0x41ac45
cmp byte [edi + 0x19], bl
jne 0x41ac45
xor edx, edx
xor eax, eax
cmp dx, word [edi + 0x16]
jae 0x41ac45
lea esp, [esp]
mov ecx, dword [edi + 0x4c]
add ecx, eax
or dl, 0xff
sub dl, byte [ecx]
inc eax
mov byte [ecx], dl
movzx ecx, word [edi + 0x16]
cmp eax, ecx
jl 0x41ac30
mov ebx, dword [edi + 0x4c]
movzx eax, byte [edi + 0x19]
movzx ecx, word [edi + 0x16]
push ebx
lea edx, [edi + 0x50]
push esi
call fcn.0041edd0
add esp, 8
test byte [edi + 8], 0x20
je 0x41ac71
movzx ecx, byte [edi + 0x19]
lea eax, [edi + 0x5a]
mov edx, esi
call fcn.0041ef90
test byte [edi + 8], 0x40
je 0x41ac89
movzx edx, word [edi + 0x14]
mov ebx, dword [edi + 0x7c]
push edx
mov eax, esi
call fcn.0041f1a0
add esp, 4
test dword [edi + 8], 0x100
je 0x41aca7
movzx eax, byte [edi + 0x6c]
mov ecx, dword [edi + 0x64]
push eax
mov eax, dword [edi + 0x68]
mov edx, esi
call fcn.0041f750
add esp, 4
test dword [edi + 8], 0x400
je 0x41acec
mov ecx, dword [edi + 0xb0]
mov edx, dword [edi + 0xac]
movzx eax, byte [edi + 0xb5]
push ecx
movzx ecx, byte [edi + 0xb4]
push edx
mov edx, dword [edi + 0xa8]
push eax
mov eax, dword [edi + 0xa4]
push ecx
mov ecx, dword [edi + 0xa0]
push edx
push eax
mov eax, esi
call fcn.0041f820
add esp, 0x18
mov eax, dword [edi + 8]
test eax, 0x4000
je 0x41ad0f
test al, al
jns 0x41ad0f
movzx ecx, byte [edi + 0x78]
mov eax, dword [edi + 0x74]
push ecx
mov ecx, dword [edi + 0x70]
mov edx, esi
call fcn.0041fc60
add esp, 4
mov ebx, 0x200
test dword [edi + 8], ebx
je 0x41ad28
lea ecx, [edi + 0x3c]
push esi
call fcn.0041fd30
add esp, 4
or dword [esi + 0x60], ebx
test dword [edi + 8], 0x2000
je 0x41ad5f
xor ebx, ebx
cmp dword [edi + 0xd0], ebx
jle 0x41ad5f
xor ebp, ebp
lea ecx, [ecx]
mov edx, dword [edi + 0xcc]
add edx, ebp
push edx
mov eax, esi
call fcn.0041e7a0
inc ebx
add esp, 4
add ebp, 0x10
cmp ebx, dword [edi + 0xd0]
jl 0x41ad40
xor ebp, ebp
cmp dword [edi + 0x30], ebp
jle 0x41adfe
xor ebx, ebx
mov eax, dword [edi + 0x38]
mov eax, dword [ebx + eax]
test eax, eax
jle 0x41ada5
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + ebx + 8]
lea eax, [ecx + ebx]
mov ecx, dword [eax + 0x18]
push edx
mov edx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax]
push edx
push ecx
mov ecx, dword [eax + 4]
mov eax, esi
call fcn.0041f580
mov edx, dword [edi + 0x38]
add esp, 0x10
mov dword [ebx + edx], 0xfffffffd
jmp 0x41adf1
jne 0x41adca
mov eax, dword [edi + 0x38]
mov edx, dword [eax + ebx]
lea ecx, [eax + ebx]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
push edx
mov edx, esi
call fcn.0041f440
mov eax, dword [edi + 0x38]
mov dword [ebx + eax], 0xfffffffe
jmp 0x41adee
cmp eax, 0xffffffff
jne 0x41adf1
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + ebx + 8]
lea eax, [ecx + ebx]
mov ecx, dword [eax + 4]
push edx
mov eax, esi
call fcn.0041f390
mov eax, dword [edi + 0x38]
mov dword [ebx + eax], 0xfffffffd
add esp, 4
inc ebp
add ebx, 0x1c
cmp ebp, dword [edi + 0x30]
jl 0x41ad6c
pop edi
pop esi
pop ebp
pop ebx
ret