Function at 0x1002be50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dabd0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10114894]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
jne 0x1002c2d9
mov esi, dword [edi + 0x28]
push 0
push ebx
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1002b6c0
mov dword [edi + 0x28], esi
test eax, eax
jne 0x1002beeb
mov eax, dword [ebp + 0xc]
cmp eax, 0x47
jne 0x1002bef5
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 0xa8]
add eax, 0x130
push eax
mov eax, dword [ebp - 0x20]
add eax, 0x11f
push eax
call fcn.10020ba0
mov dword [ebx], 0
mov eax, 1
jmp 0x1002c2db
cmp eax, 0x8c8d
jne 0x1002bfa7
mov eax, dword [edi + 0x78]
push 0x3e9
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf0]
mov esi, eax
test esi, esi
je 0x1002bee5
call fcn.100078b0
mov ecx, eax
test ecx, ecx
je 0x1002c2f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, str.ck_W
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
test eax, 0xffff0000
jne 0x1002bf52
movzx eax, ax
push eax
call fcn.10008670
jmp 0x1002bf5e
push 8
push str.ck_W
call fcn.100070c0
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push 1
push ecx
push esi
mov dword [ebp - 4], 1
call dword [eax + 0x54]
mov edx, dword [ebp - 0x24]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002bee5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebx], 0
mov eax, 1
jmp 0x1002c2db
cmp eax, 0x464
jne 0x1002bfd0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
push dword [ebp - 0x28]
push dword [ebp + 0x10]
push 0x464
call fcn.1002a6e0
mov dword [ebx], eax
mov eax, 1
jmp 0x1002c2db
cmp eax, dword [0x101133f4]
jne 0x1002c033
call fcn.100239e0
mov ecx, eax
call fcn.1001e5a0
test eax, eax
jne 0x1002bee5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x1002c006
push 9
push dword [edi + 4]
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1002c01a
push 5
push dword [edi + 4]
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebx], 0
mov eax, 1
jmp 0x1002c2db
cmp eax, 0x10
jne 0x1002c069
cmp dword [edi + 0x178], 1
mov dword [edi + 0x70], 1
je 0x1002c04f
mov ecx, edi
call fcn.1002ae40
mov dword [ebx], 0
cmp dword [edi + 0x70], 0
je 0x1002c2d9
mov eax, 1
jmp 0x1002c2db
cmp eax, 0x111
jne 0x1002c2aa
mov ecx, dword [ebp + 0x10]
mov edx, 0x3ea
movzx eax, cx
cmp dx, ax
jne 0x1002c138
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0xa8]
call fcn.10020010
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 2
cmp dword [eax - 4], 1
jle 0x1002c0b5
push dword [eax - 0xc]
lea ecx, [ebp - 0x2c]
call fcn.10006ca0
mov eax, dword [ebp - 0x2c]
push eax
push dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x80]
call fcn.10027ef0
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], 0
je 0x1002c0e7
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0xa8]
call fcn.10020b70
mov eax, dword [ebp - 0x28]
or esi, 0xffffffff
mov byte [ebp - 4], 2
lea edx, [eax - 0x10]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002c105
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1002bee5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebx], 0
mov eax, 1
jmp 0x1002c2db
mov edx, 0x3e8
cmp dx, ax
jne 0x1002c161
lea eax, [ebp - 0x24]
shr ecx, 0x10
push eax
push dword [ebp - 0x28]
push edx
push ecx
mov ecx, edi
call fcn.1002a250
mov dword [ebx], eax
mov eax, 1
jmp 0x1002c2db
mov ecx, 0x3eb
cmp cx, ax
jne 0x1002c1d7
mov eax, dword [edi + 0x178]
cmp eax, 1
je 0x1002bee5
cmp eax, 2
jne 0x1002c1c0
push 0
push 0
push 1
push 0
push str.inst_suc
call fcn.10023af0
mov ecx, eax
call fcn.10053140
call fcn.10031630
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
je 0x1002c1c0
push 0
push 0
push 1
push 0
push str.inst_cover_suc
call fcn.10023af0
mov ecx, eax
call fcn.10053140
mov ecx, edi
call fcn.1002ae40
mov dword [ebx], 0
mov eax, 1
jmp 0x1002c2db
mov ecx, 0x3ec
cmp cx, ax
jne 0x1002c1fc
push 6
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx], 0
mov eax, 1
jmp 0x1002c2db
mov ecx, 0x3ef
cmp cx, ax
jne 0x1002c224
push dword [0x101133f0]
call fcn.1001ae40
add esp, 4
mov dword [ebx], 0
mov eax, 1
jmp 0x1002c2db
mov ecx, 0x3ee
cmp cx, ax
jne 0x1002c285
mov eax, dword [edi + 0x74]
push 0x3ee
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf0]
mov ecx, dword [edi + 0x74]
mov esi, eax
push 0x3e8
push ecx
mov dword [ebp - 0x24], esi
mov edx, dword [ecx]
call dword [edx + 0xf0]
mov edi, eax
test esi, esi
je 0x1002bee5
test edi, edi
je 0x1002bee5
mov ecx, dword [ebp - 0x24]
mov esi, dword [edi]
push 1
call fcn.1000df70
push eax
push edi
call dword [esi + 0x28]
mov dword [ebx], 0
mov eax, 1
jmp 0x1002c2db
mov ecx, 0x3f0
cmp cx, ax
jne 0x1002c2d9
mov eax, dword [edi + 0x9c]
lea ecx, [edi + 0x9c]
call dword [eax]
mov dword [ebx], 0
mov eax, 1
jmp 0x1002c2db
cmp eax, 0x112
jne 0x1002c2d9
cmp dword [ebp + 0x10], 0xf120
jne 0x1002c2d3
push 9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x24]
lea eax, [edi + 0x24]
push 0
push 0
push eax
call dword [ecx + 0x20]
mov dword [ebx], 0
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 - 0x10]
xor ecx, ebp
call fcn.1005e6b8
mov esp, ebp
pop ebp
ret 0x18
push 0x80004005
call fcn.10005050
int3