Function at 0x46f3d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x1c], 0
jne 0x46f3fa
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x14
call fcn.0049be32
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
mov edi, dword [0x4eb048]
mov dword [esi + 4], 1
mov dword [esi], vtable.Object.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0x4ebaa8
mov dword [esi + 8], 0
test edi, edi
je 0x46f43c
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x46f449
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], edi
xor edi, edi
mov ecx, dword [ebx + 0x5c]
mov dword [esp + 0x10], edi
test ecx, ecx
je 0x46f548
nop dword [eax]
mov eax, dword [ebx + 0x2c]
mov edi, dword [eax + edi*4]
cmp dword [edi + 0x1c], 0
je 0x46f534
movzx eax, byte [edi + 0x30]
mov al, byte [eax + 0x4de6fc]
not al
test al, 8
je 0x46f534
lea eax, [esp + 0x68]
mov dword [esp + 0x30], 0
push 2
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2c]
push edi
push eax
mov dword [esp + 0x34], 0x4d1e48
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 1
call fcn.0046f7b0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x46f63d
cmp eax, 8
je 0x46f63d
mov edi, dword [edi + 0x1c]
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0047aac0
test eax, eax
jne 0x46f4fe
push dword [esp + 0x14]
mov ecx, esi
push edi
call fcn.0047ae20
test eax, eax
je 0x46f604
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.00479800
test al, al
je 0x46f604
cmp dword [esp + 0x30], 5
jne 0x46f523
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x46f534
push eax
call fcn.0049f86f
add esp, 4
mov edi, dword [esp + 0x10]
mov ecx, dword [ebx + 0x5c]
inc edi
mov dword [esp + 0x10], edi
cmp edi, ecx
jb 0x46f460
xor eax, eax
mov dword [esp + 0x18], 0
xor edi, edi
mov dword [esp + 0x1c], eax
xor edx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
mov edx, eax
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x14], eax
cmp edx, ecx
je 0x46f58c
push 0xfffffffffffffff0
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000
je 0x46f64c
cmp edi, 1
jne 0x46f5e5
cmp dword [esp + 0x18], edi
jle 0x46f5e5
xor eax, eax
mov dword [esp + 0x60], edi
cmp dword [esp + 0x20], 0xffffffff
mov ecx, esi
mov edi, dword [esp + 0x1c]
cmovne eax, dword [esp + 0x20]
cdq
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
push eax
push edi
mov dword [esp + 0x64], edx
call fcn.0047aac0
test eax, eax
jne 0x46f5d5
push dword [esp + 0x4c]
mov ecx, esi
push edi
call fcn.0047ae20
test eax, eax
je 0x46f626
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
call fcn.00479800
test al, al
je 0x46f626
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x5c]
je 0x46f72d
xor edi, edi
mov dword [esp + 0x20], 0
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x46f650
cmp dword [esp + 0x30], 5
jne 0x46f615
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x46f626
push eax
call fcn.0049f86f
add esp, 4
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp + 8]
call fcn.00430e00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], edi
cmp byte [edx + 0x30], 6
jne 0x46f714
mov ecx, dword [edx + 0x1c]
inc eax
mov dword [esp + 0x18], eax
mov eax, ecx
test eax, eax
mov dword [esp + 0x14], eax
push 0
cmove ecx, dword [esp + 0x54]
mov dword [esp + 0x20], ecx
mov ecx, edi
push 0
push 0xf0
push dword [edx + 0x18]
lea edi, [ecx + 1]
cmove edi, ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp eax, 1
sete cl
jne 0x46f6b4
cmp dword [esp + 0x20], 0
mov edx, 0xffffffff
mov eax, dword [esp + 0x18]
cmovne eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46f714
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x38], 1
mov dword [esp + 0x34], 0
call fcn.0047aac0
test eax, eax
jne 0x46f6f8
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x18]
call fcn.0047ae20
test eax, eax
je 0x46f626
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.00479800
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
test al, al
je 0x46f626
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x5c]
inc edx
mov dword [esp + 0x10], edx
cmp edx, ecx
ja 0x46f72d
mov eax, dword [esp + 0x1c]
jmp 0x46f564
cmp byte [ebp + 0xc], 0
je 0x46f793
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x46f76e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne al
cmp al, byte [ebx + 0xc9]
je 0x46f76e
mov ecx, dword [ebx]
mov byte [ebx + 0xc9], al
push ebx
test al, al
je 0x46f76b
call dword [ecx + 4]
jmp 0x46f76e
call dword [ecx + 8]
cmp dword [0x4e9e9c], 0
jne 0x46f793
mov ecx, 0x4eb110
call fcn.0041bc00
test al, al
jne 0x46f793
push 0
push 4
mov ecx, 0x4eb110
call fcn.0041be90
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 8], 5
pop ebx
mov esp, ebp
pop ebp
ret 8