Function at 0x10014688
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a5cf
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x1002005c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x110], ecx
push 0x3ec
mov eax, dword [ebp - 0x110]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x10014baf
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xb0], eax
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0xb0]
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x6c], eax
and dword [ebp - 4], 0
push 0x3ea
mov eax, dword [ebp - 0x110]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xb8], eax
push 2
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xb8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 6
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_FillRect]
push 0x3ec
mov eax, dword [ebp - 0x110]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x9c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xc0], eax
push 2
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc0]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
push 0
push 0x31
push 0x3ec
mov eax, dword [ebp - 0x110]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xc4]
push dword [ebp - 0x6c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x70], eax
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0xc8], eax
push dword [ebp - 0xc8]
push dword [ebp - 0x6c]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xcc]
push dword [ebp - 0x6c]
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [0x10021de4]
mov dword [ebp - 0xd0], eax
push 0x810
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0xd0]
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x3ee
mov eax, dword [ebp - 0x110]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xa0]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xd8], eax
push 2
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xd8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
push 0
push 0x31
push 0x3ee
mov eax, dword [ebp - 0x110]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov dword [ebp - 0xdc], eax
push dword [ebp - 0xdc]
push dword [ebp - 0x6c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x70], eax
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0xe0], eax
push dword [ebp - 0xe0]
push dword [ebp - 0x6c]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0xe4], eax
push dword [ebp - 0xe4]
push dword [ebp - 0x6c]
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [0x10021de8]
mov dword [ebp - 0xe8], eax
push 0x810
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0xe8]
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x110]
cmp dword [eax + 0x74], 0
je 0x10014ba3
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xec], eax
push 0x58
push dword [ebp - 0xec]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xf0], eax
push 0x5a
push dword [ebp - 0xf0]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x74]
mov ecx, dword [ebp - 0x110]
mov ecx, dword [ecx + 0x74]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x74]
mov ecx, dword [ebp - 0x110]
mov ecx, dword [ecx + 0x74]
mov eax, dword [eax]
push ecx
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x90]
imul eax, dword [ebp - 0x80]
add eax, 0x4f6
cdq
mov ecx, 0x9ec
idiv ecx
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x78]
imul eax, dword [ebp - 0x7c]
add eax, 0x4f6
cdq
mov ecx, 0x9ec
idiv ecx
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x88], 0x3b
jg 0x10014a3b
cmp dword [ebp - 0x84], 0x3b
jle 0x10014a4f
mov dword [ebp - 0x88], 0x37
mov dword [ebp - 0x84], 0x37
push 0x401
mov eax, dword [ebp - 0x110]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa4], eax
push 0
push dword [ebp - 0xa4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x401
mov eax, dword [ebp - 0x110]
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xfc], eax
push 2
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xfc]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x88]
sub ecx, eax
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x84]
sub ecx, eax
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x74], 0
jne 0x10014b10
cmp dword [ebp - 0x8c], 0
je 0x10014b4c
mov eax, dword [ebp - 0x74]
cdq
sub eax, edx
sar eax, 1
inc eax
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x8c]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x7c]
neg eax
push eax
push dword [ebp - 0x80]
push dword [ebp - 0x7c]
push 0
push dword [ebp - 0x100]
push dword [ebp - 0x104]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x6c]
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x74]
mov ecx, dword [ebp - 0x110]
mov ecx, dword [ecx + 0x74]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.1000386d
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.10009868
leave
ret 0x10