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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e88d0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x58bd90]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x58bd90]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, edx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0xc]
push ecx
push 1
push 0
lea ecx, [esp + 0x4c]
call fcn.0041ef97
mov dword [esp + 0x70], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x10]
push ecx
push 1
push 0
lea ecx, [esp + 0x2c]
call fcn.0041ef97
mov byte [esp + 0x70], 1
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x18]
push ecx
push 1
push 0
lea ecx, [esp + 0x3c]
call fcn.0041ef97
mov byte [esp + 0x70], 2
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x18]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0041efe2
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
add ecx, 0x30
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x48]
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 0x4c4e00
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0041eee9
lea eax, [edi + 7]
push eax
lea ecx, [ebx + 1]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0041e841
lea eax, [ebx + 5]
lea ecx, [eax + 2]
mov dword [esp + 0x18], eax
lea eax, [edi + 7]
push eax
push ecx
mov ecx, esi
call fcn.0041e33e
lea eax, [edi + 8]
push eax
push ebx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0041e841
mov ecx, dword [esp + 0x18]
lea eax, [edi + 8]
inc ecx
push eax
push ecx
mov ecx, esi
call fcn.0041e33e
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.0041eee9
lea eax, [edi + 6]
push eax
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0041e841
lea eax, [edi + 1]
push eax
lea eax, [ebx + 1]
push eax
mov ecx, esi
call fcn.0041e33e
mov edx, dword [esp + 0x18]
lea eax, [edi + 1]
push eax
push edx
mov ecx, esi
call fcn.0041e33e
lea eax, [edi + 7]
push eax
push ebx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0041e841
push edi
push ebx
mov ecx, esi
call fcn.0041e33e
mov ecx, dword [esp + 0x18]
push edi
push ecx
mov ecx, esi
call fcn.0041e33e
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.0041eee9
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.0041eee9
lea eax, [edi + 7]
push eax
mov eax, dword [esp + 0x1c]
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 + 0x20]
push edx
mov ecx, esi
call fcn.0041eee9
mov eax, dword [esp + 0x14]
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 + 0x48]
mov eax, dword [esp + 0x18]
add eax, 6
lea ebx, [edx + ebx + 0xb]
mov edx, dword [esp + 0x14]
lea ecx, [edi - 0xa]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x54], ecx
jmp 0x4c4f2c
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.0041eee9
push edi
lea edx, [ebx + 1]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0041e841
lea eax, [ebx + 6]
push edi
push eax
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0041e33e
lea eax, [edi + 1]
push eax
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0041e841
lea eax, [edi + 1]
push eax
lea eax, [ebx + 5]
push eax
mov ecx, esi
call fcn.0041e33e
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0041eee9
lea eax, [edi + 8]
push eax
push ebx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0041e841
mov ecx, dword [esp + 0x18]
lea eax, [edi + 8]
push eax
push ecx
mov ecx, esi
call fcn.0041e33e
mov eax, dword [esp + 0x18]
lea edx, [edi - 1]
push edx
push eax
mov ecx, esi
call fcn.0041e33e
lea eax, [edi + 7]
push eax
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0041e841
lea eax, [edi + 7]
push eax
lea eax, [ebx + 5]
push eax
mov ecx, esi
call fcn.0041e33e
push edi
lea eax, [ebx + 5]
push eax
mov ecx, esi
call fcn.0041e33e
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.0041eee9
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.0041eee9
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 + 0x20]
push edx
mov ecx, esi
call fcn.0041eee9
mov eax, dword [esp + 0x14]
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 [esp + 0x14]
mov edx, ebx
sub edx, dword [esp + 0x48]
lea eax, [edi - 0xa]
sub edx, 4
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x50], edx
add ebx, 0xfffffffc
mov edx, dword [esi]
add edi, 0x13
mov dword [esp + 0x5c], edi
push 0x25
lea edi, [esp + 0x54]
mov dword [esp + 0x5c], 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 + 0x70], 2
mov dword [esp + 0x38], vtable.CBrush.0
mov byte [esp + 0x70], 2
lea ecx, [esp + 0x38]
call fcn.00402970
mov byte [esp + 0x70], 1
mov esi, vtable.CPen.0
mov dword [esp + 0x30], esi
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x30]
call fcn.00402970
mov byte [esp + 0x70], 0
mov dword [esp + 0x20], esi
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x20]
call fcn.00402970
or eax, 0xffffffff
mov dword [esp + 0x70], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x40]
call fcn.00402970
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0045463b
mov esp, ebp
pop ebp
ret 0xc