Function at 0x40bb20
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x46caa0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
mov eax, dword [0x491870]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
xor ebp, ebp
cmp dword [edi + 0xf88], ebp
mov dword [esp + 0x18], ebp
jle 0x40bdaf
test ebp, ebp
jl 0x40bdc4
cmp ebp, dword [edi + 0xf88]
jge 0x40bdc4
mov eax, dword [edi + 0xf84]
lea ebx, [ebp*4]
mov esi, dword [ebx + eax]
cmp dword [esp + 0x4c], esi
je 0x40bb90
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40bd9e
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub ecx, 4
push 0
add ebp, 0x41
add edx, 4
sub eax, 4
mov dword [esp + 0x38], ecx
sub ecx, ebp
push ecx
mov dword [esp + 0x38], eax
sub eax, edx
push eax
push ebp
push edx
push esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push esi
call ebp
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [edi + 0xf78]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40bc0a
mov ecx, dword [edi + 0xf78]
push 0
push ecx
call ebp
mov edx, dword [esp + 0x18]
cmp edx, dword [edi + 0xf9c]
jge 0x40bdc4
mov eax, dword [edi + 0xf98]
add eax, ebx
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00406f00
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
push 0x2d
push esi
mov dword [esp + 0x50], 0
call fcn.0044e3ec
add esp, 0xc
test eax, eax
jne 0x40bc50
or eax, 0xffffffff
jmp 0x40bc54
sub eax, esi
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c570
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 1
call fcn.00406f70
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0xb
jle 0x40bd2b
push 8
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405d80
push 0x4796c0
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x50], 2
call fcn.00405ec0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 3
call fcn.00406f70
mov byte [esp + 0x44], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
lea ecx, [edi + 0xe08]
test esi, esi
jne 0x40bd39
xor eax, eax
jmp 0x40bd4f
mov eax, esi
lea ebx, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40bd40
sub eax, ebx
sar eax, 1
push eax
push esi
call fcn.00407440
mov ecx, dword [edi + 0xdd4]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push ecx
call ebx
mov edx, dword [edi + 0xdd4]
push 1
push 0
push edx
call ebx
lea eax, [esi - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x18]
inc ebp
cmp ebp, dword [edi + 0xf88]
mov dword [esp + 0x18], ebp
jl 0x40bb58
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4
call fcn.0042151a
int3