Function at 0x1008aad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1012fbab
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor esi, esi
mov byte [esp + 0x18], 1
cmp dword [edi + 0x1c8], esi
jne 0x1008abb6
push 0x158
call fcn.100cfcae
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0x70], esi
cmp eax, esi
je 0x1008ab34
mov esi, eax
call fcn.10085b00
mov esi, eax
mov dword [esp + 0x70], 0xffffffff
mov dword [edi + 0x1c8], esi
call fcn.1007cdf0
mov eax, dword [eax]
push str.tips_BG.png
mov ecx, eax
call fcn.1007b640
test eax, eax
je 0x1008ab6a
mov ecx, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
push ecx
mov edi, eax
call fcn.10085c40
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x1c8]
mov ecx, 4
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], ecx
mov dword [eax + 0x144], ecx
mov dword [eax + 0x148], ecx
mov dword [eax + 0x14c], ecx
mov ebx, dword [edi + 0x1c8]
test ebx, ebx
je 0x1008abb4
mov edx, dword [ebx + 4]
push 1
push edx
push ebx
push edi
call fcn.1007d6c0
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
xor esi, esi
mov eax, dword [edi + 0x1bc]
mov dword [edi + 0x28], esi
mov ecx, dword [edi + 0x1f4]
sub ecx, dword [edi + 0x1f0]
mov dword [esp + 0x1c], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
xor ebx, ebx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x3c], ebx
je 0x1008af09
mov dword [esp + 0x34], esi
jmp 0x1008abf4
xor esi, esi
mov ecx, dword [edi + 0x1f4]
mov edx, dword [edi + 0x1b8]
sub ecx, dword [edi + 0x1f0]
mov dword [esp + 0x30], edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], esi
mov byte [esp + 0x17], 0
cmp ebx, eax
jb 0x1008ac31
call fcn.100d1cc3
mov esi, dword [edi + 0x1f0]
add esi, dword [esp + 0x34]
mov eax, 0x66666667
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov dword [esp + 0x20], 0
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1008aeaa
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x20]
cmp ebx, eax
jb 0x1008ac75
call fcn.100d1cc3
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov dword [esp + 0x2c], eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x1008ac9b
call fcn.100d1cc3
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, ebx
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x20], eax
jb 0x1008acbf
call fcn.100d1cc3
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x24]
add eax, ecx
cmp dword [eax + 0x18], 8
jb 0x1008acd3
mov eax, dword [eax + 4]
jmp 0x1008acd6
add eax, 4
mov edx, dword [esp + 0x2c]
lea edx, [edx + ecx + 0x20]
mov ecx, dword [ebx + ecx + 0x1c]
push edx
push ecx
push eax
push edi
call fcn.1008b1e0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x20], eax
jb 0x1008ad11
call fcn.100d1cc3
mov ebx, dword [esi + 0xc]
mov ecx, dword [esp + 0x24]
cmp dword [ebx + ecx + 0x1c], 0
je 0x1008ad92
mov ecx, dword [esi + 0x10]
sub ecx, ebx
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x20], eax
jb 0x1008ad40
call fcn.100d1cc3
mov ebx, dword [esi + 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + edx + 0x1c]
mov ecx, 0x10142b64
add eax, 0xc
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1008ad79
test dx, dx
je 0x1008ad75
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1008ad79
add eax, 4
add ecx, 4
test dx, dx
jne 0x1008ad53
xor eax, eax
jmp 0x1008ad7e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1008ad92
cmp byte [esp + 0x17], al
jne 0x1008ad8d
sub dword [esp + 0x1c], 3
mov byte [esp + 0x17], 1
mov ecx, dword [esi + 0x10]
sub ecx, ebx
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x20], eax
jb 0x1008adb3
call fcn.100d1cc3
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + edx + 0x24]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, ebx
call fcn.1007d4e0
mov eax, dword [edi + 0x1d8]
mov dword [esp + 0x40], ebx
test eax, eax
jne 0x1008ade5
xor ecx, ecx
jmp 0x1008adf0
mov ecx, dword [edi + 0x1e0]
sub ecx, eax
sar ecx, 2
mov ebx, dword [edi + 0x1dc]
mov edx, ebx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x1008ae12
mov ecx, dword [esp + 0x2c]
mov dword [ebx], ecx
add ebx, 4
mov dword [edi + 0x1dc], ebx
jmp 0x1008ae3c
cmp eax, ebx
jbe 0x1008ae1b
call fcn.100d1cc3
mov ecx, dword [edi + 0x1cc]
lea eax, [edi + 0x1cc]
push ebx
push ecx
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.1007ff20
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x28]
mov edx, dword [esp + 0x38]
add dword [esp + 0x30], eax
add edx, eax
cmp edx, dword [edi + 0x28]
mov dword [esp + 0x38], edx
jle 0x1008ae55
mov dword [edi + 0x28], edx
mov dl, byte [esp + 0x17]
mov eax, dword [ecx + 0x2c]
lea ecx, [eax - 3]
test dl, dl
jne 0x1008afcc
mov ecx, eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1008ae75
cmp ecx, eax
jle 0x1008ae79
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov ebx, dword [esp + 0x20]
add dword [esp + 0x24], 0x28
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
mov dword [esp + 0x20], ebx
cmp ebx, eax
jb 0x1008ac68
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
add dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x1f4]
sub ecx, dword [edi + 0x1f0]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
lea edx, [edx + ecx - 1]
cmp ebx, edx
je 0x1008aeda
add dword [esp + 0x1c], 5
mov ecx, dword [edi + 0x1f4]
sub ecx, dword [edi + 0x1f0]
add dword [esp + 0x34], 0x18
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
mov dword [esp + 0x3c], ebx
cmp ebx, eax
jb 0x1008abf2
mov ecx, dword [edi + 0x1b8]
mov eax, dword [edi + 0x1bc]
mov esi, dword [edi + 0x1c8]
lea edx, [ecx + ecx + 2]
add dword [edi + 0x28], edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0x28]
lea eax, [eax + edx + 2]
mov dword [edi + 0x2c], eax
mov edx, dword [esi]
push eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], eax
mov eax, dword [edx + 0x44]
push ecx
mov ecx, esi
call eax
mov ebx, dword [ebp + 0xc]
mov byte [esi + 0x64], 1
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x2c]
mov eax, ebx
lea esi, [esp + 0x54]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
call fcn.1008b2d0
mov eax, dword [edi + 0x1c0]
sub dword [ebx + 4], eax
mov ecx, dword [edi + 0x1c0]
add dword [ebx + 0xc], ecx
mov edx, dword [ebx]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
add edx, ecx
cmp edx, eax
jle 0x1008af87
sub eax, ecx
mov dword [ebx], eax
mov esi, dword [ebx + 0xc]
mov eax, dword [esp + 0x3c]
lea ecx, [esi + eax]
cmp ecx, dword [esp + 0x60]
jle 0x1008af9c
mov byte [esp + 0x18], 0
cmp byte [esp + 0x18], 0
jne 0x1008afa8
mov esi, dword [ebx + 4]
sub esi, eax
xor eax, eax
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp byte [edi + 0x1c4], 0
je 0x1008afdf
mov ebx, dword [esp + 0x44]
jmp 0x1008afe1
cmp dword [esp + 0x28], ecx
jge 0x1008ae79
mov dword [esp + 0x28], ecx
jmp 0x1008ae79
mov ebx, dword [ebx]
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x12c]
push 1
push eax
push ecx
push esi
push ebx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, edi
call fcn.10076f20
mov ebx, 1
cmp byte [edi + 0x30], bl
je 0x1008b018
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
push ebx
mov ecx, edi
mov byte [edi + 0x30], bl
call edx
cmp dword [edi + 0x84], edi
je 0x1008b023
mov byte [edi + 0x64], bl
mov eax, dword [edi + 0x12c]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov ecx, dword [edi + 0x12c]
neg eax
sbb eax, eax
neg eax
add eax, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 0x12c]
push 0
push 0x3e8
push 0x3e9
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8