Function at 0x46c930
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543208
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x58a710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x46c96f
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, eax
mov dword [ebp - 0x18], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x1c], ecx
push 0
push 0
push 0
lea ecx, [ebx + 0x28]
mov dword [ebp - 4], 0
call fcn.0046c2d0
cmp dword [ebx + 0x50], 0
lea ecx, [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x46c9bc
xor edx, edx
mov eax, ebx
test ecx, ecx
push 0x3f2
cmove eax, edx
push dword [eax + 4]
call esi
mov dword [ebx + 0x50], eax
lea ecx, [ebx + 0x20]
cmp dword [ebx + 0x54], 0
jne 0x46c9d8
xor edx, edx
mov eax, ebx
test ecx, ecx
push 0x3f3
cmove eax, edx
push dword [eax + 4]
call esi
mov dword [ebx + 0x54], eax
push 0x3ee
push dword [ebx + 4]
call esi
mov edx, dword [ebx + 0x5c]
lea esi, [ebx + 0x5c]
mov ecx, esi
mov dword [ebp - 0x10], eax
call dword [edx + 8]
cmp dword [esi + 0x14], 0
mov dword [ebp - 0x14], eax
jne 0x46ca05
call fcn.0051c0d1
mov dword [esi + 0x14], eax
test eax, eax
je 0x46ca39
push esi
push dword [ebp - 0x14]
push dword [esi + 0x14]
call fcn.0051c1af
push dword [esi + 0x14]
call fcn.0051c12a
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
je 0x46ca39
mov dword [esi + 0x20], eax
mov ecx, esi
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
call fcn.004990f0
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x46ca4e
or esi, 0xffffffff
jmp 0x46cb12
push 0xfffffffffffffff0
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, eax
and ecx, 0xff7fffff
or ecx, 0x2000000
cmp eax, ecx
je 0x46ca79
push ecx
push 0xfffffffffffffff0
push dword [ebx + 0x60]
call edi
push 0xffffffffffffffec
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
and ecx, 0xfffffdff
or ecx, 0x20000
cmp eax, ecx
je 0x46cab3
push ecx
push 0xffffffffffffffec
push dword [ebx + 0x60]
call edi
push 0x37
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push dword [esi + 4]
mov dword [esi + 0x48], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x50]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [ebx + 0x50]
call esi
push 5
push dword [ebx + 0x54]
call edi
push 1
push dword [ebx + 0x54]
call esi
push 5
push dword [ebx + 0x60]
call edi
push 1
push dword [ebx + 0x60]
call esi
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, ebx
call fcn.0046d920
mov edi, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46cb2e
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10