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

Disassembly:
sub esp, 0x84
mov eax, dword [0x4f7600]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [0x4fea74]
mov dword [esp + 0x14], eax
mov eax, dword fs:[0x2c]
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [eax + ecx*4]
mov eax, dword [0x4fe54c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x1c], ebx
cmp eax, dword [ebp + 8]
jg 0x44486d
mov eax, dword [0x4fe554]
cmp eax, dword [ebp + 8]
jg 0x4448ad
mov edx, dword [esp + 0xa0]
mov ecx, edx
mov eax, dword [esp + 0xa4]
shr ecx, 0x18
shr eax, 0x18
add ecx, eax
shr ecx, 1
mov dword [esp + 0x5c], ecx
test cl, cl
je 0x444854
mov ebp, dword [ebx + 0xc]
sub ebp, dword [ebx + 4]
movups xmm0, xmmword [ebx]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
mov ebp, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
movups xmmword [esp + 0x70], xmm0
movups xmmword [esp + 0x2c], xmm0
cmp cl, 0xff
jae 0x444565
xor edi, edi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
push esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x28]
mov ebp, eax
push dword [esp + 0x40]
mov dword [esp + 0x28], ebp
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebp
mov dword [esp + 0x4c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
movups xmm0, xmmword [esp + 0x2c]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x40], eax
movups xmmword [esp + 0x70], xmm0
jmp 0x444569
mov edi, dword [esp + 0x30]
mov eax, dword [0x4fe550]
mov dword [esp + 0x18], eax
test eax, eax
je 0x444647
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], eax
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [esp + 0xa4]
shl ax, 8
mov word [esp + 0x78], ax
mov eax, edx
and eax, 0xff00
mov dword [esp + 0x74], edi
mov word [esp + 0x7a], ax
movzx eax, dl
mov edx, 0xff00
shl ax, 8
mov word [esp + 0x7c], ax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl ax, 8
mov word [esp + 0x88], ax
mov eax, ecx
and eax, edx
mov word [esp + 0x7e], dx
mov word [esp + 0x8a], ax
movzx eax, cl
shl ax, 8
mov word [esp + 0x8c], ax
movzx eax, byte [esp + 0xa8]
push eax
push 1
lea eax, [esp + 0x34]
mov word [esp + 0x96], dx
push eax
push 2
lea eax, [esp + 0x80]
mov dword [esp + 0x3c], 0
push eax
push ebp
mov dword [esp + 0x48], 1
call dword [esp + 0x30]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x444803
mov eax, dword [esp + 0xac]
cmp eax, 0x40
jl 0x44465d
mov ebp, 6
lea eax, [ebp + 0x3a]
jmp 0x4446a1
cmp eax, 0x20
jl 0x44466c
mov ebp, 5
lea eax, [ebp + 0x1b]
jmp 0x4446a1
cmp eax, 0x10
jl 0x44467b
mov ebp, 4
lea eax, [ebp + 0xc]
jmp 0x4446a1
cmp eax, 8
jl 0x44468a
mov ebp, 3
lea eax, [ebp + 5]
jmp 0x4446a1
cmp eax, 4
jl 0x444699
mov ebp, 2
lea eax, [ebp + 2]
jmp 0x4446a1
mov eax, 2
lea ebp, [eax - 1]
mov ecx, dword [esp + 0xa4]
xor ebx, ebx
movzx esi, cx
shr esi, 8
mov dword [esp + 0x50], esi
movzx esi, dx
shr esi, 8
mov dword [esp + 0x4c], esi
movzx esi, cl
shr ecx, 0x10
movzx edi, dl
movzx ecx, cl
shr edx, 0x10
mov dword [esp + 0x58], ecx
movzx ecx, dl
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x48]
mov edi, eax
mov eax, dword [esp + 0x50]
sub edi, ebx
imul edx, ebx
mov ecx, ebp
imul esi, edi
imul eax, edi
add edx, esi
sar edx, cl
movzx esi, dl
mov edx, dword [esp + 0x4c]
imul edx, ebx
shl esi, 8
add edx, eax
sar edx, cl
movzx eax, dl
mov edx, dword [esp + 0x54]
or esi, eax
mov eax, dword [esp + 0x58]
imul edx, ebx
imul eax, edi
shl esi, 8
add edx, eax
sar edx, cl
movzx eax, dl
or esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
cmp byte [esp + 0xa8], 0
lea ecx, [ebx + 1]
movups xmm0, xmmword [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
movups xmmword [esp + 0x60], xmm0
mov dword [esp + 0x18], ecx
je 0x44479d
mov edi, dword [eax + 0xc]
mov ecx, ebp
mov esi, edi
mov edx, edi
sub esi, dword [eax + 4]
mov eax, esi
imul eax, ebx
mov ebx, dword [esp + 0x18]
imul esi, ebx
sar eax, cl
sub edx, eax
sar esi, cl
sub edi, esi
mov dword [esp + 0x6c], edx
mov esi, dword [esp + 0x10]
sub edx, edi
mov dword [esp + 0x64], edi
test edx, edx
jle 0x4447de
push esi
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_FillRect]
jmp 0x4447de
mov edi, dword [eax + 8]
mov esi, edi
sub esi, dword [eax]
mov edx, edi
mov eax, esi
imul esi, ebx
imul eax, ecx
mov ecx, ebp
sar esi, cl
sub edi, esi
sar eax, cl
mov esi, dword [esp + 0x10]
sub edx, eax
mov dword [esp + 0x68], edi
sub edi, edx
mov dword [esp + 0x60], edx
test edi, edi
jle 0x4447da
push esi
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_FillRect]
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call edi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
cmp ebx, eax
jl 0x4446e4
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x5c]
cmp al, 0xff
jae 0x444854
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x3c]
mov word [esp + 0x10], 0
mov byte [esp + 0x13], 1
push dword [esp + 0x10]
push ecx
push eax
push 0
push 0
push ebp
push ecx
push eax
push dword [ebx + 4]
push dword [ebx]
push esi
call dword [0x4fe548]
push dword [esp + 0x40]
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x44]
call edi
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00489fe1
add esp, 0x84
ret
push 0x4fe54c
call fcn.00489f7d
add esp, 4
cmp dword [0x4fe54c], 0xffffffff
jne 0x44449a
push str.AlphaBlend
push 0x4bd4ec
call edi
push eax
call esi
push 0x4fe54c
mov dword [0x4fe548], eax
call fcn.00489f2c
add esp, 4
jmp 0x44449a
push 0x4fe554
call fcn.00489f7d
add esp, 4
cmp dword [0x4fe554], 0xffffffff
jne 0x4444ab
push str.GradientFill
push 0x4bd4ec
call edi
push eax
call esi
push 0x4fe554
mov dword [0x4fe550], eax
call fcn.00489f2c
add esp, 4
jmp 0x4444ab