Function at 0x101c874
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x84
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x1039330], edi
mov dword [ebp + 0x24], edi
jne 0x101c894
call fcn.0101a1f6
xor ebx, ebx
inc ebx
cmp dword [0x1039560], edi
je 0x101c8ca
cmp dword [ebp + 0x7c], edi
je 0x101c8ca
xor esi, esi
cmp esi, 0x64
jge 0x101c8c2
push edi
inc esi
call fcn.010295ea
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1039560], edi
jne 0x101c8a6
mov dword [0x1037774], ebx
jmp 0x101c8d0
mov dword [0x1037774], edi
cmp dword [0x1039560], edi
jne 0x101c935
mov eax, dword [0x1039478]
push edi
push dword [0x10394c8]
lea eax, [eax + eax*4]
push edi
shl eax, 4
push dword [eax + 0x1039580]
push 0x78
push 0x78
push 0xa
push 0xa
push 0x80000000
push edi
push dword [0x1036b9c]
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp dword [0x1037748], 2
mov dword [0x1039560], eax
jne 0x101c921
mov dword [0x1037778], ebx
cmp eax, edi
jne 0x101c935
push ebx
push 0x2330
call fcn.01024353
jmp 0x101ced0
cmp dword [ebp + 0x7c], edi
jne 0x101c9e8
cmp dword [0x103776c], edi
je 0x101c9e1
cmp dword [0x1037748], 2
jne 0x101c975
cmp dword [0x1039540], edi
jne 0x101c975
push edi
push 0x2710
push 0x63
push dword [0x1039580]
mov dword [0x1039540], ebx
call dword [sym.imp.USER32.dll_SetTimer]
push dword [0x1039560]
mov dword [0x103776c], edi
call fcn.0100c60f
push eax
call fcn.010181f4
cmp dword [0x1037778], edi
je 0x101c999
call fcn.010216da
push dword [0x1039560]
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [0x1037748], 2
mov dword [0x1039560], edi
je 0x101c9e1
mov eax, dword [0x1039478]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x1039584]
call fcn.0100c6e8
mov eax, dword [0x1039478]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x1039580]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, ebx
jmp 0x101cf53
cmp dword [0x1037748], 2
mov ebx, dword [ebp + 0x74]
je 0x101ca11
push edi
call fcn.0101dc0e
call fcn.0100c756
cmp ebx, edi
mov dword [0x1037768], eax
je 0x101ca0d
mov esi, dword [ebx + 8]
jmp 0x101ca19
mov esi, eax
jmp 0x101ca19
mov dword [0x1037768], edi
xor esi, esi
cmp dword [ebp + 0x70], edi
jne 0x101ca48
call fcn.0100c715
cmp ebx, edi
mov dword [ebp + 0x50], eax
je 0x101ca3e
cmp dword [0x1039358], edi
jne 0x101ca3e
lea eax, [ebp + 0x28]
push eax
push ebx
call fcn.01010cb5
jmp 0x101ca48
lea eax, [ebp + 0x28]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
cmp dword [0x1039358], edi
je 0x101ca75
push 0x1039358
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [0x103935c]
lea ecx, [eax - 0xa]
mov dword [ebp + 0x2c], ecx
mov ecx, dword [0x1039358]
mov dword [0x1039358], edi
jmp 0x101caaa
cmp dword [ebp + 0x70], edi
jne 0x101ca86
cmp dword [ebp + 0x30], edi
jne 0x101cabc
cmp dword [ebp + 0x34], edi
jne 0x101cabc
jmp 0x101ca89
mov dword [ebp + 0x50], edi
lea eax, [ebp + 0x60]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp + 0x60]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp + 0x64]
lea ecx, [eax - 0xa]
mov dword [ebp + 0x2c], ecx
mov ecx, dword [ebp + 0x60]
lea edx, [ecx - 0x19]
add eax, 0xa
add ecx, 0x19
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x30], ecx
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x34]
sub eax, ecx
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [ebp + 0x30]
sub eax, dword [ebp + 0x28]
sar ebx, 1
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp + 0x28]
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x38], eax
lea eax, [ebx + ecx]
mov dword [ebp + 0x3c], eax
lea eax, [ebp + 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x70]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp + 0x50]
push 2
push eax
lea eax, [ebp + 0x70]
push eax
call fcn.01018491
mov esi, eax
lea eax, [ebp + 0x70]
push eax
mov dword [ebp + 0x50], esi
call fcn.0100d754
cmp esi, edi
push dword [0x1039560]
jne 0x101cb3d
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x1039560], edi
jmp 0x101ced0
push esi
call fcn.0101826e
push esi
push dword [0x1039560]
call fcn.0100c5be
push dword [0x1039560]
call fcn.0100c6e8
cmp dword [0x1037748], 2
lea eax, [ebp + 0xc]
je 0x101cb9a
push eax
mov eax, dword [0x1039478]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x1039580]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [0x1039478]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x1039580]
call fcn.0101c2b9
jmp 0x101cbad
push 0xf0
push 0x140
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 2
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
cmp eax, edi
mov dword [ebp - 0x1c], 0x28
je 0x101cbed
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
test eax, eax
je 0x101cbed
mov edx, dword [ebp]
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 4]
mov edi, dword [ebp - 4]
sub edx, esi
sub eax, edi
mov dword [ebp + 0x58], edx
mov dword [ebp + 0x54], eax
jmp 0x101cc10
mov eax, dword [0x1039330]
mov ecx, dword [0x103932c]
xor edi, edi
xor esi, esi
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x54], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov dword [ebp + 4], ecx
mov dword [ebp], eax
mov edx, eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
lea ecx, [edx - 0x1e]
add eax, 0xf
cmp eax, ecx
mov dword [ebp + 0x74], eax
jl 0x101cc26
mov dword [ebp + 0x74], ecx
mov eax, 0xfa
cmp dword [ebp + 0x74], eax
jg 0x101cc33
mov dword [ebp + 0x74], eax
mov eax, dword [ebp + 0x54]
add eax, 0xfffffffc
mov dword [ebp + 0x5c], eax
movzx eax, word [ebp + 0x7c]
mov dword [ebp + 0x1c], eax
mov eax, edx
cdq
sub eax, edx
mov dword [ebp + 0x7c], eax
sar dword [ebp + 0x7c], 1
mov eax, dword [ebp + 0x64]
mov edx, dword [ebp + 0x5c]
mov ecx, edi
sub ecx, eax
add ecx, dword [ebp + 0x54]
add edx, ebx
cmp ecx, edx
jge 0x101cdf0
sub eax, dword [ebp + 0x5c]
add edi, 2
sub eax, ebx
cmp eax, edi
jg 0x101ce04
mov dword [ebp + 0x64], edi
mov eax, dword [ebp + 0x60]
sub eax, esi
cmp dword [ebp + 0x7c], eax
mov eax, dword [ebp + 0x74]
cdq
jge 0x101ce0c
sub esi, dword [ebp + 0x74]
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 0x60]
sar ecx, 1
sub eax, ecx
mov ecx, dword [ebp + 0x58]
lea esi, [esi + ecx - 2]
cmp eax, esi
jl 0x101ce22
mov dword [ebp + 0x60], esi
push 4
push dword [ebp + 0x5c]
xor esi, esi
push dword [ebp + 0x74]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push esi
push dword [0x1039560]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp + 0x40]
push eax
push dword [0x1039560]
call dword [sym.imp.USER32.dll_GetClientRect]
add dword [ebp + 0x44], 3
add dword [ebp + 0x40], 3
sub dword [ebp + 0x48], 8
sub dword [ebp + 0x4c], 8
push esi
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x50]
call fcn.01017f55
lea eax, [ebp + 0x78]
push eax
push dword [ebp + 0x1c]
push dword [0x1039560]
call fcn.01022200
test eax, eax
je 0x101cebf
push dword [ebp + 0x50]
call fcn.010102f8
add eax, 6
lea ecx, [eax + 0xa]
mov eax, dword [ebp + 0x58]
add eax, 0xffffffe2
add edx, 6
cmp ecx, eax
mov dword [ebp + 0x74], ecx
jl 0x101cd2f
mov dword [ebp + 0x74], eax
mov eax, 0xfa
cmp dword [ebp + 0x74], eax
jg 0x101cd3c
mov dword [ebp + 0x74], eax
lea ecx, [edx + 0xa]
mov edx, dword [ebp + 0x54]
lea eax, [edx - 4]
cmp ecx, eax
jl 0x101cd4b
mov ecx, eax
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0x3c]
mov esi, edi
sub esi, eax
add esi, edx
lea edx, [ecx + ebx]
cmp esi, edx
mov dword [ebp + 0x64], eax
jge 0x101ce2a
sub eax, ecx
sub eax, ebx
lea edx, [edi + 2]
cmp eax, edx
jg 0x101ce3f
mov dword [ebp + 0x64], edx
mov eax, dword [ebp + 0x38]
mov esi, dword [ebp - 8]
sub eax, esi
cmp dword [ebp + 0x7c], eax
mov eax, dword [ebp + 0x74]
cdq
jge 0x101ce47
sub eax, edx
mov edx, dword [ebp + 0x38]
sar eax, 1
mov dword [ebp + 0x5c], edx
sub dword [ebp + 0x5c], eax
mov edx, dword [ebp + 0x58]
mov eax, esi
sub eax, dword [ebp + 0x74]
lea eax, [eax + edx - 2]
mov edx, dword [ebp + 0x5c]
cmp edx, eax
jl 0x101ce5b
mov dword [ebp + 0x60], eax
cmp dword [ebp + 0x24], 0
jne 0x101ced4
mov eax, ecx
shl eax, 3
cmp eax, dword [ebp + 0x74]
jge 0x101ce63
mov ecx, dword [ebp + 0x54]
mov dword [ebp + 0x74], eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
add ecx, 0xfffffffc
cmp eax, ecx
mov dword [ebp + 0x5c], eax
jl 0x101cde4
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x24], 1
jmp 0x101cc4e
sub edi, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x54]
lea edi, [edi + ecx - 2]
add eax, ebx
cmp eax, edi
jge 0x101cc75
mov dword [ebp + 0x64], eax
jmp 0x101cc78
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 0x60]
sar ecx, 1
sub eax, ecx
add esi, 2
cmp eax, esi
jle 0x101cca7
mov dword [ebp + 0x60], eax
jmp 0x101ccaa
mov esi, dword [ebp + 0x54]
mov edx, edi
sub edx, ecx
lea edx, [edx + esi - 2]
add eax, ebx
cmp eax, edx
jge 0x101cd74
mov dword [ebp + 0x64], eax
jmp 0x101cd77
sub eax, edx
mov edx, dword [ebp + 0x38]
sar eax, 1
sub edx, eax
lea eax, [esi + 2]
cmp edx, eax
jle 0x101cdb0
mov dword [ebp + 0x60], edx
jmp 0x101cdb3
cmp ecx, dword [ebp + 0x74]
jle 0x101ced4
mov eax, dword [ebp + 0x58]
cdq
push 3
pop ebx
idiv ebx
mov edx, dword [ebp + 0x74]
shl eax, 1
cmp edx, eax
jge 0x101ced4
mov ebx, ecx
cmp edx, eax
jge 0x101ce8d
add edx, 0x32
sub ecx, 0x32
cmp ecx, edx
mov dword [ebp + 0x74], edx
jg 0x101ce7c
mov eax, dword [ebp + 0x60]
lea ecx, [edx + eax]
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x5c], ebx
lea ebx, [esi + eax]
cmp ecx, ebx
jl 0x101ceb0
mov ecx, esi
sub ecx, edx
lea eax, [ecx + eax - 1]
cmp dword [ebp + 0x60], eax
jle 0x101ceb0
mov dword [ebp + 0x60], eax
mov ebx, dword [ebp + 0x20]
mov dword [ebp + 0x24], 1
jmp 0x101cc4e
xor eax, eax
push esi
inc eax
push eax
push esi
push esi
mov dword [0x103776c], eax
call fcn.0101c874
xor eax, eax
jmp 0x101cf53
push 4
push ecx
push dword [ebp + 0x74]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push 0
push dword [0x1039560]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp + 0x40]
push eax
push dword [0x1039560]
call dword [sym.imp.USER32.dll_GetClientRect]
add dword [ebp + 0x44], 3
add dword [ebp + 0x40], 3
sub dword [ebp + 0x48], 8
sub dword [ebp + 0x4c], 8
push 0
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x50]
call fcn.01017f55
push dword [0x1039560]
xor esi, esi
inc esi
mov dword [0x103776c], esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [0x1039560]
call dword [sym.imp.USER32.dll_SetFocus]
push 5
push dword [0x1039560]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.0101c1cf
mov eax, esi
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret 0x10