Function at 0x421cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57aaa1
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], edi
call fcn.005374b9
mov eax, dword [esi + 0x18]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1bc], 0
call fcn.005379ce
lea ebx, [esi + 0x1c]
push ebx
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esp + 0x1c]
call fcn.005370d5
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], vtable.CRgn.0
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x1bc], 1
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0x30]
call fcn.00537ca0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.005374cd
lea ecx, [esp + 0x2c]
call fcn.00537cf8
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x18]
call fcn.00537ea8
test eax, eax
je 0x421d93
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CBrush.0
call fcn.00407110
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
push 1
push 0x588778
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0xa8]
push eax
mov dword [esp + 0x88], edx
mov edx, dword [edi + 0x20]
push 0x1203
push edx
mov dword [esp + 0x88], 6
mov dword [esp + 0x98], 0xff
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, byte [esp + 0x8c]
mov ecx, 0x8924
test al, 2
je 0x421e1f
mov ecx, 0x8925
jmp 0x421e28
test al, 1
je 0x421e28
mov ecx, 0x8926
mov eax, dword [esp + 0x3c]
mov edx, 1
cmp dword [esi + 0x10], edx
jne 0x421e41
add dword [esp + 0x34], edx
add dword [esp + 0x38], 2
add eax, edx
mov edx, dword [esi + 8]
cmp edx, dword [edi + 0x54]
mov edi, dword [esp + 0x14]
jne 0x421e5a
lea edx, [edi*4]
sub edx, edi
neg edx
add eax, edx
mov edx, dword [esp + 0x34]
add edx, edi
sub eax, edi
cmp edx, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
jge 0x421e89
mov edx, dword [esp + 0x20]
push ecx
lea eax, [esp + 0x38]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0xb0]
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x44]
cmp eax, dword [ecx + 0x54]
jne 0x421f76
push ebx
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 1
push 0
lea ecx, [esp + 0x20]
call fcn.00537e5f
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1bc], 2
call fcn.00537d8b
mov edx, dword [esp + 0x64]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x60]
sub eax, edi
add edx, 0xfffffff6
lea ecx, [eax - 7]
lea ebx, [edx + 4]
sub edx, ecx
mov esi, ecx
mov edi, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], 4
jmp 0x421f04
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
cmp dword [ecx + 0x58], 0
je 0x421f2a
lea eax, [edx + esi]
push eax
push esi
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x28]
call fcn.005376ee
mov eax, dword [esp + 0x48]
add eax, esi
push eax
jmp 0x421f3b
push ebx
push esi
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x28]
call fcn.005376ee
push ebx
push edi
lea ecx, [esp + 0x24]
call fcn.0053731b
inc esi
dec ebx
dec edi
sub dword [esp + 0x4c], 1
jne 0x421f00
mov edx, dword [esp + 0x50]
push edx
lea ecx, [esp + 0x20]
call fcn.00537d8b
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b8], 1
mov dword [esp + 0x14], vtable.CPen.0
call fcn.00407110
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
call fcn.00537108
lea ecx, [esp + 0x1c]
call fcn.00537a04
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b8], 0
mov dword [esp + 0x2c], vtable.CRgn.0
call fcn.00407110
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1b8], 0xffffffff
call fcn.00537a4d
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.0055953b
mov esp, ebp
pop ebp
ret 4