Function at 0x10c01fd0
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x88
mov cl, byte [esp + 0x90]
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, dword [esp + 0x98]
test cl, 8
push edi
mov dword [esp + 0x30], ebx
je 0x10c01ffd
test byte [esi + 0x24], 0x10
je 0x10c02618
and word [esi + 0x24], 0xffef
mov ax, word [esi + 0x24]
mov edi, dword [esi + 0xc]
mov ebp, dword [sym.imp.USER32.dll_ScreenToClient]
test al, 0x40
mov dword [esp + 0x44], edi
je 0x10c0208e
test cl, 0x20
je 0x10c02054
mov eax, dword [esp + 0xa4]
lea ecx, [esi + 0xa24]
mov edx, eax
mov edi, dword [edx]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], edx
jmp 0x10c0206e
lea eax, [esi + 0xa24]
mov ecx, dword [esi + 0xa24]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jmp 0x10c02119
test cl, 0x20
je 0x10c020b7
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x40], edx
jmp 0x10c020c3
lea eax, [esp + 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esi + 0x14]
lea ecx, [esp + 0x88]
push ecx
push ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x78]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x78]
push eax
push edi
call ebp
lea ecx, [esp + 0x80]
push ecx
push edi
call ebp
mov ecx, dword [esi + 0x18]
xor eax, eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
sub eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov edx, dword [esi + 0x8b8]
xor ecx, ecx
mov dword [esp + 0x68], ecx
cmp edx, ebx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
je 0x10c02143
mov eax, dword [edx]
cmp eax, ebx
mov dword [edx + 8], eax
je 0x10c02143
mov eax, dword [eax + 8]
jmp 0x10c02145
xor eax, eax
cmp eax, ebx
je 0x10c021a8
mov ecx, dword [eax + 8]
cmp ecx, ebx
je case.default.0x10c0215d
mov esi, dword [eax]
xor eax, eax
mov ax, word [esi + 8]
cmp eax, 3
ja case.default.0x10c0215d
jmp dword [eax*4 + 0x10c02628]
xor eax, eax
jmp 0x10c0217b
mov eax, 1
jmp 0x10c0217b
mov eax, 2
jmp 0x10c0217b
mov eax, 3
mov dword [esp + eax*4 + 0x68], ecx
cmp edx, ebx
je 0x10c021a2
mov eax, dword [edx + 8]
cmp eax, ebx
je 0x10c02194
cmp eax, dword [edx + 4]
je 0x10c02194
mov eax, dword [eax + 4]
jmp 0x10c02196
xor eax, eax
cmp eax, ebx
mov dword [edx + 8], eax
je 0x10c021a2
mov eax, dword [eax + 8]
jmp 0x10c021a4
xor eax, eax
cmp eax, ebx
jne 0x10c02149
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
xor eax, eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + eax*4 + 0x68]
test ecx, ecx
mov dword [esp + 0x24], ecx
je 0x10c023d7
mov edx, ecx
push 4
push edx
mov dword [esp + 0x30], 0xffffffff
xor ebp, ebp
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [0x10e2ceec]
test edx, edx
jne 0x10c021fd
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x10c021fd
test eax, eax
je 0x10c0221f
mov dword [esp + 0x30], 1
test eax, eax
je 0x10c0221f
mov ecx, dword [eax]
test ecx, ecx
mov dword [eax + 8], ecx
je 0x10c02215
mov ecx, dword [ecx + 8]
mov edx, dword [0x10e2ceec]
jmp 0x10c02221
mov edx, dword [0x10e2ceec]
xor ecx, ecx
jmp 0x10c02221
xor ecx, ecx
test ecx, ecx
je 0x10c02268
mov edx, dword [esp + 0x28]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x10]
cmp edx, ecx
jge 0x10c02235
mov edx, ecx
inc ebp
test eax, eax
je 0x10c02258
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10c0224a
cmp ecx, dword [eax + 4]
je 0x10c0224a
mov ecx, dword [ecx + 4]
jmp 0x10c0224c
xor ecx, ecx
test ecx, ecx
mov dword [eax + 8], ecx
je 0x10c02258
mov ecx, dword [ecx + 8]
jmp 0x10c0225a
xor ecx, ecx
test ecx, ecx
jne 0x10c02229
mov dword [esp + 0x28], edx
mov edx, dword [0x10e2ceec]
mov eax, dword [esp + 0x2c]
cmp eax, 3
ja case.default.0x10c02275
jmp dword [eax*4 + 0x10c02638]
mov ecx, dword [esp + 0x9c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov edi, dword [ecx + 0x9a4]
mov dword [esp + 0x58], eax
imul edi, ebp
add edi, esi
test edx, edx
mov dword [esp + 0x14], edi
jne case.default.0x10c02275
test ebp, ebp
jle 0x10c022bc
sub edi, ebp
mov eax, edi
dec eax
mov dword [esp + 0x14], eax
jmp case.default.0x10c02275
lea eax, [edi - 1]
mov edi, eax
dec eax
mov dword [esp + 0x14], eax
jmp case.default.0x10c02275
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
test edx, edx
mov dword [esp + 0x58], eax
jne 0x10c022ff
mov ecx, dword [esp + 0x9c]
mov esi, 1
mov edi, dword [esp + 0x1c]
sub esi, dword [ecx + 0x9a4]
imul esi, ebp
add esi, edi
mov dword [esp + 0x1c], esi
jmp case.default.0x10c02275
mov edx, dword [esp + 0x9c]
mov edi, dword [esp + 0x1c]
mov esi, edi
mov eax, dword [edx + 0x9a4]
imul eax, ebp
sub esi, eax
sub esi, 2
mov dword [esp + 0x1c], esi
jmp case.default.0x10c02275
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov ebx, dword [ecx + 0x9a0]
imul ebx, ebp
add ebx, eax
test edx, edx
jne 0x10c0234b
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10c0234b
inc esi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
jmp case.default.0x10c02275
mov eax, dword [esp + 0x9c]
mov esi, dword [eax + 0x9a0]
mov eax, dword [esp + 0x18]
imul esi, ebp
mov ecx, eax
mov ebx, eax
sub ecx, esi
mov esi, dword [esp + 0x14]
test edx, edx
mov dword [esp + 0x58], ecx
jne 0x10c02384
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10c02384
inc esi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x24]
mov ecx, edi
mov edx, ebx
sub ecx, esi
push 0x10
sub edx, eax
push ecx
push edx
push esi
push eax
push 0
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
test byte [esp + 0xa0], 2
je 0x10c023c0
push 1
push 0
push ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x9c]
push 0
push ebp
push eax
call fcn.10c08ff0
mov eax, dword [esp + 0x38]
add esp, 0xc
inc eax
cmp eax, 4
mov dword [esp + 0x2c], eax
jl 0x10c021ba
mov ecx, dword [esp + 0x9c]
mov ebp, dword [sym.imp.USER32.dll_GetWindow]
mov edi, dword [esp + 0x20]
mov ax, word [ecx + 0x24]
test al, 0x42
jne 0x10c025d1
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, eax
push 0
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ebx
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
je 0x10c0246c
mov eax, dword [eax + 4]
test eax, eax
je 0x10c0246c
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x10dc4518
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x10c0246c
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test ebx, ebx
je 0x10c0244a
push 0
push edi
call esi
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
je 0x10c0246c
push 5
push edi
call esi
lea edx, [esp + 0x78]
lea eax, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x10c025d1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub ecx, eax
push 0x11c
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
test ebx, ebx
je 0x10c024bb
push 0
push 0
push 0xb
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 5
push edi
xor ebx, ebx
call ebp
mov esi, eax
test esi, esi
je 0x10c02598
mov edi, dword [sym.imp.USER32.dll_IsIconic]
lea ecx, [esp + 0x48]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x48]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0x50]
mov edx, dword [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
push esi
call edi
test eax, eax
je 0x10c02548
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jl 0x10c02541
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
cmp ecx, eax
jg 0x10c02541
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
cmp edx, eax
jl 0x10c02541
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jle 0x10c02585
mov ebx, 1
jmp 0x10c02585
lea ecx, [esp + 0x88]
lea edx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x10c02585
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub eax, edx
push 0x11c
push eax
sub ecx, dword [esp + 0x18]
push ecx
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 2
push esi
call ebp
mov esi, eax
test esi, esi
jne 0x10c024de
mov edi, dword [esp + 0x20]
test ebx, ebx
je 0x10c025ac
push 0
push 0
push 0x228
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10c025c1
push 0
push 1
push 0xb
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x485
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_RedrawWindow]
test byte [esp + 0xa0], 0x10
je 0x10c02618
mov edx, dword [esp + 0x9c]
test byte [edx + 0x24], 0x40
jne 0x10c02618
mov eax, dword [esp + 0x44]
push 5
push eax
call ebp
mov esi, eax
test esi, esi
je 0x10c02618
mov ebx, dword [sym.imp.USER32.dll_RedrawWindow]
cmp esi, edi
je 0x10c0260d
push 0x180
push 0
push 0
push esi
call ebx
push 2
push esi
call ebp
mov esi, eax
test esi, esi
jne 0x10c025fd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0xc