Function at 0x44fe00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov ebx, ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.0044eb00
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x44fe5f
movups xmm1, xmmword [esi + 0xe]
mov dword [ebp + 8], 0x36
movups xmm0, xmmword [esi + 0x1e]
movd eax, xmm1
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x2e]
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x3c], xmm1
cmp eax, 0x28
je 0x44fe6a
push str.BMP_Load_Failed_Format_Not_v3_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dx, word [ebp - 0x2e]
cmp dx, 8
je 0x44fe8b
cmp dx, 0x10
je 0x44fe82
cmp dx, 0x18
je 0x44feee
jmp 0x44fe51
mov dword [ebp + 8], 0x42
jmp 0x44feee
lea eax, [esi + 0x36]
mov esi, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
lea edi, [ebx + 6]
test esi, esi
jne 0x44fead
mov ecx, 0x100
mov dword [ebp + 8], 0x436
mov esi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x44fed4
push 0x400
push 0
push edi
call fcn.0047ebc0
shl esi, 2
push esi
push dword [ebp + 8]
push edi
call fcn.004803e0
mov dx, word [ebp - 0x2e]
lea eax, [esi + 0x36]
add esp, 0x18
mov dword [ebp + 8], eax
lea eax, [ebx + 9]
mov ecx, 0x100
nop dword [eax]
mov byte [eax], 0xff
lea eax, [eax + 4]
sub ecx, 1
jne 0x44fee0
mov esi, dword [ebp - 0xc]
movzx eax, dx
shr eax, 3
imul eax, dword [ebp - 0x38]
push 4
push 0x3000
add eax, 3
cdq
and edx, 3
lea edi, [edx + eax]
mov eax, dword [ebp - 0x34]
and edi, 0xfffffffc
imul eax, edi
mov dword [ebp - 0x10], edi
push eax
push 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x44fe51
push dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, esi
push eax
push ecx
call fcn.004803e0
add esp, 0xc
push 0x8000
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
call esi
mov al, byte [ebp - 0x2e]
push 4
mov byte [ebx], al
movzx eax, word [ebp - 0x38]
push 0x3000
push dword [ebp - 0xc]
mov word [ebx + 2], ax
movzx eax, word [ebp - 0x34]
push 0
mov word [ebx + 4], ax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x44ff94
push 0x8000
push eax
push dword [ebp - 8]
call esi
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx ecx, word [ebx + 4]
movzx edx, byte [ebx]
shr edx, 3
mov dword [ebp + 8], 0
lea esi, [ecx - 1]
imul esi, edi
mov edi, eax
movzx eax, word [ebx + 2]
imul edx, eax
add esi, dword [ebp - 8]
mov dword [ebp - 0xc], edx
test ecx, ecx
je 0x44ffe2
nop
push edx
push esi
push edi
call fcn.004803e0
mov ecx, dword [ebp + 8]
add esp, 0xc
mov edx, dword [ebp - 0xc]
inc ecx
movzx eax, word [ebx + 4]
add edi, edx
sub esi, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
cmp ecx, eax
jl 0x44ffc0
push 0x8000
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp byte [ebx], 0x18
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x408], eax
jne 0x450035
movzx edi, word [ebx + 2]
movzx eax, word [ebx + 4]
imul edi, eax
test edi, edi
je 0x450035
xor esi, esi
mov ecx, dword [ebx + 0x408]
lea esi, [esi + 3]
mov al, byte [ecx + esi - 1]
mov dl, byte [ecx + esi - 3]
mov byte [ecx + esi - 3], al
mov eax, dword [ebx + 0x408]
mov byte [esi + eax - 1], dl
sub edi, 1
jne 0x450011
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4