Function at 0x466470
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a13cb
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x54]
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push esi
push edi
mov esi, ecx
push ebx
call ebp
test eax, eax
je 0x466692
xor eax, eax
xor ecx, ecx
cmp word [esp + 0x78], ax
mov dword [esi + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
setne cl
mov dword [esi + 0x14], ecx
mov edx, dword [0x4c2e54]
mov ecx, dword [0x4c2e60]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x4c2e5c]
mov dword [esp + 0x2c], eax
mov eax, dword [0x4c2e68]
mov dword [esp + 0x24], edx
mov edx, dword [0x4c8ee8]
mov dword [esp + 0x38], eax
mov eax, dword [0x4c2e74]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x4c2e6c]
mov dword [esp + 0x34], edx
mov edx, dword [0x4c2e70]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [str.ISWndImgCls]
mov dword [esp + 0x40], edx
mov edx, dword [0x4c2e7c]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x30
mov dword [esp + 0x2c], 0x4683d0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov edx, dword [str.ISWndImgCls]
push esi
push 0
push 0x20
push 0x40000000
lea ecx, [esp + 0x20]
push 0
lea edi, [esi + 4]
push ecx
push ebx
push edx
mov ecx, edi
call fcn.004685d0
mov eax, dword [edi]
push eax
call ebp
test eax, eax
jne 0x466577
mov eax, 0x80004005
jmp 0x466697
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4665be
mov ecx, dword [esp + 0x68]
push 3
cmp ecx, 3
jne 0x4665ac
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push 3
push 0
push 0
push 0
test eax, eax
push 0
je 0x4665a5
mov ecx, dword [edi]
push eax
push ecx
jmp 0x4665b8
mov edx, dword [edi]
push 0
push edx
jmp 0x4665b8
push 0
push 0
push 0
push 0
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x7c
call fcn.0047d58e
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x58], 0
je 0x4665f0
mov ecx, dword [esp + 0x7c]
mov edx, dword [0x4c8ee8]
push ecx
mov ecx, dword [edi]
push edx
push ecx
mov ecx, eax
call fcn.004661e0
jmp 0x4665f2
xor eax, eax
test eax, eax
mov dword [esp + 0x58], 0xffffffff
mov dword [esi + 8], eax
jne 0x46660b
mov eax, 0x8007000e
jmp 0x466697
mov edx, dword [esp + 0x84]
mov dword [eax + 0x6c], edx
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x46662d
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [esi + 8]
push eax
call fcn.00466280
jmp 0x46663f
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov ecx, dword [esi + 8]
push edx
push eax
call fcn.004662a0
test eax, eax
je 0x466692
mov eax, dword [esi + 8]
mov ebp, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
push 0
mov ecx, dword [eax + 0x24]
add ecx, ebp
mov dword [esi + 0x24], ecx
mov edx, dword [eax + 0x28]
add edx, ebx
mov eax, ebx
mov dword [esi + 0x28], edx
sub edx, eax
push edx
mov edx, dword [esi + 0x24]
mov ecx, ebp
sub edx, ecx
push edx
push eax
mov eax, dword [edi]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [edi]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x80]
mov dword [edx + 0x5c], eax
xor eax, eax
jmp 0x466697
mov eax, 0x80070057
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x28