Function at 0x4042e0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x41a178]
xor eax, ebp
mov dword [ebp - 0x94], eax
mov eax, dword [0x41b19c]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x40430d
xor eax, eax
jmp 0x405b22
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
cmp dword [edx + 0xf8], 0
je 0x404322
jmp 0x40430d
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov dword [ecx + 0xf8], 1
cmp dword [ebp + 0x10], 0
jne 0x404352
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ValidateRect]
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
cmp dword [eax], 0
jne 0x404368
xor eax, eax
jmp 0x405b22
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0x14
jne 0x4043bd
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 1
jne 0x4043bd
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov dword [edx + 0x28], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x28]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4043e7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov dword [edx + 0xf8], 0
xor eax, eax
jmp 0x405b22
cmp dword [ebp + 0x10], 0
je 0x4043f5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
jmp 0x40440c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40442d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov dword [edx + 0xf8], 0
xor eax, eax
jmp 0x405b22
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00404290
test eax, eax
je 0x405aa2
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x42c]
sub ecx, 0xd
mov dword [ebp - 0x42c], ecx
cmp dword [ebp - 0x42c], 0x19
ja case.0x40447f.1
mov edx, dword [ebp - 0x42c]
movzx eax, byte [edx + 0x405b64]
jmp dword [eax*4 + 0x405b38]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x50], 0
jne 0x4044d0
cmp dword [ebp - 0x4c], 0
jne 0x4044d0
cmp dword [ebp - 0x48], 0
jne 0x4044d0
cmp dword [ebp - 0x44], 0
jne 0x4044d0
jmp case.0x40447f.1
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ecx + 4]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00405b80
mov dword [ebp - 0x90], 0
push 0
lea ecx, [ebp - 0x1a0]
push ecx
push 0x104
push 0
mov edx, dword [ebp - 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0
je 0x40452a
mov dword [ebp - 0x90], 1
cmp dword [ebp - 0x90], 0
jne 0x4045be
push 0x4205c0
lea eax, [ebp - 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.0040c700
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x40456d
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov byte [eax], 0
jmp 0x404574
mov byte [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1a0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea edx, [ebp - 0x1a0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xffffffff
je 0x4045be
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x90], 1
cmp dword [ebp - 0x90], 0
je 0x4046e6
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x1a0]
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x4046e6
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x4046d9
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x64], eax
lea edx, [ebp - 0x7c]
push edx
push 0x18
mov eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4046b8
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x88], 4
jne 0x404672
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SetBrushOrgEx]
push 0xcc0020
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x78]
push edx
push 0
push 0
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
cmp dword [ebp - 0x64], 0
je 0x4046cc
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0x8c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40447f.1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1a8], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1b8], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1ac], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov eax, dword [ebp - 0x23c]
cmp dword [edx + eax*4 + 0xb4], 0
jne 0x404749
jmp case.0x40447f.1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov eax, dword [ebp - 0x23c]
mov ecx, dword [edx + eax*4 + 0x34]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40476d
jmp case.0x40447f.1
mov dword [ebp - 0x1e8], 0x2c
lea edx, [ebp - 0x1e8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ebp - 0x23c]
mov eax, dword [ecx + edx*4 + 0x34]
push eax
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test eax, eax
je 0x404853
mov ecx, dword [ebp - 0x1a8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x1b8]
push edx
call fcn.00405b80
mov eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0x1cc]
jne 0x4047fa
mov ecx, dword [ebp - 0x1b4]
cmp ecx, dword [ebp - 0x1c8]
jne 0x4047fa
mov edx, dword [ebp - 0x1b0]
cmp edx, dword [ebp - 0x1c4]
jne 0x4047fa
mov eax, dword [ebp - 0x1ac]
cmp eax, dword [ebp - 0x1c0]
je 0x404853
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1cc], ecx
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1c0], ecx
lea edx, [ebp - 0x1e8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ebp - 0x23c]
mov eax, dword [ecx + edx*4 + 0x34]
push eax
call dword [sym.imp.USER32.dll_SetWindowPlacement]
mov dword [ebp - 0x3c], 1
push 0x50
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [ebp - 0x23c]
mov edx, dword [eax + ecx*4 + 0x34]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4048b1
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ebp - 0x23c]
mov eax, dword [ecx + edx*4 + 0x34]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov eax, dword [ebp - 0x23c]
mov ecx, dword [edx + eax*4 + 0x34]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [ebp - 0x23c]
mov edx, dword [eax + ecx*4 + 0x34]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ebp - 0x23c]
mov eax, dword [ecx + edx*4 + 0x34]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp case.0x40447f.1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x20], eax
jmp case.0x40447f.1
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x26c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x254], 0
jne 0x404981
cmp dword [ebp - 0x250], 0
jne 0x404981
cmp dword [ebp - 0x24c], 0
jne 0x404981
cmp dword [ebp - 0x248], 0
jne 0x404981
jmp case.0x40447f.1
mov ecx, dword [ebp - 0x274]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x254]
push edx
call fcn.00405b80
cmp dword [ebp - 0x26c], 1
je 0x4049b4
cmp dword [ebp - 0x26c], 2
jne 0x4049ef
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
cmp dword [ecx + 0x20], 0
je 0x4049ef
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x258], edx
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x270], eax
jmp 0x4049f9
mov dword [ebp - 0x270], 0
cmp dword [ebp - 0x26c], 2
jne 0x404a1e
mov ecx, dword [ebp - 0x258]
push ecx
push 0
push 7
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp - 0x284], eax
jmp 0x404b13
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
cmp dword [eax + 0x2c], 0
je 0x404b09
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x244], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x240], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x240], 0
je 0x404aac
lea ecx, [ebp - 0x268]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [ebp - 0x268]
push edx
call fcn.00405cb0
mov dword [ebp - 0x280], eax
jmp 0x404ab9
push 0
call fcn.00405cb0
mov dword [ebp - 0x280], eax
push 0x3e8
mov eax, dword [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 1
jge 0x404aeb
mov dword [ebp - 0x244], 1
mov edx, dword [ebp - 0x278]
push edx
mov eax, dword [ebp - 0x244]
push eax
push 6
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp - 0x284], eax
jmp 0x404b13
mov dword [ebp - 0x284], 0
cmp dword [ebp - 0x270], 0
je 0x404b35
mov ecx, dword [ebp - 0x270]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x27c], eax
jmp 0x404b63
cmp dword [ebp - 0x26c], 3
jne 0x404b59
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x27c], eax
jmp 0x404b63
mov dword [ebp - 0x27c], 0
cmp dword [ebp - 0x284], 0
je 0x404b85
mov ecx, dword [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x288], eax
jmp 0x404b8f
mov dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x250]
push edx
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_Ellipse]
cmp dword [ebp - 0x27c], 0
je 0x404bcf
mov edx, dword [ebp - 0x27c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x288], 0
je 0x404be9
mov ecx, dword [ebp - 0x288]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x270], 0
je 0x404bff
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x284], 0
je 0x404c15
mov ecx, dword [ebp - 0x284]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40447f.1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2b4], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x29c], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x298], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x2a0], 0
jne 0x404c70
cmp dword [ebp - 0x29c], 0
jne 0x404c70
cmp dword [ebp - 0x298], 0
jne 0x404c70
cmp dword [ebp - 0x294], 0
jne 0x404c70
jmp case.0x40447f.1
mov ecx, dword [ebp - 0x2b4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x2a0]
push edx
call fcn.00405b80
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
cmp dword [ecx + 0x2c], 0
je 0x404d7c
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x290], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x2b8], ecx
cmp dword [ebp - 0x28c], 0
je 0x404d1f
lea edx, [ebp - 0x2b0]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x2b0]
push eax
call fcn.00405cb0
mov dword [ebp - 0x2bc], eax
jmp 0x404d2c
push 0
call fcn.00405cb0
mov dword [ebp - 0x2bc], eax
push 0x3e8
mov ecx, dword [ebp - 0x2bc]
push ecx
mov edx, dword [ebp - 0x290]
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 1
jge 0x404d5e
mov dword [ebp - 0x290], 1
mov eax, dword [ebp - 0x2b8]
push eax
mov ecx, dword [ebp - 0x290]
push ecx
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp - 0x2c0], eax
jmp 0x404d86
mov dword [ebp - 0x2c0], 0
cmp dword [ebp - 0x2c0], 0
je 0x404da6
mov edx, dword [ebp - 0x2c0]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x2c4], eax
push 0
mov ecx, dword [ebp - 0x29c]
push ecx
mov edx, dword [ebp - 0x2a0]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [ebp - 0x294]
push ecx
mov edx, dword [ebp - 0x298]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_LineTo]
cmp dword [ebp - 0x2c0], 0
je 0x404dff
mov ecx, dword [ebp - 0x2c4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x2c0]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40447f.1
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2f8], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x300], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2dc], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2d8], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2e0], 0
jne 0x404e63
cmp dword [ebp - 0x2dc], 0
jne 0x404e63
cmp dword [ebp - 0x2d8], 0
jne 0x404e63
cmp dword [ebp - 0x2d4], 0
jne 0x404e63
jmp case.0x40447f.1
mov ecx, dword [ebp - 0x300]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x2e0]
push edx
call fcn.00405b80
cmp dword [ebp - 0x2f8], 2
je 0x4050a2
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
cmp dword [ecx + 0x2c], 0
je 0x404f60
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2cc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x304], ecx
cmp dword [ebp - 0x2c8], 0
je 0x404f1f
lea edx, [ebp - 0x2f4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x2f4]
push eax
call fcn.00405cb0
mov dword [ebp - 0x30c], eax
jmp 0x404f2c
push 0
call fcn.00405cb0
mov dword [ebp - 0x30c], eax
push 0x3e8
mov ecx, dword [ebp - 0x30c]
push ecx
mov edx, dword [ebp - 0x2cc]
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 1
jge 0x404f5e
mov dword [ebp - 0x2cc], 1
jmp 0x404f74
mov dword [ebp - 0x2cc], 1
mov dword [ebp - 0x304], 0
cmp dword [ebp - 0x2f8], 3
jne 0x404f98
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x308], eax
jmp 0x404fa2
mov dword [ebp - 0x308], 0
mov ecx, dword [ebp - 0x304]
push ecx
mov edx, dword [ebp - 0x2cc]
push edx
push 6
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp - 0x310], eax
cmp dword [ebp - 0x310], 0
je 0x404fe0
mov eax, dword [ebp - 0x310]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x318], eax
jmp 0x404fea
mov dword [ebp - 0x318], 0
mov edx, dword [ebp - 0x2d4]
push edx
mov eax, dword [ebp - 0x2d8]
push eax
mov ecx, dword [ebp - 0x2dc]
push ecx
mov edx, dword [ebp - 0x2e0]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
cmp dword [ebp - 0x308], 0
je 0x40502a
mov ecx, dword [ebp - 0x308]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x318], 0
je 0x405044
mov eax, dword [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x310], 0
je 0x40505a
mov edx, dword [ebp - 0x310]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x2e0]
add eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2dc]
add ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2dc], ecx
mov edx, dword [ebp - 0x2d8]
sub edx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d8], edx
mov eax, dword [ebp - 0x2d4]
sub eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2f8], 1
je 0x4050b8
cmp dword [ebp - 0x2f8], 2
jne 0x405193
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
cmp dword [edx + 0x20], 0
je 0x4050f6
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ecx + 0x20]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x2e4], ecx
jmp 0x40510e
mov dword [ebp - 0x2d0], 0
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x2e4], eax
mov edx, dword [ebp - 0x2e4]
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2d0], 0
je 0x405149
mov eax, dword [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x2e0]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00405d20
mov dword [ebp - 0x314], eax
jmp 0x405153
mov dword [ebp - 0x314], 0
cmp dword [ebp - 0x314], 0
jne 0x40517d
cmp dword [ebp - 0x2fc], 0
je 0x40517d
mov eax, dword [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x2e0]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [ebp - 0x2fc], 0
je 0x405193
mov eax, dword [ebp - 0x2fc]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40447f.1
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x3a0], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x330], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x398], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x32c], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x328], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x320], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x3d0], edx
mov eax, dword [ebp - 0x398]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x32c]
push ecx
call fcn.00405b80
mov edx, dword [ebp - 0x3d0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x330]
and eax, 4
je 0x40523a
mov ecx, dword [ebp - 0x330]
and ecx, 0xfffffffb
mov dword [ebp - 0x330], ecx
mov dword [ebp - 0x3a8], 1
jmp 0x405244
mov dword [ebp - 0x3a8], 0
mov edx, dword [ebp - 0x330]
and edx, 0x20
je 0x40526a
mov eax, dword [ebp - 0x330]
and eax, 0xffffffdf
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x3b8], 1
jmp 0x405274
mov dword [ebp - 0x3b8], 0
mov ecx, dword [ebp - 0x330]
and ecx, 0x40
je 0x40529a
mov edx, dword [ebp - 0x330]
and edx, 0xffffffbf
mov dword [ebp - 0x330], edx
mov dword [ebp - 0x38c], 1
jmp 0x4052a4
mov dword [ebp - 0x38c], 0
mov eax, dword [ebp - 0x330]
and eax, 0x80
je 0x4052c5
mov ecx, dword [ebp - 0x330]
and ecx, 0xffffff7f
mov dword [ebp - 0x330], ecx
jmp 0x4052d7
mov edx, dword [ebp - 0x330]
or edx, 0x100
mov dword [ebp - 0x330], edx
mov eax, dword [ebp - 0x330]
and eax, 8
je 0x4052f1
mov ecx, dword [ebp - 0x330]
or ecx, 0x20
mov dword [ebp - 0x330], ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [ebp - 0x3cc], eax
cmp dword [ebp - 0x3a0], 0
je 0x4053d9
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
cmp dword [ecx + 0x20], 0
je 0x40534e
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3dc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ecx + 0x20]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x3e0], eax
jmp 0x405366
mov dword [ebp - 0x3dc], 0
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x3e0], eax
mov ecx, dword [ebp - 0x3e0]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x3e8], eax
cmp dword [ebp - 0x3dc], 0
je 0x4053a1
mov edx, dword [ebp - 0x3dc]
push edx
lea eax, [ebp - 0x32c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00405d20
mov dword [ebp - 0x3e4], eax
jmp 0x4053ab
mov dword [ebp - 0x3e4], 0
cmp dword [ebp - 0x3e4], 0
jne 0x4053cc
mov edx, dword [ebp - 0x3e8]
push edx
lea eax, [ebp - 0x32c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [ebp - 0x3e8]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x3d0]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x4053fc
mov edx, dword [ebp - 0x3cc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
jmp case.0x40447f.1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
cmp dword [edx + 0x24], 0
je 0x405424
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ecx + 0x24]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x3ac], eax
jmp 0x405430
mov ecx, dword [0x420b20]
mov dword [ebp - 0x3ac], ecx
mov edx, dword [ebp - 0x3ac]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 0x3d8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
cmp dword [edx + 0x28], 0
je 0x40563d
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ecx + 0x28]
mov eax, dword [edx + 4]
mov dword [ebp - 0x394], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x390], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x3bc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ecx + 0x28]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x3b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x420ae0]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x3a4], ecx
push 0x3c
lea edx, [ebp - 0x388]
push edx
call fcn.00406060
push 0x20
mov eax, dword [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x36c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [ebp - 0x348]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebp - 0x3bc], 0
je 0x405525
mov eax, dword [ebp - 0x33c]
sub eax, dword [ebp - 0x344]
mov dword [ebp - 0x39c], eax
jmp 0x405533
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x39c], eax
push 0x3e8
mov ecx, dword [ebp - 0x39c]
push ecx
mov edx, dword [ebp - 0x394]
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x324]
sub eax, dword [ebp - 0x32c]
mov dword [ebp - 0x3c4], eax
cmp dword [ebp - 0x3b8], 0
je 0x405584
mov eax, dword [ebp - 0x3c4]
cdq
idiv dword [ebp - 0x31c]
neg eax
mov dword [ebp - 0x384], eax
cmp dword [ebp - 0x390], 0x3e8
jb 0x4055a9
mov ecx, dword [ebp - 0x390]
sub ecx, 0x3e8
mov dword [ebp - 0x390], ecx
mov byte [ebp - 0x373], 1
cmp dword [ebp - 0x390], 0x64
jb 0x4055c8
mov edx, dword [ebp - 0x390]
sub edx, 0x64
mov dword [ebp - 0x390], edx
mov byte [ebp - 0x374], 1
cmp dword [ebp - 0x390], 0x64
jae 0x4055e2
mov eax, dword [ebp - 0x390]
imul eax, eax, 0xa
mov dword [ebp - 0x378], eax
jmp 0x4055f0
mov byte [ebp - 0x374], 0
mov byte [ebp - 0x373], 0
mov ecx, dword [ebp - 0x3b4]
and ecx, 0xffff
movzx edx, cx
and edx, 0xff
mov byte [ebp - 0x36d], dl
mov eax, dword [ebp - 0x3b4]
and eax, 0xffff
movzx ecx, ax
shr ecx, 8
and ecx, 0xff
mov byte [ebp - 0x371], cl
lea edx, [ebp - 0x388]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [ebp - 0x34c], eax
jmp 0x405647
mov dword [ebp - 0x34c], 0
cmp dword [ebp - 0x34c], 0
je 0x405667
mov eax, dword [ebp - 0x34c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3d4], eax
cmp dword [ebp - 0x3a8], 0
je 0x40572c
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x348], edx
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x344], eax
mov ecx, dword [ebp - 0x324]
mov dword [ebp - 0x340], ecx
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x33c], edx
mov eax, dword [ebp - 0x320]
sub eax, dword [ebp - 0x328]
mov dword [ebp - 0x39c], eax
mov ecx, dword [ebp - 0x330]
or ecx, 0xc40
push ecx
lea edx, [ebp - 0x348]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x3d0]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_DrawTextA]
mov dword [ebp - 0x3b0], eax
mov edx, dword [ebp - 0x39c]
cmp edx, dword [ebp - 0x3b0]
jle 0x40572c
mov eax, dword [ebp - 0x39c]
sub eax, dword [ebp - 0x3b0]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x328]
add eax, dword [ebp - 0x3c0]
mov dword [ebp - 0x328], eax
mov ecx, dword [ebp - 0x320]
sub ecx, dword [ebp - 0x3c0]
mov dword [ebp - 0x320], ecx
cmp dword [ebp - 0x3b8], 0
je 0x40590c
cmp dword [ebp - 0x34c], 0
je 0x40590c
mov dword [ebp - 0x3c8], 0
mov edx, 1
test edx, edx
je 0x405829
lea eax, [ebp - 0x338]
push eax
mov ecx, dword [ebp - 0x31c]
push ecx
mov edx, dword [ebp - 0x3d0]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
test eax, eax
je 0x405822
mov ecx, dword [ebp - 0x338]
cmp ecx, dword [ebp - 0x3c8]
jne 0x405797
jmp 0x405829
mov edx, dword [ebp - 0x338]
mov dword [ebp - 0x3c8], edx
mov eax, dword [ebp - 0x338]
cmp eax, dword [ebp - 0x3c4]
jge 0x40581e
cmp dword [ebp - 0x338], 0
jle 0x40581e
mov ecx, dword [ebp - 0x3d4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x34c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x384]
sub ecx, 1
mov dword [ebp - 0x384], ecx
lea edx, [ebp - 0x388]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], 0
jne 0x405805
jmp 0x405829
mov eax, dword [ebp - 0x34c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3d4], eax
jmp 0x405820
jmp 0x405829
jmp 0x405824
jmp 0x405829
jmp 0x405750
mov dword [ebp - 0x3c8], 0
mov edx, 1
test edx, edx
je 0x40590c
lea eax, [ebp - 0x338]
push eax
mov ecx, dword [ebp - 0x31c]
push ecx
mov edx, dword [ebp - 0x3d0]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
test eax, eax
je 0x405905
mov ecx, dword [ebp - 0x338]
cmp ecx, dword [ebp - 0x3c8]
jne 0x40587a
jmp 0x40590c
mov edx, dword [ebp - 0x338]
mov dword [ebp - 0x3c8], edx
mov eax, dword [ebp - 0x338]
cmp eax, dword [ebp - 0x3c4]
jle 0x405901
cmp dword [ebp - 0x338], 0
jle 0x405901
mov ecx, dword [ebp - 0x3d4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x34c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x384]
add ecx, 1
mov dword [ebp - 0x384], ecx
lea edx, [ebp - 0x388]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], 0
jne 0x4058e8
jmp 0x40590c
mov eax, dword [ebp - 0x34c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3d4], eax
jmp 0x405903
jmp 0x40590c
jmp 0x405907
jmp 0x40590c
jmp 0x405833
cmp dword [ebp - 0x38c], 0
je 0x4059e9
lea edx, [ebp - 0x338]
push edx
mov eax, dword [ebp - 0x31c]
push eax
mov ecx, dword [ebp - 0x3d0]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
test eax, eax
je 0x4059e9
mov eax, dword [ebp - 0x338]
cmp eax, dword [ebp - 0x3c4]
jge 0x4059e9
cmp dword [ebp - 0x338], 0
jle 0x4059e9
lea ecx, [ebp - 0x424]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3ec], eax
mov dword [ebp - 0x428], 0
mov ecx, dword [ebp - 0x3ec]
movsx edx, byte [ecx]
test edx, edx
je 0x4059cb
mov eax, dword [ebp - 0x3ec]
movsx ecx, byte [eax]
movsx edx, byte [ebp - 0x3f5]
cmp ecx, edx
jne 0x4059b6
mov eax, dword [ebp - 0x428]
add eax, 1
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 0x3ec]
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x3ec], eax
jmp 0x405986
mov edx, dword [ebp - 0x428]
push edx
mov eax, dword [ebp - 0x3c4]
sub eax, dword [ebp - 0x338]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_SetTextJustification]
mov edx, dword [ebp - 0x330]
or edx, 0x840
push edx
lea eax, [ebp - 0x32c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x3d0]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SetTextJustification]
mov ecx, dword [ebp - 0x3cc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebp - 0x3d8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebp - 0x34c], 0
je 0x405a67
mov edx, dword [ebp - 0x3d4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x34c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40447f.1
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x2c], ecx
jmp case.0x40447f.1
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x24], ecx
jmp case.0x40447f.1
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x28], ecx
jmp 0x404434
cmp dword [ebp + 0x10], 0
jne 0x405adc
cmp dword [ebp - 0x3c], 0
jne 0x405ac4
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ValidateRect]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax*4 + 0x420ae0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [0x41b19c]
jne 0x405af9
mov ecx, dword [ebp + 8]
push ecx
call fcn.004060a0
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x420ae0]
mov dword [eax + 0xf8], 0
mov eax, 1
mov ecx, dword [ebp - 0x94]
xor ecx, ebp
call fcn.0040f735
mov esp, ebp
pop ebp
ret 0xc