Function at 0x4115f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x548628
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x5b0c20]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor eax, eax
mov ecx, vtable.CPen.0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
push 0xf2f2f2
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 1
call fcn.00514ab8
mov eax, dword [esp + 0x30]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
push eax
push ebx
push ecx
mov byte [esp + 0x64], 2
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebx + 8]
mov edx, dword [ebx]
mov edi, dword [ebx + 4]
mov ebx, dword [ebx + 0xc]
push 0
push 1
dec eax
push 0
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], eax
dec ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x28]
call fcn.005148cf
test eax, eax
je 0x411818
push 0xffffff
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x20]
call fcn.005148cf
test eax, eax
je 0x411818
mov eax, dword [esp + 0x3c]
push ebx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0051443e
cmp dword [ebp + 0x10], 0
je 0x411763
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00514a0a
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
push edi
push eax
mov ecx, esi
call fcn.00514075
mov ecx, dword [esp + 0x44]
push edi
push ecx
mov ecx, esi
call fcn.00514075
push ebx
push 0x6c
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.0051443e
push edi
push 0x6c
mov ecx, esi
call fcn.00514075
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00514a0a
push ebx
push 0x6e
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.0051443e
push edi
push 0x6e
mov ecx, esi
call fcn.00514075
push edi
mov edi, dword [esp + 0x48]
push edi
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.0051443e
push ebx
push edi
mov ecx, esi
call fcn.00514075
mov eax, dword [esp + 0x3c]
push ebx
push eax
jmp 0x411805
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00514a0a
mov edx, dword [esp + 0x3c]
push edi
push edx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00514075
push edi
push 0x6c
mov ecx, esi
call fcn.00514075
push ebx
push 0x6c
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0051443e
mov ecx, dword [esp + 0x44]
push ebx
push ecx
mov ecx, esi
call fcn.00514075
mov edx, dword [esp + 0x44]
push edi
push edx
mov ecx, esi
call fcn.00514075
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00514a0a
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.0051443e
push ebx
push 0x6c
mov ecx, esi
call fcn.00514075
push edi
push 0x6c
mov ecx, esi
call fcn.00514075
dec ebx
push ebx
push 0x6e
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0051443e
push edi
push 0x6e
mov ecx, esi
call fcn.00514075
mov ecx, dword [esp + 0x44]
push edi
push ecx
mov ecx, esi
call fcn.00514075
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
call fcn.00514a0a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 1
mov dword [esp + 0x2c], vtable.CBrush.0
call fcn.0040f2b0
mov esi, vtable.CPen.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 0
mov dword [esp + 0x1c], esi
call fcn.0040f2b0
lea ecx, [esp + 0x24]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x24], esi
call fcn.0040f2b0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret