Function at 0x101ce98
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x103a724], esi
mov dword [ebp - 0x44], esi
jne 0x101ceb6
call fcn.0101b593
mov eax, dword [0x103a884]
push 1
cmp eax, esi
pop ebx
je 0x101ceee
cmp dword [ebp + 0x14], esi
je 0x101ceee
xor edi, edi
cmp edi, 0x64
jge 0x101cee6
push esi
inc edi
call fcn.0102a7ec
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x103a884]
cmp eax, esi
jne 0x101cec9
mov dword [0x103879c], ebx
jmp 0x101cef4
mov dword [0x103879c], esi
cmp eax, esi
jne 0x101cf55
mov eax, dword [0x103a83c]
push esi
push dword [0x103a704]
lea eax, [eax + eax*4]
shl eax, 4
push esi
push dword [eax + 0x103a3c0]
push 0x78
push 0x78
push 0xa
push 0xa
push 0x80000000
push esi
push dword [0x1037bb4]
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp dword [0x103876c], 2
mov dword [0x103a884], eax
jne 0x101cf41
mov dword [0x1038790], ebx
cmp eax, esi
jne 0x101cf55
push ebx
push 0x2330
call fcn.0102498f
jmp 0x101d4da
cmp dword [ebp + 0x14], esi
jne 0x101d008
cmp dword [0x1038788], esi
je 0x101d001
cmp dword [0x103876c], 2
jne 0x101cf95
cmp dword [0x103a720], esi
jne 0x101cf95
push esi
push 0x2710
push 0x63
mov dword [0x103a720], ebx
push dword [0x103a3c0]
call dword [sym.imp.USER32.dll_SetTimer]
push dword [0x103a884]
mov dword [0x1038788], esi
call fcn.0100cb1c
push eax
call fcn.0101870c
cmp dword [0x1038790], esi
je 0x101cfb9
call fcn.01023d3e
push dword [0x103a884]
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [0x103876c], 2
mov dword [0x103a884], esi
je 0x101d001
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c4]
call fcn.0100cc04
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c0]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, ebx
jmp 0x101d55b
cmp dword [0x103876c], 2
mov ebx, dword [ebp + 0xc]
je 0x101d031
push esi
call fcn.0101ec86
call fcn.0100cc7b
cmp ebx, esi
mov dword [0x1038798], eax
je 0x101d02d
mov edi, dword [ebx + 8]
jmp 0x101d039
mov edi, eax
jmp 0x101d039
mov dword [0x1038798], esi
xor edi, edi
cmp dword [ebp + 8], esi
jne 0x101d068
call fcn.0100cc36
cmp ebx, esi
mov dword [ebp - 0x10], eax
je 0x101d05e
cmp dword [0x103a808], esi
jne 0x101d05e
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.01011215
jmp 0x101d068
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
cmp dword [0x103a808], esi
je 0x101d0a7
push 0x103a808
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [0x103a80c]
lea ecx, [eax - 0xa]
add eax, 0xa
mov dword [ebp - 0x3c], ecx
mov ecx, dword [0x103a808]
mov dword [ebp - 0x34], eax
mov dword [0x103a808], esi
lea edx, [ecx - 0x19]
add ecx, 0x19
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], ecx
jmp 0x101d0f1
cmp dword [ebp + 8], esi
jne 0x101d0bb
cmp dword [ebp - 0x38], esi
jne 0x101d0f1
cmp dword [ebp - 0x34], esi
jne 0x101d0f1
cmp dword [ebp + 8], esi
je 0x101d0be
mov dword [ebp - 0x10], esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 4]
lea ecx, [eax - 0xa]
add eax, 0xa
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x34], eax
lea edx, [ecx - 0x19]
add ecx, 0x19
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
sar ebx, 1
cdq
sub eax, edx
mov dword [ebp - 0x4c], ebx
sar eax, 1
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
lea eax, [ebx + ecx]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 0x30]
push 2
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.010184f7
mov edi, eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x10], edi
call fcn.0100e4ec
push dword [0x103a884]
test edi, edi
jne 0x101d175
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [0x103a884], 0
jmp 0x101d4da
push edi
call fcn.01018787
push edi
push dword [0x103a884]
call fcn.0100cac6
push dword [0x103a884]
call fcn.0100cc04
cmp dword [0x103876c], 2
je 0x101d1d7
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c0]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
mov edi, dword [eax + 0x103a3c0]
lea eax, [ebp - 0x5c]
push eax
push edi
call esi
lea eax, [ebp - 0x54]
push eax
push edi
call esi
jmp 0x101d1ef
push 0xf0
push 0x140
push 0
lea eax, [ebp - 0x5c]
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 2
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
mov dword [ebp - 0x88], 0x28
je 0x101d233
lea ecx, [ebp - 0x88]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
test eax, eax
je 0x101d233
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x68]
sub edx, esi
sub edi, dword [ebp - 0x70]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edi
jmp 0x101d257
mov eax, dword [0x103a724]
mov ecx, dword [0x103a760]
and dword [ebp - 0x70], 0
mov edx, eax
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
lea ecx, [edx - 0x1e]
sub eax, dword [ebp - 0x5c]
add eax, 0xf
cmp eax, ecx
mov dword [ebp + 0xc], eax
jl 0x101d26d
mov dword [ebp + 0xc], ecx
mov eax, 0xfa
cmp dword [ebp + 0xc], eax
jg 0x101d27a
mov dword [ebp + 0xc], eax
lea eax, [edi - 4]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
sub ecx, edi
add ecx, dword [ebp - 0x70]
lea edx, [ebx + eax]
cmp ecx, edx
jge 0x101d2a8
sub edi, eax
mov eax, dword [ebp - 0x70]
sub edi, ebx
add eax, 2
cmp edi, eax
jle 0x101d2c0
mov dword [ebp - 4], edi
jmp 0x101d2c3
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [ebp - 0x70]
lea eax, [ecx + eax - 2]
lea ecx, [edi + ebx]
cmp ecx, eax
jge 0x101d2c0
mov dword [ebp - 4], ecx
jmp 0x101d2c3
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, edi
sub ecx, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x60], eax
cmp eax, ecx
mov eax, dword [ebp + 0xc]
cdq
jge 0x101d2f7
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 8]
sar ecx, 1
sub eax, ecx
mov ecx, edi
sub ecx, dword [ebp + 0xc]
lea esi, [ecx + esi - 2]
cmp eax, esi
jge 0x101d30e
jmp 0x101d309
sub eax, edx
add esi, 2
mov ecx, eax
mov eax, dword [ebp - 8]
sar ecx, 1
sub eax, ecx
cmp eax, esi
jle 0x101d30e
mov dword [ebp - 8], eax
jmp 0x101d311
mov dword [ebp - 8], esi
push 4
xor esi, esi
push dword [ebp - 0xc]
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
push esi
push dword [0x103a884]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x28]
push eax
push dword [0x103a884]
call dword [sym.imp.USER32.dll_GetClientRect]
add dword [ebp - 0x24], 3
add dword [ebp - 0x28], 3
sub dword [ebp - 0x20], 8
sub dword [ebp - 0x1c], 8
lea eax, [ebp - 0x28]
push esi
push eax
push dword [ebp - 0x10]
call fcn.010187ce
lea eax, [ebp + 0x10]
push eax
movzx eax, word [ebp + 0x14]
push eax
push dword [0x103a884]
call fcn.01021a60
test eax, eax
je 0x101d4c9
push dword [ebp - 0x10]
call fcn.01010966
add eax, 6
lea ecx, [edi - 0x1e]
add eax, 0xa
add edx, 6
cmp eax, ecx
mov dword [ebp + 0xc], eax
jl 0x101d395
mov dword [ebp + 0xc], ecx
mov eax, 0xfa
cmp dword [ebp + 0xc], eax
jg 0x101d3a2
mov dword [ebp + 0xc], eax
lea ecx, [edx + 0xa]
mov edx, dword [ebp - 0x18]
lea eax, [edx - 4]
cmp ecx, eax
mov dword [ebp - 0x48], eax
jl 0x101d3b4
mov ecx, eax
mov eax, dword [ebp - 0x2c]
mov esi, edx
mov edx, dword [ebp - 0x70]
sub esi, eax
add esi, edx
lea edi, [ebx + ecx]
cmp esi, edi
mov dword [ebp - 4], eax
jge 0x101d3d7
sub eax, ecx
add edx, 2
sub eax, ebx
cmp eax, edx
jle 0x101d3ea
jmp 0x101d3e6
mov esi, dword [ebp - 0x18]
add eax, ebx
sub esi, ecx
lea edx, [esi + edx - 2]
cmp eax, edx
jge 0x101d3ea
mov edi, eax
jmp 0x101d3ec
mov edi, edx
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x74]
sub eax, esi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
cdq
jge 0x101d420
sub eax, edx
mov edx, dword [ebp - 0x30]
sar eax, 1
mov dword [ebp - 0xc], edx
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
lea eax, [eax + esi - 2]
cmp edx, eax
jge 0x101d435
jmp 0x101d430
sub eax, edx
mov edx, dword [ebp - 0x30]
sar eax, 1
sub edx, eax
lea eax, [esi + 2]
cmp edx, eax
jle 0x101d435
mov dword [ebp - 8], edx
jmp 0x101d438
mov dword [ebp - 8], eax
cmp dword [ebp - 0x44], 0
jne 0x101d4de
mov eax, ecx
shl eax, 3
cmp eax, dword [ebp + 0xc]
jge 0x101d46e
mov ecx, dword [ebp - 0x48]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
cmp eax, ecx
mov dword [ebp - 0xc], eax
jl 0x101d462
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x44], 1
jmp 0x101d283
cmp ecx, dword [ebp + 0xc]
jle 0x101d4de
mov eax, dword [ebp - 0x14]
push 3
cdq
pop ebx
idiv ebx
mov edx, dword [ebp + 0xc]
shl eax, 1
cmp edx, eax
jge 0x101d4de
mov ebx, ecx
cmp edx, eax
jge 0x101d498
sub ecx, 0x32
add edx, 0x32
cmp ecx, edx
mov dword [ebp + 0xc], edx
jg 0x101d487
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], ebx
add eax, esi
lea ebx, [ecx + edx]
cmp ebx, eax
jl 0x101d4ba
mov eax, dword [ebp - 0x14]
sub eax, edx
lea eax, [eax + esi - 1]
cmp ecx, eax
jle 0x101d4ba
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x44], 1
jmp 0x101d283
push 1
pop eax
push esi
push eax
push esi
push esi
mov dword [0x1038788], eax
call fcn.0101ce98
xor eax, eax
jmp 0x101d55b
push 4
push ecx
push dword [ebp + 0xc]
push edi
push dword [ebp - 8]
push 0
push dword [0x103a884]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x28]
push eax
push dword [0x103a884]
call dword [sym.imp.USER32.dll_GetClientRect]
add dword [ebp - 0x24], 3
add dword [ebp - 0x28], 3
sub dword [ebp - 0x20], 8
sub dword [ebp - 0x1c], 8
lea eax, [ebp - 0x28]
push 0
push eax
push dword [ebp - 0x10]
call fcn.010187ce
push 1
pop esi
push dword [0x103a884]
mov dword [0x1038788], esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [0x103a884]
call dword [sym.imp.USER32.dll_SetFocus]
push 5
push dword [0x103a884]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.0101d994
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10