Function at 0x412d50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x480300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x20]
push eax
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00477faa
mov ecx, dword [esp + 0x28]
mov ebx, eax
mov eax, dword [esp + 0x2c]
lea esi, [edi + 0x1cc]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.004698c0
mov edx, dword [ebx + 4]
mov eax, dword [edi + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
xor ebx, ebx
mov dword [esp + 0x10], vtable.CRgn.0
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
push 5
lea eax, [ecx - 1]
lea ecx, [edx - 1]
mov edx, dword [esp + 0x28]
push 5
inc edx
push eax
inc edi
push ecx
push edx
push edi
mov dword [esp + 0x60], ebx
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push eax
lea ecx, [esp + 0x14]
call fcn.00478902
lea eax, [esp + 0x10]
push 4
push eax
mov ecx, esi
call fcn.00478540
lea ecx, [esp + 0x20]
push 0xc8ffff
push ecx
mov ecx, esi
call fcn.0047ac99
push ebx
mov ecx, esi
call fcn.00478443
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, esi
call fcn.00478540
lea eax, [esp + 0x20]
push 0x965a32
push eax
mov ecx, esi
call fcn.0047ac99
push ebx
mov ecx, esi
call fcn.00478443
lea ecx, [esp + 0x10]
call fcn.00478959
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
lea edi, [ebp + 0x24]
push 5
push 5
lea ebx, [eax + 0x50]
inc ebp
push edi
push ebx
push ebp
push eax
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push eax
lea ecx, [esp + 0x14]
call fcn.00478902
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], vtable.CRgn.0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add edx, 0xdc
mov byte [esp + 0x48], 1
lea ecx, [eax + 0x50]
push ecx
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.GDI32.dll_CreateEllipticRgn]
push eax
lea ecx, [esp + 0x1c]
call fcn.00478902
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
mov edx, dword [esp + 0x14]
push 1
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x14]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
lea ecx, [esp + 0x18]
call fcn.00478959
mov ecx, dword [esp + 0x30]
push 5
push 5
push edi
push ebx
push ebp
push ecx
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push eax
lea ecx, [esp + 0x1c]
call fcn.00478902
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
lea ecx, [esp + 0x10]
and eax, edx
push 3
neg ecx
sbb ecx, ecx
push eax
and ecx, dword [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
lea ecx, [esp + 0x10]
call fcn.00478959
lea edx, [esp + 0x18]
push 1
push edx
mov ecx, esi
call fcn.00478540
mov eax, dword [0x490490]
mov edx, dword [esp + 0x30]
push eax
push 0xff
push 0xffff
sub esp, 0x10
mov ecx, esp
push esi
mov dword [ecx], edx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edi
call fcn.00469eb0
add esp, 0x20
mov ecx, esi
push 0
call fcn.00478443
lea ecx, [esp + 0x18]
call fcn.00478959
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.00478959
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 3
call fcn.00478959
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret