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

Disassembly:
push 0xffffffffffffffff
push 0x460408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x64]
push edi
push eax
xor ebp, ebp
push ebp
push ebp
lea ecx, [esp + 0x30]
call fcn.004530f9
mov eax, vtable.CFont.0
mov dword [esp + 0x50], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov byte [esp + 0x50], 2
call fcn.0044fd47
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x54], 3
call fcn.00452d1d
lea edi, [esi + 0xe8]
cmp edi, ebp
mov byte [esp + 0x50], 4
je 0x4208d3
cmp dword [edi + 4], ebp
jne 0x42092b
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.00452c86
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x40]
push ecx
lea ebx, [esi + 0x110]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.00452f83
cmp ebx, ebp
jne 0x420915
xor ebx, ebx
jmp 0x420918
mov ebx, dword [ebx + 4]
mov edx, dword [esi + 0xec]
push ebx
push edx
call fcn.0045300c
mov dword [esi + 0x108], eax
mov ecx, dword [esi + 0x60]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
lea eax, [esi + 0xe0]
cmp eax, ebp
jne 0x420944
xor eax, eax
jmp 0x420947
mov eax, dword [eax + 4]
mov edx, dword [esi + 0xec]
push eax
lea ebx, [esi + 0xb8]
push ebx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 0xd0]
mov ebp, dword [esi + 0xc8]
lea ecx, [esp + 0x24]
sub eax, ebp
push ecx
mov ecx, edi
mov dword [esi + 0x94], eax
call fcn.0045305f
mov edx, dword [esi + 0xcc]
mov ebp, eax
mov eax, dword [esi + 0xc8]
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.00452a1e
mov edx, dword [esi + 0xcc]
mov eax, dword [esi + 0xd0]
push edx
push eax
mov ecx, edi
call fcn.00452684
mov ecx, dword [esi + 0xd4]
mov edx, dword [esi + 0xd0]
push ecx
push edx
mov ecx, edi
call fcn.00452684
mov eax, dword [esi + 0xd4]
mov ecx, dword [esi + 0xc8]
push eax
push ecx
mov ecx, edi
call fcn.00452684
mov edx, dword [esi + 0xcc]
mov eax, dword [esi + 0xc8]
push edx
push eax
mov ecx, edi
call fcn.00452684
mov ecx, dword [esi + 0xcc]
mov eax, dword [esi + 0xd4]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esi + 0xc8]
push eax
sub ecx, 0xa
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, edi
call fcn.00452a1e
mov ecx, dword [esi + 0xcc]
mov eax, dword [esi + 0xd4]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
mov eax, dword [esi + 0xd0]
add eax, 0xa
push eax
mov ecx, edi
call fcn.00452684
mov edx, dword [esi + 0xcc]
mov ecx, dword [esi + 0xc8]
mov eax, dword [esi + 0xd0]
sub edx, 0xa
push edx
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.00452a1e
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xd4]
mov eax, dword [esi + 0xd0]
sub eax, ecx
add edx, 0xa
push edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
mov ecx, edi
call fcn.00452684
push ebp
mov ecx, edi
call fcn.0045305f
push str.Arial
push 0x20
push 0
mov ebp, dword [sym.imp.GDI32.dll_CreateFontA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x12c
push 0
push 0
push 0
push 0xe
call ebp
push eax
lea ecx, [esp + 0x18]
call fcn.00452f83
push str.Arial
push 0x20
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x12c
push 0
push 0x384
push 0
push 0xe
call ebp
push eax
lea ecx, [esp + 0x20]
call fcn.00452f83
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x28]
mov edx, dword [edi]
mov ebp, eax
push ebp
mov ecx, edi
call dword [edx + 0x28]
mov eax, dword [edi]
push ebp
mov ecx, edi
call dword [eax + 0x28]
lea edi, [esi + 0xf8]
test edi, edi
je 0x420b2e
mov eax, dword [edi + 4]
test eax, eax
jne 0x420b82
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.00452c86
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
lea ebp, [esi + 0x118]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.00452f83
test ebp, ebp
je 0x420b6f
mov ebp, dword [ebp + 4]
mov eax, dword [esi + 0xfc]
push ebp
push eax
call fcn.0045300c
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0x60]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x2c]
lea eax, [esi + 0xe0]
test eax, eax
je 0x420b9a
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0xfc]
push eax
push ebx
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esi + 0x1c]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 3
call fcn.00452d78
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x50], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420be7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 1
mov dword [esp + 0x1c], esi
call fcn.00452fda
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0
mov dword [esp + 0x14], esi
call fcn.00452fda
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x24], esi
call fcn.00452fda
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret