Function at 0x10006cd9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001512b
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x1001a1b8]
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 0x10007200
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 [0x1001b174]
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 [0x1001b178]
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 0x100071f4
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 0x1000708c
cmp dword [ebp - 0x84], 0x3b
jle 0x100070a0
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 0x10007161
cmp dword [ebp - 0x8c], 0
je 0x1000719d
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.10008697
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.10009e48
leave
ret 0x10