Function at 0x45d910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c9128
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x30]
push str.COLOR_SCROLLBAR
mov edi, 0xf
lea ecx, [esp + 0x20]
call fcn.004484f0
test eax, eax
jne 0x45d988
push eax
call dword [sym.imp.USER32.dll_GetSysColor]
cmp dword [esp + 0x34], 8
mov esi, eax
jb 0x45d972
mov eax, dword [esp + 0x20]
push eax
call fcn.00488fd0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x1c
mov eax, dword [esp + 0x30]
push str.COLOR_BACKGROUND
mov edi, 0x10
lea ecx, [esp + 0x20]
call fcn.004484f0
test eax, eax
jne 0x45d9d7
push 1
call dword [sym.imp.USER32.dll_GetSysColor]
cmp dword [esp + 0x34], 8
mov esi, eax
jb 0x45d972
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00488fd0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x1c
mov eax, dword [esp + 0x30]
push str.COLOR_ACTIVECAPTION
mov edi, 0x13
lea ecx, [esp + 0x20]
call fcn.004484f0
test eax, eax
jne 0x45da2a
push 2
call dword [sym.imp.USER32.dll_GetSysColor]
cmp dword [esp + 0x34], 8
mov esi, eax
jb 0x45d972
mov edx, dword [esp + 0x20]
push edx
call fcn.00488fd0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x1c
mov eax, dword [esp + 0x30]
push str.COLOR_INACTIVECAPTION
mov edi, 0x15
lea ecx, [esp + 0x20]
call fcn.004484f0
test eax, eax
jne 0x45da6e
push 3
call dword [sym.imp.USER32.dll_GetSysColor]
lea esi, [esp + 0x1c]
mov edi, eax
call fcn.00406c20
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x1c
mov esi, str.COLOR_MENU
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45da84
push 4
jmp 0x45da47
mov esi, str.COLOR_WINDOW
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45da9a
push 5
jmp 0x45da47
mov esi, str.COLOR_WINDOWFRAME
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dab0
push 6
jmp 0x45da47
mov esi, str.COLOR_MENUTEXT
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dac6
push 7
jmp 0x45da47
mov esi, str.COLOR_WINDOWTEXT
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dadf
push 8
jmp 0x45da47
mov esi, str.COLOR_CAPTIONTEXT
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45daf8
push 9
jmp 0x45da47
mov esi, str.COLOR_ACTIVEBORDER
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45db11
push 0xa
jmp 0x45da47
mov esi, str.COLOR_INACTIVEBORDER
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45db2a
push 0xb
jmp 0x45da47
mov esi, str.COLOR_APPWORKSPACE
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45db43
push 0xc
jmp 0x45da47
mov esi, str.COLOR_HIGHLIGHT
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45db5c
push 0xd
jmp 0x45da47
mov esi, str.COLOR_HIGHLIGHTTEXT
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45db75
push 0xe
jmp 0x45da47
mov esi, str.COLOR_BTNFACE
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45db8e
push 0xf
jmp 0x45da47
mov esi, str.COLOR_BTNSHADOW
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dba7
push 0x10
jmp 0x45da47
mov esi, str.COLOR_GRAYTEXT
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dbc0
push 0x11
jmp 0x45da47
mov esi, str.COLOR_BTNTEXT
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dbd9
push 0x12
jmp 0x45da47
mov esi, str.COLOR_INACTIVECAPTIONTEXT
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dbf2
push 0x13
jmp 0x45da47
mov esi, str.COLOR_BTNHIGHLIGHT
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dc0b
push 0x14
jmp 0x45da47
mov esi, str.COLOR_3DDKSHADOW
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dc24
push 0x15
jmp 0x45da47
mov esi, str.COLOR_3DLIGHT
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dc3d
push 0x16
jmp 0x45da47
mov esi, str.COLOR_INFOTEXT
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dc56
push 0x17
jmp 0x45da47
mov esi, str.COLOR_INFOBK
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dc6f
push 0x18
jmp 0x45da47
mov esi, str.COLOR_HOTLIGHT
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dc88
push 0x1a
jmp 0x45da47
mov esi, str.COLOR_GRADIENTACTIVECAPTION
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dca1
push 0x1b
jmp 0x45da47
mov esi, str.COLOR_GRADIENTINACTIVECAPTION
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dcba
push 0x1c
jmp 0x45da47
mov esi, str.COLOR_MENUHILIGHT
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dcd3
push 0x1d
jmp 0x45da47
mov esi, str.COLOR_MENUBAR
lea ecx, [esp + 0x1c]
call fcn.004593f0
test al, al
je 0x45dcec
push 0x1e
jmp 0x45da47
lea esi, [esp + 0x1c]
call fcn.00406c20
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x1c