Function at 0x46a512
Capabilities:
Hide graphical window

Disassembly:
push 0x110
mov eax, 0x5e855f
call fcn.0043c88f
mov ebx, ecx
lea ecx, [ebp + 8]
call fcn.00452aa0
test al, al
je 0x46a536
xor eax, eax
jmp 0x46ad41
push dword [ebx + 0x244]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46a52f
lea edi, [ebx + 0x38c]
xor esi, esi
cmp dword [edi], esi
je 0x46a5a3
mov ecx, ebx
lea eax, [ebx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0xe4]
call fcn.00460231
mov dword [ebp - 0xe4], 0x5ffe64
mov dword [ebp - 0xdc], 0x5ffe78
lea ecx, [ebx + 4]
mov dword [ebp - 4], esi
mov eax, dword [ecx]
lea edx, [ebp - 0xe4]
push edx
call dword [eax + 0x94]
mov ecx, dword [edi]
test ecx, ecx
je 0x46a59f
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi], esi
or dword [ebp - 4], 0xffffffff
push esi
push esi
push esi
lea ecx, [ebx + 4]
push 2
call fcn.0046445c
mov ecx, dword [0x68b51c]
push edi
call fcn.0045b0b5
mov ecx, dword [ebx + 0x330]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x46a5ea
call fcn.0046984b
push dword [ebx + 0x330]
mov ecx, dword [0x68b51c]
push 5
call fcn.0045b4ee
mov ecx, eax
call fcn.00472d70
mov esi, dword [ebx + 0x330]
lea eax, [ebp - 0xb0]
push 0
push 0x5f92b0
push eax
lea ecx, [ebp + 8]
call fcn.00452eee
mov ecx, esi
push dword [eax]
call fcn.004729f8
mov ecx, dword [ebx + 0x330]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x46a633
push ecx
mov ecx, dword [0x68b51c]
push 5
call fcn.0045b4ee
mov ecx, eax
call fcn.00472dba
mov ecx, dword [ebx + 0x334]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x46a661
call fcn.00457583
push dword [ebx + 0x334]
mov ecx, dword [0x68b51c]
push 7
call fcn.0045b4ee
mov ecx, eax
call fcn.00457471
mov esi, dword [ebx + 0x334]
lea eax, [ebp - 0xb0]
push 0
push 0x5f6bac
push eax
lea ecx, [ebp + 8]
call fcn.00452eee
mov ecx, esi
push dword [eax]
call fcn.004571bd
mov ecx, dword [ebx + 0x334]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x46a6aa
push ecx
mov ecx, dword [0x68b51c]
push 7
call fcn.0045b4ee
mov ecx, eax
call fcn.00472dba
mov ecx, dword [ebx + 0x338]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x46a6d8
call fcn.0046980e
push dword [ebx + 0x338]
mov ecx, dword [0x68b51c]
push 6
call fcn.0045b4ee
mov ecx, eax
call fcn.00472d70
mov esi, dword [ebx + 0x338]
lea eax, [ebp - 0xb0]
push 0
push 0x600544
push eax
lea ecx, [ebp + 8]
call fcn.00452eee
mov ecx, esi
push dword [eax]
call fcn.00472afd
mov ecx, dword [ebx + 0x338]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x46a721
push ecx
mov ecx, dword [0x68b51c]
push 6
call fcn.0045b4ee
mov ecx, eax
call fcn.00472dba
xor esi, esi
lea eax, [ebp - 0xb8]
push esi
push str.script
push eax
lea ecx, [ebp + 8]
call fcn.00452eee
cmp dword [edi], esi
je 0x46a923
lea ecx, [ebp - 0xb8]
call fcn.00452ab8
test eax, eax
je 0x46a923
push esi
push 0x5f7a7c
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00452eab
lea ecx, [ebp - 0xbc]
call fcn.00452ab8
test eax, eax
je 0x46a88f
lea ecx, [ebp - 0xbc]
call fcn.00453fb9
push eax
lea ecx, [ebp - 0xb4]
call fcn.0041c2e0
push esi
lea eax, [ebp - 0xb4]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.004527db
add esp, 0xc
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff4
mov byte [ebp - 4], 4
cmp ecx, dword [0x66a41c]
je 0x46a7cd
call fcn.00419e50
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xc8], esi
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00426c50
pop ecx
pop ecx
cmp eax, 2
jne 0x46a872
mov eax, dword [ebp - 0xd4]
mov ecx, dword [0x68b51c]
push dword [eax + 4]
lea ecx, [ecx + 0x10]
push dword [eax]
call fcn.004582be
mov esi, eax
test esi, esi
je 0x46a872
and dword [ebp - 0xac], 0
lea ecx, [ebp - 0xac]
push esi
call fcn.00456ead
mov eax, dword [ebp - 0xd4]
mov ecx, dword [0x68b51c]
push esi
push dword [ebp - 0xac]
mov byte [ebp - 4], 6
push dword [eax + 4]
lea ecx, [ecx + 0x10]
push dword [eax]
call fcn.0045823f
mov ecx, dword [edi]
push esi
push dword [ebp - 0xac]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0xac]
call fcn.0048912d
lea ecx, [ebp - 0xd4]
call fcn.00426790
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 4], 7
jmp 0x46a90f
lea ecx, [ebp - 0xb8]
call fcn.00452f31
push eax
lea ecx, [ebp - 0xb4]
call fcn.0041c2e0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 4], 8
cmp dword [eax - 8], esi
je 0x46a902
push 0xfde9
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.004526dd
add esp, 0xc
mov eax, dword [ebp - 0xb0]
mov ecx, dword [edi]
mov byte [ebp - 4], 9
push dword [eax - 8]
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff4
mov byte [ebp - 4], 0xa
cmp ecx, dword [0x66a41c]
je 0x46a902
call fcn.00419e50
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 4], 0xb
add ecx, 0xfffffff4
cmp ecx, dword [0x66a41c]
je 0x46a91f
call fcn.00419e50
or dword [ebp - 4], 0xffffffff
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [ebx + 0x244]
call esi
push 0xffffffffffffffec
push dword [ebx + 0x244]
mov edi, eax
call esi
lea esi, [ebx + 0x270]
mov dword [ebp - 0xb4], eax
mov ecx, esi
call fcn.00467f2c
mov edx, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [edx + 0x28]
mov edx, dword [ebx + 0x2d8]
mov eax, 0x20000
mov ecx, edx
and ecx, 0x10000
neg ecx
sbb ecx, ecx
and ecx, 0x50000
add ecx, eax
or ecx, edi
test eax, edx
mov eax, dword [ebp - 0xb4]
mov edi, 0x80000
je 0x46a995
or ecx, edi
or eax, 0x40000
jmp 0x46a9a2
test edx, 0x40000
je 0x46a9a2
or eax, 0x80
mov esi, eax
or esi, edi
and edx, edi
cmove esi, eax
mov eax, dword [ebx + 0x2dc]
test eax, eax
je 0x46a9bd
mov ecx, eax
and ecx, 0xefffffff
mov eax, dword [ebx + 0x2e0]
lea edi, [ebx + 0x238]
push 0
push ecx
test eax, eax
mov ecx, edi
push 0
cmovne esi, eax
call fcn.004667f6
push 0
push esi
push 0
mov ecx, edi
call fcn.00466848
push 0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebx + 0x2e8]
call fcn.00461e55
push dword [eax]
push dword [ebx + 0x244]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff4
mov dword [ebp - 4], 0xc
cmp ecx, dword [0x66a41c]
je 0x46aa25
call fcn.00419e50
or dword [ebp - 4], 0xffffffff
mov ecx, 0x80000
mov eax, dword [ebx + 0x2d8]
test ecx, eax
je 0x46aac2
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [ebx + 0x244]
call edi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [ebx + 0x244]
call esi
xor eax, eax
lea ecx, [ebx + 0x250]
push eax
push eax
push 0xa
push 0xa
push eax
push eax
push 0x8000080
push SysReAllocString
push str.SOUI_DUMMY_WND
call fcn.004666ca
push 0xffffffffffffffec
push dword [ebx + 0x25c]
call edi
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [ebx + 0x25c]
call esi
push 2
push 0
push 0
push dword [ebx + 0x25c]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 4
push dword [ebx + 0x25c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46aaee
test ecx, esi
jne 0x46aad6
cmp al, 0xff
je 0x46aaee
push 0
push ecx
push 0
mov ecx, edi
call fcn.00466848
movzx eax, byte [ebx + 0x2d8]
push 2
push eax
push 0
push dword [ebx + 0x244]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [ebx + 0x2f4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x46ab0e
push eax
push 0
push 0x80
push dword [ebx + 0x244]
call esi
mov eax, dword [ebx + 0x2f8]
test eax, eax
je 0x46ab28
push eax
push 1
push 0x80
push dword [ebx + 0x244]
call esi
push 0
push 0x600588
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp + 8]
call fcn.00452eee
lea ecx, [ebx + 4]
push dword [eax]
call fcn.00461fad
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x46ab77
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2a8]
call fcn.00457986
mov edi, eax
test edi, edi
jg 0x46ab91
or edi, 0xffffffff
jmp 0x46ab91
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2a8]
movss dword [esp], xmm0
call fcn.00457969
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x46abb9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2b0]
call fcn.00457986
mov esi, eax
test esi, esi
jg 0x46abd3
or esi, 0xffffffff
jmp 0x46abd3
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2b0]
movss dword [esp], xmm0
call fcn.00457969
test edi, edi
jle 0x46abdf
test esi, esi
jg 0x46aca7
lea ecx, [ebx + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push esi
push edi
push edx
call dword [eax + 0xb8]
push ebx
cmp edi, 0xffffffff
lea eax, [ebp - 0x11c]
push 0
cmove edi, dword [ebp - 0xc4]
cmp esi, 0xffffffff
push 0x46741e
cmove esi, dword [ebp - 0xc0]
push eax
call fcn.00466bbe
add esp, 0x10
push eax
push 0x1fa8
lea ecx, [ebx + 0x34]
mov dword [ebp - 4], 0xd
call fcn.00460202
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x2a8]
mov dword [ebp - method.SOUI::ISlotFunctor.virtual_0], vtable.SOUI::ISlotFunctor.0
call fcn.00457852
test al, al
je 0x46ac74
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x278]
call fcn.00457969
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x288]
call fcn.00457969
lea ecx, [ebx + 0x2b0]
call fcn.00457852
test al, al
je 0x46aca7
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x280]
call fcn.00457969
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x290]
call fcn.00457969
push 0x16
push esi
push edi
xor eax, eax
push eax
push eax
push eax
push dword [ebx + 0x244]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x244]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea esi, [ebx + 4]
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call dword [eax + 0xb0]
mov ecx, dword [ebx + 0x324]
xor edi, edi
inc edi
mov dword [ebx + 0x31c], edi
mov dword [ebx + 0x318], edi
mov eax, dword [ecx]
call dword [eax + 0x64]
xor ecx, ecx
mov eax, esi
test ebx, ebx
cmove eax, ecx
lea ecx, [ebp - 0x104]
push eax
call fcn.00460231
mov dword [ebp - method.SOUI::SWindow.virtual_0], 0x5ffe04
mov dword [ebp - 0xfc], 0x5ffe18
mov edx, dword [esi]
lea ecx, [ebp - 0x104]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xe
call dword [edx + 0x94]
mov eax, edi
call fcn.0043c839
ret 0xc