Function at 0x100898a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc698
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a0
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x230], edi
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x244], 0
cmp dword [edi + 0x27bc], 0
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x238], ecx
jl 0x10089aa3
mov ecx, edi
call fcn.100896c0
mov eax, dword [edi + 0x27bc]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x78]
cmp byte [eax + ecx*8 + 0x21], 0
lea eax, [eax + ecx*8]
mov dword [ebp - 0x234], eax
je 0x10089a19
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x10089a19
cmp ecx, 3
jne 0x1008996a
mov edx, dword [eax + 0x24]
lea ecx, [ebp - 0x23c]
call fcn.10086c60
mov eax, dword [ebp - 0x23c]
mov ecx, 5
mov esi, dword [ebp - 0x240]
jmp 0x1008997f
mov ecx, dword [eax + 0x24]
sub ecx, 0x10
call fcn.10021e50
add eax, 0x10
mov ecx, 2
mov esi, eax
push eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x22c], ecx
push dword [eax + 8]
lea eax, [ebp - 0x218]
push str._s:__s
push 0x100
push eax
call fcn.100a4830
mov ecx, dword [ebp - 0x22c]
add esp, 0x14
test cl, 2
je 0x100899eb
and ecx, 0xfffffffd
lea edx, [esi - 0x10]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x244], ecx
or esi, 0xffffffff
mov dword [ebp - 4], 1
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100899ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x22c]
jmp 0x100899ee
or esi, 0xffffffff
test cl, 1
je 0x10089a35
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
mov dword [ebp - 4], 2
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10089a35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10089a35
push dword [eax + 8]
lea eax, [ebp - 0x218]
push 0x10114150
push 0x100
push eax
call fcn.100a4830
add esp, 0x10
mov eax, dword [edi + 0x27b8]
xorps xmm0, xmm0
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x284]
push eax
push 0
push 0x113f
push dword [edi + 0x27a8]
mov dword [ebp - 0x284], 1
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0
movups xmmword [ebp - 0x270], xmm0
mov dword [ebp - 0x260], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x27bc], 0xffffffff
or eax, 0xffffffff
mov dword [edi + 0x27b8], 0
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 3
call fcn.100215d0
mov ecx, eax
test ecx, ecx
je 0x10089f30
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x234], esi
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 4], 4
test ecx, ecx
js 0x10089c63
mov eax, dword [edi + 0x78]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
or ecx, 0xffffffff
mov eax, dword [edx + 4]
test eax, eax
mov edx, dword [edx + 0x24]
cmovg ecx, eax
mov dword [ebp - 0x22c], ecx
cmp eax, 3
jne 0x10089bd8
lea ecx, [ebp - 0x23c]
call fcn.10086c60
mov byte [ebp - 4], 5
lea ecx, [esi - 0x10]
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x24c], ecx
lea edx, [eax - 0x10]
cmp edx, ecx
je 0x10089bb3
lea edx, [ecx + 0xc]
mov dword [ebp - 0x244], edx
mov edx, dword [edx]
shr edx, 0x1f
test dl, dl
jne 0x10089b98
mov edx, dword [eax - 0x10]
cmp edx, dword [ecx]
jne 0x10089b98
lea ecx, [eax - 0x10]
call fcn.10021e50
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 6
or ecx, 0xffffffff
mov edx, dword [ebp - 0x244]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10089b8d
mov esi, dword [ebp - 0x24c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x240]
lea esi, [eax + 0x10]
mov dword [ebp - 0x234], esi
jmp 0x10089bad
push dword [eax - 0xc]
lea ecx, [ebp - 0x234]
push eax
call fcn.10021eb0
mov esi, dword [ebp - 0x234]
mov eax, dword [ebp - 0x23c]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 7
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10089bcf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
jmp 0x10089c5d
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x24c], ecx
cmp eax, ecx
je 0x10089c5d
lea eax, [ecx + 0xc]
mov dword [ebp - 0x240], eax
mov eax, dword [eax]
shr eax, 0x1f
test al, al
jne 0x10089c48
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x10089c48
lea ecx, [edx - 0x10]
call fcn.10021e50
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 8
or ecx, 0xffffffff
mov edx, dword [ebp - 0x240]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10089c39
mov esi, dword [ebp - 0x24c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x244]
lea esi, [eax + 0x10]
mov byte [ebp - 4], 4
mov dword [ebp - 0x234], esi
jmp 0x10089c5d
push dword [edx - 0xc]
lea ecx, [ebp - 0x234]
push edx
call fcn.10021eb0
mov esi, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x22c]
mov dword [edi + 0x27b4], eax
cmp eax, 0xffffffff
je 0x10089db0
mov eax, dword [edi + 0x78]
lea ecx, [ecx + ecx*4]
mov ecx, dword [eax + ecx*8 + 8]
sub ecx, 0x10
call fcn.10021e50
mov ecx, dword [ebp - 0x248]
xorps xmm0, xmm0
mov dword [ebp - 0x2ac], 1
mov dword [ebp - 0x2a8], ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x2a4], 0
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x2a0], 0
push eax
mov eax, dword [ebp - 0x230]
push 0
push 0x113f
mov dword [ebp - 0x29c], edi
push dword [eax + 0x27a8]
movups xmmword [ebp - 0x298], xmm0
mov dword [ebp - 0x288], 0
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x230]
push dword [eax + 0x27a8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x230]
push 1
push 0x1104
push dword [eax + 0x27a8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ebx + 0x10], 0
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x220], eax
je 0x10089d88
mov eax, dword [ebp - 0x22c]
test eax, eax
jle 0x10089d88
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x248]
mov dword [eax + 0x27b8], ecx
mov ecx, dword [ebp - 0x238]
mov dword [eax + 0x27bc], ecx
add edi, 0xfffffff0
mov byte [ebp - 4], 9
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10089da4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x22c]
mov edi, dword [ebp - 0x230]
cmp byte [ebx + 0x10], 0
je 0x10089e58
cmp eax, 4
je 0x10089dc8
cmp eax, 3
jne 0x10089e58
movups xmm1, xmmword [ebp - 0x228]
push 0x44
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
movups xmmword [ebp - 0x25c], xmm1
sub ecx, eax
psrldq xmm1, 8
movd edi, xmm1
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp - 0x258]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
mov eax, dword [ebp - 0x250]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x254]
sub eax, edi
push eax
mov eax, dword [ebp - 0x230]
push ecx
push edi
push 0
push dword [eax + 0x27b0]
call dword [sym.imp.USER32.dll_SetWindowPos]
movzx eax, byte [ebx + 0x10]
push eax
mov eax, dword [ebp - 0x230]
push dword [eax + 0x27b0]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x220], edi
mov edi, dword [ebp - 0x230]
jmp 0x10089e66
push 0
push dword [edi + 0x27b0]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebx + 0x10], 0
je 0x10089ee3
mov eax, dword [ebp - 0x22c]
test eax, eax
jle 0x10089ee3
push esi
push dword [edi + 0x27ac]
call dword [sym.imp.USER32.dll_SetWindowTextW]
movzx eax, byte [ebx + 0x10]
push 0
xor eax, 1
push eax
push 0xcf
push dword [edi + 0x27ac]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x224]
sub eax, edx
mov ecx, dword [ebp - 0x228]
push 0x44
push eax
mov eax, dword [ebp - 0x220]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [edi + 0x27ac]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push dword [edi + 0x27ac]
push 0x28
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10089ef1
push 0
push dword [edi + 0x27ac]
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xa
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10089f10
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
push 0x80004005
call fcn.10013970
int3