Function at 0x100cdade
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x50
mov eax, 0x10148e5a
call fcn.101018b2
lea eax, [ebp - 0x40]
mov esi, ecx
push eax
mov dword [ebp - 0x24], esi
call dword [sym.imp.USER32.dll_GetCursorPos]
xor edi, edi
cmp dword [esi + 0xf4], edi
jne 0x100cdb29
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
xor eax, eax
inc eax
jmp 0x100ce06e
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x48], edi
call fcn.1005d061
pop ecx
mov ecx, dword [ebp - 0x48]
cmp ecx, edi
jne 0x100cdb56
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x100cdb21
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100cdb21
lea eax, [ebp - 0x10]
push eax
call fcn.100adbed
cmp dword [ebp - 0x10], edi
je 0x100cdb21
lea ebx, [esi + 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100cdc7a
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
call fcn.1009aa0d
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
jl 0x100cdbcc
cmp eax, dword [ebp - 0x2c]
jg 0x100cdbcc
cmp ecx, dword [ebp - 0x30]
jl 0x100cdbcc
cmp ecx, dword [ebp - 0x28]
jg 0x100cdbcc
push 0xff
mov ecx, esi
call fcn.100ccf1b
mov dword [esi + 0x30], 0x64
jmp 0x100cdb43
push ecx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
push 0x206
mov dword [ebp - 0x18], eax
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.101027c0
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.32768
lea eax, [ebp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100cdc2d
cmp dx, di
je 0x100cdc29
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100cdc2d
add eax, 4
add ecx, 4
cmp dx, di
jne 0x100cdc07
xor eax, eax
jmp 0x100cdc32
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x100cdc4c
cmp dword [esi + 0x38], edi
je 0x100cdc4c
push 0xff
mov ecx, esi
call fcn.100ccf1b
jmp 0x100cdb43
mov eax, dword [esi + 0x3c]
cmp eax, edi
je 0x100cdc7a
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x100cdc7a
cmp dword [ebp - 0x18], eax
je 0x100cdc3b
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetParent]
cmp dword [ebp - 0x14], eax
je 0x100cdc3b
cmp dword [ebp + 0x218], 0x200
jne 0x100cdcf2
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100ce05b
lea eax, [ebp - 0x34]
xor esi, esi
push eax
push dword [ebx]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
call fcn.1009aa0d
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
jl 0x100cdcd9
cmp eax, dword [ebp - 0x2c]
jg 0x100cdcd9
cmp ecx, dword [ebp - 0x30]
jl 0x100cdcd9
cmp ecx, dword [ebp - 0x28]
jle 0x100ce05b
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x38], esi
jne 0x100ce05b
push ecx
mov esi, edx
push eax
mov ecx, esi
call fcn.100ccf58
xor edi, edi
cmp dword [ebp + 0x218], 0x201
je 0x100cdd0a
cmp dword [ebp + 0x218], 0x204
jne 0x100cdd28
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100cdd28
cmp dword [esi + 0x38], edi
jne 0x100cdd28
mov eax, dword [esi]
push esi
mov dword [esi + 0x30], 0x19
call dword [eax + 0xc]
cmp dword [ebp + 0x218], 0x202
jne 0x100ce05b
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100ce05b
xor esi, esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x48]
cmp dword [ebp - 0x20], esi
je 0x100cdd97
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.10004285
mov eax, dword [ebp - 0x18]
cmp eax, esi
mov byte [ebp - 4], 2
je 0x100cdd89
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x18]
cmp eax, esi
mov byte [ebp - 4], 1
je 0x100cdd97
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push dword [ebp - 0x44]
mov edi, eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100ce093
cmp edi, dword [ebp - 0x44]
jne 0x100ce093
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x24]
lea eax, [edi + 0x28]
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.100da151
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp eax, esi
je 0x100cde8a
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x100cde79
mov dword [ebp - 0x4c], esi
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x38], esi
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 5
call dword [ecx + 0x110]
cmp word [ebp - 0x38], 0xffff
jne 0x100cde6f
mov eax, dword [edi + 0x40]
cmp eax, esi
je 0x100cde30
mov dword [edi + 0x40], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
push 0x10152f84
call fcn.10001cbf
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
cmp eax, esi
mov byte [ebp - 4], 3
je 0x100cde55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, esi
mov byte [ebp - 4], 1
je 0x100ce09c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100ce09c
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
cmp eax, esi
mov byte [ebp - 4], 3
je 0x100cde87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
lea esi, [edi + 0x40]
cmp dword [esi], 0
je 0x100cdef8
test eax, eax
je 0x100cdef8
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push dword [esi]
push eax
call dword [ecx + 0x34]
cmp word [ebp - 0x4c], 0
je 0x100cdef5
mov eax, dword [esi]
test eax, eax
je 0x100cdeb8
and dword [esi], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
push 0x10152f84
call fcn.10001cbf
mov eax, dword [ebp - 0x1c]
test eax, eax
mov byte [ebp - 4], 1
je 0x100cded6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 0
je 0x100cdee7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test eax, eax
jmp 0x100cdb4c
mov eax, dword [ebp - 0x1c]
cmp dword [esi], eax
je 0x100cdf03
push eax
push esi
call fcn.1000299a
mov eax, dword [0x1019a028]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.100cd625
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov esi, 0x10152f84
push esi
push eax
call fcn.10101e50
test eax, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
je 0x100cdf4a
push dword [ebp - 0x18]
call fcn.10005459
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0x28
jle 0x100cdf54
lea ecx, [ebp - 0x14]
call fcn.100015d9
jmp 0x100cdec5
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100cdf6c
push eax
push dword [ebp - 0x38]
lea ecx, [edi + 8]
call fcn.100cd9fb
push dword [ebx]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
je 0x100cdf47
mov ecx, dword [ebp - 0x18]
push esi
call fcn.10001cbf
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x5c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x40]
add edx, 0xffffffb0
push 0x16c
push dword [ebx]
mov dword [ebp - 0x58], edx
add eax, ecx
add edx, 0x3c
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call edi
test eax, eax
je 0x100cdfe1
push 0
lea ecx, [ebp - 0x14]
call fcn.10001a82
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
call fcn.10018757
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x24]
mov ecx, esi
call fcn.100ccc95
push dword [ebx]
mov dword [esi + 0x30], 0x19
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100ce031
push 0
push 0x80000
push 0
mov ecx, ebx
call fcn.1009aa33
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x14]
call fcn.100015d9
mov eax, dword [ebp - 0x1c]
test eax, eax
mov byte [ebp - 4], 1
je 0x100ce04a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 0
je 0x100ce05b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x100ce06c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x20c
leave
ret 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x20]
cmp eax, esi
mov byte [ebp - 4], 0
je 0x100ce0ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
jmp 0x100cdb4c