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

Disassembly:
push 0xffffffffffffffff
push 0x60d508
mov eax, dword fs:[StartPage]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[RoundRect], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x60]
push eax
push ecx
call dword [sym.imp.user32.dll_GetClientRect]
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
sub ebp, dword [esp + 0x64]
sub edi, dword [esp + 0x60]
add esi, 0x80
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], esi
je 0x4aa6c9
cmp dword [esi + 4], 0
jne 0x4aa882
lea ecx, [esp + 0x50]
call fcn.0056f38b
mov ebx, dword [esp + 0x94]
test ebx, ebx
mov dword [esp + 0x8c], 0
jne SetSystemPaletteUse
xor eax, eax
jmp 0x4aa6ef
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x54]
call fcn.0056fa23
test eax, eax
je DeviceIoControl
mov edx, dword [ebx + 4]
push ebp
push edi
push edx
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call fcn.0056fcea
test eax, eax
je DeviceIoControl
test esi, esi
jne CreateEllipticRgn
xor eax, eax
jmp 0x4aa72f
mov eax, dword [esi + 4]
push eax
mov eax, dword [esp + 0x58]
push eax
call fcn.0056fd6f
xor ebx, ebx
cmp dword [0x6b4b68], 8
mov dword [esp + 0x28], eax
setle bl
mov dword [esp + 0x14], 0
sub ebx, 1
and ebx, 0xfffffffd
add ebx, 4
test ebp, ebp
jle ResizePalette
mov eax, ebx
neg eax
mov edi, ebp
mov dword [esp + 0x20], eax
sub edi, ebx
xor esi, esi
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x18], esi
jle PathFindExtensionA
fild dword [esp + 0x14]
fidiv dword [esp + 0x1c]
fstp qword [esp + 0x3c]
fild dword [esp + 0x2c]
fstp qword [esp + 0x44]
fld qword [esp + 0x3c]
sub esp, 0x18
fstp qword [esp + 0x10]
fld qword [0x655768]
fstp qword [esp + 8]
fild dword [esp + 0x30]
fdiv qword [esp + 0x5c]
fstp qword [esp]
call fcn.004a94b0
add esp, 0x18
cmp dword [0x6b4b68], 8
push eax
jle 0x4aa7d4
mov ecx, dword [esp + 0x58]
push edi
push esi
push ecx
call dword [sym.imp.gdi32.dll_SetPixelV]
jmp 0x4aa81f
lea ecx, [esp + 0x38]
call fcn.0056fec7
mov ecx, dword [esp + 0x38]
lea edx, [esi + ebx]
mov dword [esp + 0x78], edx
lea eax, [edi + ebx]
push ecx
lea edx, [esp + 0x74]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x58]
push edx
push eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
call dword [sym.imp.user32.dll_FillRect]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0x6211b0
call fcn.00423d70
add esi, ebx
cmp esi, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
jl 0x4aa793
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add ecx, ebx
add edi, eax
cmp ecx, ebp
mov dword [esp + 0x14], ecx
jl CreateHatchBrush
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4aa85a
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x54]
push eax
push ecx
call fcn.0056fd6f
mov ebx, dword [esp + 0x94]
lea ecx, [esp + 0x50]
mov dword [esp + 0x8c], 0xffffffff
call fcn.0056fa9d
jmp GetSystemTimeAsFileTime
mov ebx, dword [esp + 0x94]
test esi, esi
jne 0x4aa891
xor eax, eax
jmp 0x4aa894
mov eax, dword [esi + 4]
mov edx, dword [ebx + 4]
push 4
push ebp
push edi
push 0
push 0
push 0
push eax
push 0
push 0
push edx
call dword [sym.imp.user32.dll_DrawStateA]
mov ecx, dword [esp + 0x84]
mov dword fs:[VirtualProtect], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 4