Function at 0x4412c0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x14]
push edi
mov dword [esi + 0x104], eax
imul eax, ecx
mov edi, eax
mov dword [esi + 0x108], ecx
mov dword [esp + 0x14], edi
lea eax, [edi*4]
push eax
call fcn.004650ea
add esp, 4
mov dword [esi + 0x134], eax
test eax, eax
jne 0x441307
pop edi
pop esi
mov eax, 0x80004005
pop ebx
ret 0x10
mov eax, dword [esp + 0x1c]
cmp eax, 0x235
ja 0x441537
je 0x4414b7
cmp eax, 0x18
je 0x441431
cmp eax, 0x20
je 0x4413bc
cmp eax, 0x22b
jne 0x441549
xor eax, eax
mov dword [esi + 0x110], 0x10
test edi, edi
mov dword [esi + 0x124], 1
jbe 0x44166b
mov edx, dword [esp + 0x10]
mov cx, word [edx + eax*2]
mov ebx, dword [esi + 0x134]
shr ecx, 7
and cl, 0xf8
mov byte [ebx + eax*4 + 3], cl
mov cx, word [edx + eax*2]
mov ebx, dword [esi + 0x134]
shr ecx, 2
and cl, 0xf8
mov byte [ebx + eax*4 + 2], cl
mov cl, byte [edx + eax*2]
mov ebx, dword [esi + 0x134]
shl cl, 3
mov byte [ebx + eax*4 + 1], cl
mov ecx, dword [esi + 0x134]
test dword [ecx + eax*4], 0xffffff00
jne 0x4413ab
mov dword [ecx + eax*4], 0
jmp 0x4413af
mov byte [ecx + eax*4], 0xff
inc eax
cmp eax, edi
jb 0x44135b
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
xor eax, eax
mov dword [esi + 0x110], 0x20
test edi, edi
jbe 0x44166b
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x134]
mov bl, byte [ecx + eax*4 + 1]
mov byte [edx + eax*4 + 1], bl
mov edx, dword [esi + 0x134]
mov bl, byte [ecx + eax*4 + 2]
mov byte [edx + eax*4 + 2], bl
mov edx, dword [esi + 0x134]
mov bl, byte [ecx + eax*4 + 3]
mov byte [edx + eax*4 + 3], bl
mov edx, dword [esi + 0x134]
mov bl, byte [ecx + eax*4]
mov byte [edx + eax*4], bl
mov edx, dword [esi + 0x134]
mov ebx, dword [edx + eax*4]
lea edx, [edx + eax*4]
test ebx, 0xffffff00
jne 0x441424
mov dword [edx], 0
inc eax
cmp eax, edi
jb 0x4413d4
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
xor eax, eax
mov dword [esi + 0x110], 0x18
test edi, edi
mov dword [esi + 0x124], 1
jbe 0x44166b
mov edx, dword [esp + 0x10]
push ebp
mov edi, edx
lea ecx, [edx + 1]
sub edi, ecx
sub edx, ecx
lea ebp, [edx + 2]
mov edx, dword [esi + 0x134]
mov bl, byte [edi + ecx]
mov byte [edx + eax*4 + 1], bl
mov edx, dword [esi + 0x134]
mov bl, byte [ecx]
mov byte [edx + eax*4 + 2], bl
mov edx, dword [esi + 0x134]
mov bl, byte [ecx + ebp]
mov byte [edx + eax*4 + 3], bl
mov edx, dword [esi + 0x134]
test dword [edx + eax*4], 0xffffff00
jne 0x44149e
mov dword [edx + eax*4], 0
jmp 0x4414a2
mov byte [edx + eax*4], 0xff
mov edx, dword [esp + 0x18]
inc eax
add ecx, 3
cmp eax, edx
jb 0x441460
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
xor eax, eax
mov dword [esi + 0x110], 0x10
test edi, edi
mov dword [esi + 0x124], 1
jbe 0x44166b
mov edx, dword [esp + 0x10]
mov cl, byte [edx + eax*2 + 1]
mov ebx, dword [esi + 0x134]
and cl, 0xf8
mov byte [ebx + eax*4 + 3], cl
mov cx, word [edx + eax*2]
mov ebx, dword [esi + 0x134]
shr ecx, 3
and cl, 0xfc
mov byte [ebx + eax*4 + 2], cl
mov cl, byte [edx + eax*2]
mov ebx, dword [esi + 0x134]
shl cl, 3
mov byte [ebx + eax*4 + 1], cl
mov ecx, dword [esi + 0x134]
test dword [ecx + eax*4], 0xffffff00
jne 0x441526
mov dword [ecx + eax*4], 0
jmp 0x44152a
mov byte [ecx + eax*4], 0xff
inc eax
cmp eax, edi
jb 0x4414d9
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
cmp eax, 0x115c
je 0x4415f4
cmp eax, 0x15af
je 0x44156e
push str.Can_only_use_24_32_bit_images____
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esi + 0x134]
push edx
call fcn.004650df
add esp, 4
mov eax, 0x80004005
pop edi
pop esi
pop ebx
ret 0x10
xor eax, eax
mov dword [esi + 0x110], 0x10
test edi, edi
jbe 0x44166b
mov edx, dword [esp + 0x10]
mov cx, word [edx + eax*2]
mov ebx, dword [esi + 0x134]
shr ecx, 7
and cl, 0xf8
mov byte [ebx + eax*4 + 3], cl
mov cx, word [edx + eax*2]
mov ebx, dword [esi + 0x134]
shr ecx, 2
and cl, 0xf8
mov byte [ebx + eax*4 + 2], cl
mov cl, byte [edx + eax*2]
mov ebx, dword [esi + 0x134]
shl cl, 3
mov byte [ebx + eax*4 + 1], cl
mov ecx, dword [esi + 0x134]
test dword [ecx + eax*4], 0xffffff00
jne 0x4415d6
mov dword [ecx + eax*4], 0
jmp 0x4415e7
test byte [edx + eax*2 + 1], 0x80
je 0x4415e3
mov byte [ecx + eax*4], 0xff
jmp 0x4415e7
mov byte [ecx + eax*4], 0x7f
inc eax
cmp eax, edi
jb 0x441586
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
xor eax, eax
mov dword [esi + 0x110], 0x10
test edi, edi
jbe 0x44166b
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + eax*2]
mov ebx, dword [esi + 0x134]
shl dl, 4
mov byte [ebx + eax*4 + 1], dl
mov dx, word [ecx + eax*2]
mov ebx, dword [esi + 0x134]
shr edx, 4
and dl, 0xf0
mov byte [ebx + eax*4 + 3], dl
mov dl, byte [ecx + eax*2]
mov ebx, dword [esi + 0x134]
and dl, 0xf0
mov byte [ebx + eax*4 + 2], dl
mov dl, byte [ecx + eax*2 + 1]
mov ebx, dword [esi + 0x134]
and dl, 0xf0
mov byte [ebx + eax*4], dl
mov edx, dword [esi + 0x134]
mov ebx, dword [edx + eax*4]
lea edx, [edx + eax*4]
test ebx, 0xffffff00
jne 0x441666
mov dword [edx], 0
inc eax
cmp eax, edi
jb 0x441608
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10