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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ae1b0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4f07b0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, edx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xc]
push edx
push 1
push 0
lea ecx, [esp + 0x40]
call fcn.00455c0f
mov dword [esp + 0x68], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x10]
push edx
push 1
push 0
lea ecx, [esp + 0x28]
call fcn.00455c0f
mov byte [esp + 0x68], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
push edx
push 1
push 0
lea ecx, [esp + 0x38]
call fcn.00455c0f
mov byte [esp + 0x68], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
push edx
lea ecx, [esp + 0x28]
call fcn.00455c58
mov byte [esp + 0x68], 3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
add edx, 0x30
push edx
mov ecx, esi
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp byte [ebp + 0x10], 0
je 0x4081dc
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00455b75
lea eax, [edi + 7]
push eax
lea ecx, [ebx + 1]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004554be
lea eax, [ebx + 5]
lea ecx, [eax + 2]
mov dword [esp + 0x14], eax
lea eax, [edi + 7]
push eax
push ecx
mov ecx, esi
call fcn.00454f8f
lea eax, [edi + 8]
push eax
push ebx
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.004554be
mov ecx, dword [esp + 0x14]
lea eax, [edi + 8]
add ecx, 1
push eax
push ecx
mov ecx, esi
call fcn.00454f8f
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.00455b75
lea eax, [edi + 6]
push eax
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004554be
lea eax, [edi + 1]
push eax
lea eax, [ebx + 1]
push eax
mov ecx, esi
call fcn.00454f8f
mov edx, dword [esp + 0x14]
lea eax, [edi + 1]
push eax
push edx
mov ecx, esi
call fcn.00454f8f
lea eax, [edi + 7]
push eax
push ebx
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.004554be
push edi
push ebx
mov ecx, esi
call fcn.00454f8f
mov ecx, dword [esp + 0x14]
push edi
push ecx
mov ecx, esi
call fcn.00454f8f
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.00455b75
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00455b75
lea eax, [edi + 7]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
lea ecx, [edi + 2]
push ecx
mov ecx, dword [esi + 4]
lea edx, [ebx + 2]
push edx
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00455b75
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 0x10]
mov ecx, dword [esi + 4]
push eax
lea edx, [edi + 4]
push edx
lea eax, [ebx + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
add eax, 6
lea ebx, [edx + ebx + 0xb]
mov edx, dword [ebp + 8]
lea ecx, [edi - 0xa]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x50], ecx
jmp 0x408306
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00455b75
push edi
lea edx, [ebx + 1]
push edx
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.004554be
lea eax, [ebx + 6]
push edi
push eax
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00454f8f
lea eax, [edi + 1]
push eax
push ebx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004554be
lea eax, [edi + 1]
push eax
lea eax, [ebx + 5]
push eax
mov ecx, esi
call fcn.00454f8f
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00455b75
lea eax, [edi + 8]
push eax
push ebx
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.004554be
mov ecx, dword [esp + 0x14]
lea eax, [edi + 8]
push eax
push ecx
mov ecx, esi
call fcn.00454f8f
mov eax, dword [esp + 0x14]
lea edx, [edi - 1]
push edx
push eax
mov ecx, esi
call fcn.00454f8f
lea eax, [edi + 7]
push eax
push ebx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004554be
lea eax, [edi + 7]
push eax
lea eax, [ebx + 5]
push eax
mov ecx, esi
call fcn.00454f8f
push edi
lea eax, [ebx + 5]
push eax
mov ecx, esi
call fcn.00454f8f
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.00455b75
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00455b75
lea ecx, [edi + 2]
lea eax, [edi + 7]
push eax
lea eax, [ebx + 5]
push eax
push ecx
mov ecx, dword [esi + 4]
push ebx
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00455b75
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 0x10]
mov ecx, dword [esi + 4]
push eax
lea edx, [edi + 4]
push edx
lea eax, [ebx + 2]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
mov ecx, dword [ebp + 8]
mov edx, ebx
sub edx, dword [esp + 0x3c]
lea eax, [edi - 0xa]
sub edx, 4
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x4c], edx
add ebx, 0xfffffffc
mov edx, dword [esi]
add edi, 0x13
mov dword [esp + 0x58], edi
push 0x25
lea edi, [esp + 0x50]
mov dword [esp + 0x58], ebx
mov ecx, dword [eax - 0xc]
push edi
push ecx
push eax
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
mov byte [esp + 0x68], 2
mov dword [esp + 0x24], vtable.CBrush.0
mov byte [esp + 0x68], 2
lea ecx, [esp + 0x24]
call fcn.004013a0
mov byte [esp + 0x68], 1
mov esi, vtable.CPen.0
mov dword [esp + 0x2c], esi
mov byte [esp + 0x68], 1
lea ecx, [esp + 0x2c]
call fcn.004013a0
mov byte [esp + 0x68], 0
mov dword [esp + 0x1c], esi
mov byte [esp + 0x68], 0
lea ecx, [esp + 0x1c]
call fcn.004013a0
or eax, 0xffffffff
mov dword [esp + 0x68], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x34]
call fcn.004013a0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc