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

Disassembly:
push 0xffffffffffffffff
push 0x85f280
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x16
call edi
cmp eax, 0xffffff
jne 0x4aaaa9
push 0xf
call edi
test eax, eax
jne 0x4aaaa9
mov eax, 1
jmp 0x4aaaab
xor eax, eax
push 0x15
mov dword [esi + 0x184], eax
call edi
test eax, eax
jne 0x4aaacb
push 0xf
call edi
cmp eax, 0xffffff
jne 0x4aaacb
mov eax, 1
jmp 0x4aaacd
xor eax, eax
push 0
lea ecx, [esp + 0x20]
mov dword [esi + 0x188], eax
call fcn.007d2ee8
mov eax, dword [esp + 0x24]
push 0xc
push eax
mov dword [esp + 0x40], 0
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xf
mov dword [esi + 0x1ac], eax
call edi
push 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x4c], eax
call edi
push 0x15
mov dword [esi + 0x18], eax
mov dword [esi + 0x50], eax
call edi
push 0x16
mov dword [esi + 0x28], eax
mov dword [esi + 0x58], eax
call edi
push 0x14
mov dword [esi + 0x2c], eax
mov dword [esi + 0x5c], eax
call edi
push 0x12
mov dword [esi + 0x1c], eax
mov dword [esi + 0x54], eax
call edi
push 0x11
mov dword [esi + 0x20], eax
mov dword [esi + 0x60], eax
call edi
push 6
mov dword [esi + 0x30], eax
call edi
push 0xd
mov dword [esi + 0x24], eax
call edi
push 0xe
mov dword [esi + 0x34], eax
call edi
push 5
mov dword [esi + 0x38], eax
call edi
push 8
mov dword [esi + 0x64], eax
mov dword [esi + 0x48], eax
call edi
push 9
mov dword [esi + 0x68], eax
call edi
push 7
mov dword [esi + 0x6c], eax
call edi
push 2
mov dword [esi + 0x70], eax
call edi
push 3
mov dword [esi + 0x74], eax
call edi
push 0x1b
mov dword [esi + 0x78], eax
call edi
push 0x1c
mov dword [esi + 0x80], eax
call edi
push 0xa
mov dword [esi + 0x84], eax
call edi
push 0xb
mov dword [esi + 0x88], eax
call edi
push 0x13
mov dword [esi + 0x8c], eax
call edi
mov dword [esi + 0x7c], eax
cmp dword [esi + 0x184], 0
je 0x4aabc1
mov eax, dword [esi + 0x68]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
jmp 0x4aabd3
push 0x1a
call edi
mov dword [esi + 0x40], 0xff0000
mov dword [esi + 0x44], 0x800080
mov edi, dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0x10
mov dword [esi + 0x3c], eax
call edi
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0xc], eax
mov eax, ecx
test eax, eax
jne 0x4aabf5
call fcn.007c8676
push 0x14
call edi
xor edx, edx
test eax, eax
setne dl
mov dword [esi + 8], eax
mov eax, edx
test eax, eax
jne 0x4aac0e
call fcn.007c8676
push 5
call edi
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x10], eax
mov eax, ecx
test eax, eax
jne 0x4aac27
call fcn.007c8676
lea ecx, [esi + 0x90]
call fcn.007d30ed
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
call edi
push eax
lea ecx, [esi + 0x90]
call fcn.007d3093
lea ecx, [esi + 0xc8]
call fcn.007d30ed
mov eax, dword [esi + 0x4c]
push eax
call edi
push eax
lea ecx, [esi + 0xc8]
call fcn.007d3093
lea ecx, [esi + 0xb0]
call fcn.007d30ed
mov eax, dword [esi + 0x74]
push eax
call edi
push eax
lea ecx, [esi + 0xb0]
add al, ch
je 0x8ed7acb8
mov eax, 0xe8000000
pop esi
test byte [edx], dh
add byte [ebx - 0xaf87ba], cl
xlatb