Function at 0x1003fca0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016feb0
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0xa0], ebx
call fcn.1003bfb0
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0
push ebx
mov dword [ebp - 0x7c], eax
call esi
push 4
push eax
call esi
push eax
mov dword [ebp - 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
mov eax, dword [ebp + 0x10]
movzx ecx, ax
shr eax, 0x10
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x88]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x94], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x90]
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [ebp - 0x80], eax
test ebx, ebx
je 0x1003fda3
cmp eax, dword [ebx + 0x14]
jne 0x1003fda3
lea ecx, [ebp - 0x94]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push dword [ebp - 0x90]
mov ecx, dword [ebp - 0x7c]
push dword [ebp - 0x94]
lea eax, [ebp - 0x80]
push eax
call fcn.1004cdb0
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x100405bb
mov ecx, dword [edi + 0xd4]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [edi + 0xc8]
push 0x78
mov edx, dword [ecx]
mov esi, eax
mov dword [ebp - 0x80], 0
call dword [edx]
xor ebx, ebx
mov dword [ebp - 0x98], eax
test esi, esi
jle 0x1003fe2f
nop
mov ecx, dword [edi + 0xd4]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x78], eax
mov ecx, dword [edx]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x80], 0
test ecx, ecx
jne 0x1003fe11
test eax, eax
je 0x1003fe2a
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, eax
mov dword [ebp - 0x80], ecx
test ecx, ecx
jne 0x1003ffed
inc ebx
cmp ebx, esi
jl 0x1003fdd0
mov ebx, dword [ebp - 0x68]
cmp dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x84]
mov dword [edi + 0xfc], eax
mov eax, dword [ebp - 0x74]
mov dword [edi + 0x100], eax
jne 0x1003fd92
mov ecx, dword [edi + 0xd4]
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 0x40]
mov esi, dword [ebp - 0x88]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1003fe85
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1003fe85
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1003fea9
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1003fea9
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
test ebx, ebx
je 0x1003febf
push 0
push 0x3e8
push 6
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SetTimer]
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [edi + 0xd4]
mov esi, dword [ecx]
call dword [esi + 0x3c]
mov ecx, dword [edi + 0xd4]
push eax
call dword [esi + 0xc]
mov ecx, dword [edi + 0xd4]
mov dword [ebp - 0x98], eax
mov esi, dword [ecx]
call dword [esi + 0x34]
mov ecx, dword [edi + 0xd4]
push eax
call dword [esi + 0xc]
mov ecx, dword [edi + 0xd4]
push 0xffffffffffffffff
mov edx, dword [ecx]
mov ebx, eax
call dword [edx + 0x40]
mov ecx, dword [edi + 0xd4]
push 0xffffffffffffffff
mov edx, dword [ecx]
call dword [edx + 0x38]
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x1003ff5f
mov ecx, dword [eax + 0xc]
mov esi, dword [edi + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1003ff5f
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1003ff5f
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
test ebx, ebx
je 0x1003ffa1
mov ecx, dword [ebx + 0xc]
mov esi, dword [edi + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1003ffa1
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1003ffa1
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, edi
call fcn.100423e0
test eax, eax
jne 0x100405bb
mov eax, dword [0x101ed73c]
test eax, eax
jne 0x1004050d
push 0xec
call fcn.10092352
add esp, 4
test eax, eax
je 0x10040506
mov ecx, eax
call fcn.10056470
jmp 0x10040508
mov ecx, dword [edi + 0xd4]
mov eax, dword [ecx]
call dword [eax + 0x3c]
cmp eax, ebx
je 0x1003fe2f
mov ecx, dword [edi + 0xd4]
mov esi, dword [ecx]
call dword [esi + 0x3c]
mov ecx, dword [edi + 0xd4]
push eax
call dword [esi + 0xc]
mov ecx, dword [edi + 0xd4]
mov dword [ebp - 0x9c], eax
mov esi, dword [ecx]
call dword [esi + 0x34]
mov ecx, dword [edi + 0xd4]
push eax
call dword [esi + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x78]
cmp dword [eax + 4], 0xa
je 0x10040055
mov ecx, dword [edi + 0xd4]
push ebx
mov edx, dword [ecx]
call dword [edx + 0x40]
mov ecx, dword [edi + 0xd4]
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 0x38]
mov esi, dword [ebp - 0x88]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1004007c
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1004007c
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100400a0
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100400a0
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x100400e8
mov ecx, dword [eax + 0xc]
mov esi, dword [edi + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100400e8
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100400e8
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x1004012d
mov ecx, dword [eax + 0xc]
mov esi, dword [edi + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1004012d
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1004012d
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0x78]
cmp dword [eax + 4], 0xa
je 0x1004014a
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [edi + 0xd4]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, eax
mov dword [ebp - 0x78], esi
cmp dword [esi + 4], 0
jne 0x100401b7
mov eax, dword [esi + 0x10]
cmp dword [eax + 8], 2
je 0x100401d4
cmp dword [eax + 8], 1
je 0x100401d4
cmp dword [eax + 8], 3
je 0x100401d4
cmp dword [eax + 8], 5
je 0x100401d4
mov eax, dword [eax + 8]
cmp eax, 0x17
jne 0x1004018c
lea ebx, [eax - 0x16]
jmp 0x10040369
cmp eax, 3
jne 0x10040199
lea ebx, [eax - 2]
jmp 0x10040369
cmp eax, 9
jne 0x100401a6
lea ebx, [eax - 8]
jmp 0x10040369
cmp eax, 0x1c
jne 0x100401b2
xor ebx, ebx
jmp 0x10040369
cmp eax, 0x10
jne 0x100401be
xor ebx, ebx
jmp 0x10040369
xor ebx, ebx
cmp eax, 0x30
je 0x10040369
cmp eax, 0x31
setne bl
jmp 0x10040369
mov eax, dword [edi + 0xd0]
add eax, 0x208
push eax
lea ecx, [ebp - 0x64]
call fcn.10004410
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x3c], ax
lea eax, [esi + 0x2c]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
call fcn.10004790
push 1
push 0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x6c], 0x27
call fcn.10010d20
cmp eax, 0xffffffff
je 0x10040260
mov dword [ebp - 0x6c], 0x27
lea esp, [esp]
push 1
push eax
lea ecx, [ebp - 0x64]
call fcn.10004ce0
push 1
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x64]
call fcn.10010d20
cmp eax, 0xffffffff
jne 0x10040240
push 1
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x6c], 0x27
call fcn.10010d20
cmp eax, 0xffffffff
je 0x100402a3
mov dword [ebp - 0x6c], 0x27
push 1
push eax
lea ecx, [ebp - 0x3c]
call fcn.10004ce0
push 1
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10010d20
cmp eax, 0xffffffff
jne 0x10040283
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100402e6
test dx, dx
je 0x100402e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100402e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100402c0
xor eax, eax
jmp 0x100402eb
sbb eax, eax
or eax, 1
xor ebx, ebx
test eax, eax
mov ecx, 1
cmove ebx, ecx
mov ecx, dword [edi + 0xc8]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [edi + 0xc8]
push 2
mov edx, dword [ecx]
mov esi, eax
call dword [edx]
test ebx, ebx
je 0x10040329
test esi, esi
je 0x10040329
test eax, eax
je 0x10040329
mov eax, 4
cmp eax, dword [ebp - 0x2c]
sbb eax, eax
and ebx, eax
cmp dword [ebp - 0x28], 8
jb 0x1004033a
push dword [ebp - 0x3c]
call fcn.10091747
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
jb 0x10040366
push dword [ebp - 0x64]
call fcn.10091747
add esp, 4
mov esi, dword [ebp - 0x78]
mov ecx, dword [edi + 0xc8]
push 0x23
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x100404da
test ebx, ebx
je 0x100404da
mov ebx, dword [ebp - 0x88]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp - 0x98], 1
jne 0x100403df
mov esi, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0xc]
add eax, 5
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x70]
push eax
mov eax, dword [sym.imp.USER32.dll_ClientToScreen]
push ebx
call eax
mov eax, dword [ebp - 0x48]
add eax, 5
add eax, dword [esi + 0xc]
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x6c], eax
jmp 0x100403fd
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
add eax, 5
mov dword [ebp - 0x70], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x70]
push eax
mov eax, dword [sym.imp.USER32.dll_ClientToScreen]
push ebx
call eax
mov ebx, dword [ebp - 0x7c]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x4c], esi
test ecx, ecx
je 0x10040411
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebx], eax
mov ecx, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x74]
test ecx, ecx
je 0x1004046b
mov eax, dword [edi + 0xfc]
cmp dword [ebp - 0x84], eax
jne 0x10040431
cmp ebx, dword [edi + 0x100]
je 0x1004045e
test eax, eax
je 0x1004045e
cmp dword [edi + 0x100], 0
je 0x1004045e
lea esi, [ecx + 0x14]
push 6
push dword [esi]
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
push esi
mov esi, dword [ebp - 0x7c]
mov ecx, esi
call fcn.1004c290
jmp 0x1004046e
mov ecx, dword [edi + 0xd4]
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 0x40]
mov esi, dword [ebp - 0x7c]
call fcn.100143b0
mov esi, dword [esi + 0x48]
mov edx, dword [ebp - 0x6c]
lea ecx, [esi + edx]
cmp ecx, eax
jle 0x10040489
mov edx, dword [ebp - 0x48]
sub edx, esi
dec edx
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x68], 0
je 0x1003fe2f
mov eax, dword [edi + 0xfc]
cmp dword [ebp - 0x84], eax
jne 0x100404ad
cmp ebx, dword [edi + 0x100]
je 0x1003fe2f
test eax, eax
je 0x1003fe2f
cmp dword [edi + 0x100], 0
mov ebx, dword [ebp - 0x68]
je 0x1003fe32
mov ecx, dword [ebp - 0x7c]
push edx
push dword [ebp - 0x70]
lea eax, [ebx + 0x14]
push eax
call fcn.1004cd40
jmp 0x1003fe32
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x1003fe32
push 6
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1003fe32
xor eax, eax
mov dword [0x101ed73c], eax
movd xmm0, dword [ebp - 0x84]
movss xmm1, dword [eax + 0xa4]
cvtdq2ps xmm0, xmm0
lea eax, [edi + 0x44]
divss xmm0, xmm1
cvttss2si esi, xmm0
movd xmm0, dword [ebp - 0x74]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvttss2si ebx, xmm0
push ebx
push esi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1004057a
mov ecx, dword [edi + 0xcc]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [edi + 0xd0]
cmp dword [ecx + 0x504], 0xffffffff
je 0x1004057a
test eax, eax
jle 0x1004057a
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push ebx
push esi
lea eax, [edi + 0x54]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100405bb
mov ecx, dword [edi + 0xcc]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [edi + 0xd0]
cmp dword [ecx + 0x504], 0xffffffff
je 0x100405bb
test eax, eax
jne 0x100405bb
push 0x7f89
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0xc