Function at 0x1023145
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x44], edi
cmp dword [0x1043670], edi
jne 0x1023165
call fcn.01020971
xor ebx, ebx
inc ebx
cmp dword [0x10438a0], edi
je 0x102319b
cmp dword [ebp + 0x14], edi
je 0x102319b
xor esi, esi
cmp esi, 0x64
jge 0x1023193
push edi
inc esi
call fcn.01031099
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x10438a0], edi
jne 0x1023177
mov dword [0x104178c], ebx
jmp 0x10231a1
mov dword [0x104178c], edi
cmp dword [0x10438a0], edi
jne 0x1023205
mov eax, dword [0x10437b8]
push edi
imul eax, eax, 0x50
push dword [0x1043808]
push edi
push dword [eax + 0x10438c0]
push 0x78
push 0x78
push 0xa
push 0xa
push 0x80000000
push edi
push dword [0x1040b9c]
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp dword [0x1041760], 2
mov dword [0x10438a0], eax
jne 0x10231ef
mov dword [0x1041790], ebx
cmp eax, edi
jne 0x1023205
push ebx
push 0x2330
call fcn.0102b944
xor eax, eax
jmp 0x1023814
cmp dword [ebp + 0x14], edi
jne 0x10232b3
cmp dword [0x1041784], edi
jne 0x102321d
mov eax, ebx
jmp 0x1023814
cmp dword [0x1041760], 2
jne 0x1023248
cmp dword [0x1043880], edi
jne 0x1023248
push edi
push 0x2710
push 0x63
push dword [0x10438c0]
mov dword [0x1043880], ebx
call dword [sym.imp.USER32.dll_SetTimer]
push dword [0x10438a0]
mov dword [0x1041784], edi
call fcn.01011c66
push eax
call fcn.0101e653
cmp dword [0x1041790], edi
je 0x102326c
call fcn.0102825d
push dword [0x10438a0]
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [0x1041760], 2
mov dword [0x10438a0], edi
je 0x1023216
mov eax, dword [0x10437b8]
imul eax, eax, 0x50
push dword [eax + 0x10438c4]
call fcn.01011d48
mov eax, dword [0x10437b8]
imul eax, eax, 0x50
push dword [eax + 0x10438c0]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x1023216
cmp dword [0x1041760], 2
mov ebx, dword [ebp + 0xc]
je 0x10232dc
push edi
call fcn.0102432b
call fcn.01011dce
mov dword [0x1041780], eax
cmp ebx, edi
je 0x10232d8
mov esi, dword [ebx + 8]
jmp 0x10232e4
mov esi, eax
jmp 0x10232e4
mov dword [0x1041780], edi
xor esi, esi
cmp dword [ebp + 8], edi
jne 0x1023313
call fcn.01011d7f
mov dword [ebp - 0x18], eax
cmp ebx, edi
je 0x1023309
cmp dword [0x1043698], edi
jne 0x1023309
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.01016a58
jmp 0x1023313
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
cmp dword [0x1043698], edi
je 0x1023340
push 0x1043698
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [0x104369c]
lea ecx, [eax - 0xa]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [0x1043698]
mov dword [0x1043698], edi
jmp 0x1023375
cmp dword [ebp + 8], edi
jne 0x1023351
cmp dword [ebp - 0x38], edi
jne 0x1023387
cmp dword [ebp - 0x34], edi
jne 0x1023387
jmp 0x1023354
mov dword [ebp - 0x18], edi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 4]
lea ecx, [eax - 0xa]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 8]
add eax, 0xa
lea edx, [ecx - 0x19]
add ecx, 0x19
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
sub eax, ecx
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
sar ebx, 1
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x30], eax
lea eax, [ebx + ecx]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0x30]
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 - 0x18]
push 2
push eax
lea eax, [ebp + 8]
push eax
call fcn.0101e9db
mov esi, eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x18], esi
call fcn.01012ee8
push dword [0x10438a0]
cmp esi, edi
jne 0x1023408
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x10438a0], edi
jmp 0x10231fe
push esi
call fcn.0101e6d7
push esi
push dword [0x10438a0]
call fcn.01011c0d
push dword [0x10438a0]
call fcn.01011d48
cmp dword [0x1041760], 2
lea eax, [ebp - 0x5c]
je 0x102345f
push eax
mov eax, dword [0x10437b8]
imul eax, eax, 0x50
push dword [eax + 0x10438c0]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [0x10437b8]
imul eax, eax, 0x50
push dword [eax + 0x10438c0]
call fcn.01022b79
jmp 0x1023472
push 0xf0
push 0x140
push edi
push edi
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]
mov dword [ebp - 0x84], 0x28
cmp eax, edi
je 0x10234b2
lea ecx, [ebp - 0x84]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
test eax, eax
je 0x10234b2
mov eax, dword [ebp - 0x68]
mov esi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x6c]
sub eax, esi
sub ecx, edi
jmp 0x10234cd
mov eax, dword [0x1043670]
mov ecx, dword [0x104366c]
xor edi, edi
xor esi, esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x5c]
lea edx, [eax - 0x1e]
add ecx, 0xf
cmp ecx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp + 0xc], ecx
jl 0x10234e9
mov dword [ebp + 0xc], edx
mov ecx, 0xfa
cmp dword [ebp + 0xc], ecx
jg 0x10234f6
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffffc
cdq
mov dword [ebp - 0xc], ecx
movzx ecx, word [ebp + 0x14]
sub eax, edx
mov dword [ebp + 0x14], eax
sar dword [ebp + 0x14], 1
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, edi
sub ecx, eax
add ecx, dword [ebp - 0x14]
add edx, ebx
cmp ecx, edx
jge 0x10236b1
sub eax, dword [ebp - 0xc]
add edi, 2
sub eax, ebx
cmp eax, edi
jg 0x10236c5
mov dword [ebp - 4], edi
mov eax, dword [ebp - 8]
sub eax, esi
cmp dword [ebp + 0x14], eax
mov eax, dword [ebp + 0xc]
cdq
jge 0x10236cd
sub esi, dword [ebp + 0xc]
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 8]
sar ecx, 1
sub eax, ecx
mov ecx, dword [ebp - 0x10]
lea esi, [esi + ecx - 2]
cmp eax, esi
jl 0x10236e3
mov dword [ebp - 8], esi
push 4
push dword [ebp - 0xc]
xor esi, esi
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
push esi
push dword [0x10438a0]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x28]
push eax
push dword [0x10438a0]
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
push esi
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x18]
call fcn.0101e361
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x4c]
push dword [0x10438a0]
call fcn.01029891
test eax, eax
je 0x102377f
push dword [ebp - 0x18]
call fcn.01015fe9
add eax, 6
lea ecx, [eax + 0xa]
mov eax, dword [ebp - 0x10]
add eax, 0xffffffe2
add edx, 6
cmp ecx, eax
mov dword [ebp + 0xc], ecx
jl 0x10235f0
mov dword [ebp + 0xc], eax
mov eax, 0xfa
cmp dword [ebp + 0xc], eax
jg 0x10235fd
mov dword [ebp + 0xc], eax
lea ecx, [edx + 0xa]
mov edx, dword [ebp - 0x14]
lea eax, [edx - 4]
cmp ecx, eax
jl 0x102360c
mov ecx, eax
mov edi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x2c]
mov esi, edi
sub esi, eax
add esi, edx
lea edx, [ecx + ebx]
cmp esi, edx
mov dword [ebp - 4], eax
jge 0x10236eb
sub eax, ecx
sub eax, ebx
lea edx, [edi + 2]
cmp eax, edx
jg 0x1023700
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x70]
sub eax, esi
cmp dword [ebp + 0x14], eax
mov eax, dword [ebp + 0xc]
cdq
jge 0x1023708
sub eax, edx
mov edx, dword [ebp - 0x30]
sar eax, 1
mov dword [ebp - 0xc], edx
sub dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, esi
sub eax, dword [ebp + 0xc]
lea eax, [eax + edx - 2]
mov edx, dword [ebp - 0xc]
cmp edx, eax
jl 0x102371c
mov dword [ebp - 8], eax
cmp dword [ebp - 0x44], 0
jne 0x1023795
mov eax, ecx
shl eax, 3
cmp eax, dword [ebp + 0xc]
jge 0x1023724
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
add ecx, 0xfffffffc
cmp eax, ecx
mov dword [ebp - 0xc], eax
jl 0x10236a5
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x44], 1
jmp 0x102350f
sub edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
lea edi, [edi + ecx - 2]
add eax, ebx
cmp eax, edi
jge 0x1023536
mov dword [ebp - 4], eax
jmp 0x1023539
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 8]
sar ecx, 1
sub eax, ecx
add esi, 2
cmp eax, esi
jle 0x1023568
mov dword [ebp - 8], eax
jmp 0x102356b
mov esi, dword [ebp - 0x14]
mov edx, edi
sub edx, ecx
lea edx, [edx + esi - 2]
add eax, ebx
cmp eax, edx
jge 0x1023635
mov dword [ebp - 4], eax
jmp 0x1023638
sub eax, edx
mov edx, dword [ebp - 0x30]
sar eax, 1
sub edx, eax
lea eax, [esi + 2]
cmp edx, eax
jle 0x1023671
mov dword [ebp - 8], edx
jmp 0x1023674
cmp ecx, dword [ebp + 0xc]
jle 0x1023795
mov eax, dword [ebp - 0x10]
cdq
push 3
pop ebx
idiv ebx
mov edx, dword [ebp + 0xc]
add eax, eax
cmp edx, eax
jge 0x1023795
mov ebx, ecx
cmp edx, eax
jge 0x102374e
add edx, 0x32
sub ecx, 0x32
cmp ecx, edx
mov dword [ebp + 0xc], edx
jg 0x102373d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 8]
lea ecx, [esi + eax]
add ebx, edx
cmp ebx, ecx
jl 0x1023770
mov ecx, esi
sub ecx, edx
lea eax, [ecx + eax - 1]
cmp dword [ebp - 8], eax
jle 0x1023770
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x44], 1
jmp 0x102350f
xor eax, eax
push esi
inc eax
push eax
push esi
push esi
mov dword [0x1041784], eax
call fcn.01023145
jmp 0x10231fe
push 4
push ecx
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push dword [0x10438a0]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x28]
push eax
push dword [0x10438a0]
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
push 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x18]
call fcn.0101e361
push dword [0x10438a0]
xor esi, esi
inc esi
mov dword [0x1041784], esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [0x10438a0]
call dword [sym.imp.USER32.dll_SetFocus]
push 5
push dword [0x10438a0]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.01022a7a
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10