Function at 0x486b13
Capabilities:
Hide graphical window

Disassembly:
push 0x110
mov eax, 0x4d967c
call fcn.004a85ed
mov ebx, ecx
lea ecx, [ebp + 8]
call fcn.00498b13
test al, al
je 0x486b37
xor eax, eax
jmp 0x487342
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x486b30
lea edi, [ebx + 0x390]
xor esi, esi
cmp dword [edi], esi
je 0x486ba4
mov ecx, ebx
lea eax, [ebx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0xe4]
call fcn.004742cb
mov dword [ebp - 0xe4], 0x4e8bc8
mov dword [ebp - 0xdc], 0x4e8bdc
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 0x486ba0
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.0047864b
mov ecx, dword [0x7b1f44]
push edi
call fcn.0047195e
mov ecx, dword [ebx + 0x334]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x486beb
call fcn.00485ec2
push dword [ebx + 0x334]
mov ecx, dword [0x7b1f44]
push 5
call fcn.00471d4f
mov ecx, eax
call fcn.0048d577
mov esi, dword [ebx + 0x334]
lea eax, [ebp - 0xb0]
push 0
push 0x4e6258
push eax
lea ecx, [ebp + 8]
call fcn.00498f57
mov ecx, esi
push dword [eax]
call fcn.0048d2c6
mov ecx, dword [ebx + 0x334]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x486c34
push ecx
mov ecx, dword [0x7b1f44]
push 5
call fcn.00471d4f
mov ecx, eax
call fcn.0048d5c1
mov ecx, dword [ebx + 0x338]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x486c62
call fcn.0046ea87
push dword [ebx + 0x338]
mov ecx, dword [0x7b1f44]
push 7
call fcn.00471d4f
mov ecx, eax
call fcn.0046e975
mov esi, dword [ebx + 0x338]
lea eax, [ebp - 0xb0]
push 0
push 0x4dde28
push eax
lea ecx, [ebp + 8]
call fcn.00498f57
mov ecx, esi
push dword [eax]
call fcn.0046e6c1
mov ecx, dword [ebx + 0x338]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x486cab
push ecx
mov ecx, dword [0x7b1f44]
push 7
call fcn.00471d4f
mov ecx, eax
call fcn.0048d5c1
mov ecx, dword [ebx + 0x33c]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x486cd9
call fcn.00485e85
push dword [ebx + 0x33c]
mov ecx, dword [0x7b1f44]
push 6
call fcn.00471d4f
mov ecx, eax
call fcn.0048d577
mov esi, dword [ebx + 0x33c]
lea eax, [ebp - 0xb0]
push 0
push 0x4e928c
push eax
lea ecx, [ebp + 8]
call fcn.00498f57
mov ecx, esi
push dword [eax]
call fcn.0048d3cb
mov ecx, dword [ebx + 0x33c]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x486d22
push ecx
mov ecx, dword [0x7b1f44]
push 6
call fcn.00471d4f
mov ecx, eax
call fcn.0048d5c1
xor esi, esi
lea eax, [ebp - 0xb8]
push esi
push str.script
push eax
lea ecx, [ebp + 8]
call fcn.00498f57
cmp dword [edi], esi
je 0x486f24
lea ecx, [ebp - 0xb8]
call fcn.00498b39
test eax, eax
je 0x486f24
push esi
push 0x4ddc70
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00498ee6
lea ecx, [ebp - 0xbc]
call fcn.00498b39
test eax, eax
je 0x486e90
lea ecx, [ebp - 0xbc]
call fcn.0049a022
push eax
lea ecx, [ebp - 0xb4]
call fcn.004410ba
push esi
lea eax, [ebp - 0xb4]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.0049884f
add esp, 0xc
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff4
mov byte [ebp - 4], 4
cmp ecx, dword [0x7ac978]
je 0x486dce
call fcn.00444110
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.0046ff33
pop ecx
pop ecx
cmp eax, 2
jne 0x486e73
mov eax, dword [ebp - 0xd4]
mov ecx, dword [0x7b1f44]
push dword [eax + 4]
lea ecx, [ecx + 0x10]
push dword [eax]
call fcn.0046f9cc
mov esi, eax
test esi, esi
je 0x486e73
and dword [ebp - 0xac], 0
lea ecx, [ebp - 0xac]
push esi
call fcn.0046e318
mov eax, dword [ebp - 0xd4]
mov ecx, dword [0x7b1f44]
push esi
push dword [ebp - 0xac]
mov byte [ebp - 4], 6
push dword [eax + 4]
lea ecx, [ecx + 0x10]
push dword [eax]
call fcn.0046f94d
mov ecx, dword [edi]
push esi
push dword [ebp - 0xac]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0xac]
call fcn.0046e416
lea ecx, [ebp - 0xd4]
call fcn.0046f420
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 4], 7
jmp 0x486f10
lea ecx, [ebp - 0xb8]
call fcn.00498f9a
push eax
lea ecx, [ebp - 0xb4]
call fcn.004410ba
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 4], 8
cmp dword [eax - 8], esi
je 0x486f03
push 0xfde9
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00498751
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 [0x7ac978]
je 0x486f03
call fcn.00444110
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 4], 0xb
add ecx, 0xfffffff4
cmp ecx, dword [0x7ac978]
je 0x486f20
call fcn.00444110
or dword [ebp - 4], 0xffffffff
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [ebx + 0x248]
call esi
push 0xffffffffffffffec
push dword [ebx + 0x248]
mov edi, eax
call esi
lea esi, [ebx + 0x274]
mov dword [ebp - 0xb4], eax
mov ecx, esi
call fcn.00484565
mov edx, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [edx + 0x28]
mov edx, dword [ebx + 0x2dc]
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 0x486f96
or ecx, edi
or eax, 0x40000
jmp 0x486fa3
test edx, 0x40000
je 0x486fa3
or eax, 0x80
mov esi, eax
or esi, edi
and edx, edi
cmove esi, eax
mov eax, dword [ebx + 0x2e0]
test eax, eax
je 0x486fbe
mov ecx, eax
and ecx, 0xefffffff
mov eax, dword [ebx + 0x2e4]
lea edi, [ebx + 0x23c]
push 0
push ecx
test eax, eax
mov ecx, edi
push 0
cmovne esi, eax
call fcn.0048996d
push 0
push esi
push 0
mov ecx, edi
call fcn.004899bf
push 0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebx + 0x2ec]
call fcn.00476025
push dword [eax]
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff4
mov dword [ebp - 4], 0xc
cmp ecx, dword [0x7ac978]
je 0x487026
call fcn.00444110
or dword [ebp - 4], 0xffffffff
mov ecx, 0x80000
mov eax, dword [ebx + 0x2dc]
test ecx, eax
je 0x4870c3
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [ebx + 0x248]
call edi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [ebx + 0x248]
call esi
xor eax, eax
lea ecx, [ebx + 0x254]
push eax
push eax
push 0xa
push 0xa
push eax
push eax
push 0x8000080
push SysReAllocString
push str.SOUI_DUMMY_WND
call fcn.00489841
push 0xffffffffffffffec
push dword [ebx + 0x260]
call edi
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [ebx + 0x260]
call esi
push 2
push 0
push 0
push dword [ebx + 0x260]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 4
push dword [ebx + 0x260]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4870ef
test ecx, esi
jne 0x4870d7
cmp al, 0xff
je 0x4870ef
push 0
push ecx
push 0
mov ecx, edi
call fcn.004899bf
movzx eax, byte [ebx + 0x2dc]
push 2
push eax
push 0
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [ebx + 0x2f8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x48710f
push eax
push 0
push 0x80
push dword [ebx + 0x248]
call esi
mov eax, dword [ebx + 0x2fc]
test eax, eax
je 0x487129
push eax
push 1
push 0x80
push dword [ebx + 0x248]
call esi
push 0
push 0x4e0db0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp + 8]
call fcn.00498f57
lea ecx, [ebx + 4]
push dword [eax]
call fcn.0047619e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x487178
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2ac]
call fcn.0046ef59
mov edi, eax
test edi, edi
jg 0x487192
or edi, 0xffffffff
jmp 0x487192
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2ac]
movss dword [esp], xmm0
call fcn.0046ef3c
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x4871ba
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2b4]
call fcn.0046ef59
mov esi, eax
test esi, esi
jg 0x4871d4
or esi, 0xffffffff
jmp 0x4871d4
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2b4]
movss dword [esp], xmm0
call fcn.0046ef3c
test edi, edi
jle 0x4871e0
test esi, esi
jg 0x4872a8
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 0x483ed7
cmove esi, dword [ebp - 0xc0]
push eax
call fcn.0048358e
add esp, 0x10
push eax
push 0x1fa8
lea ecx, [ebx + 0x34]
mov dword [ebp - 4], 0xd
call fcn.00494323
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x2ac]
mov dword [ebp - method.SOUI::ISlotFunctor.virtual_0], vtable.SOUI::ISlotFunctor.0
call fcn.0046ee25
test al, al
je 0x487275
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x27c]
call fcn.0046ef3c
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x28c]
call fcn.0046ef3c
lea ecx, [ebx + 0x2b4]
call fcn.0046ee25
test al, al
je 0x4872a8
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x284]
call fcn.0046ef3c
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x294]
call fcn.0046ef3c
push 0x16
push esi
push edi
xor eax, eax
push eax
push eax
push eax
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x248]
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 + 0x328]
xor edi, edi
inc edi
mov dword [ebx + 0x320], edi
mov dword [ebx + 0x31c], 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.004742cb
mov dword [ebp - method.SOUI::SWindow.virtual_0], 0x4e8b68
mov dword [ebp - 0xfc], 0x4e8b7c
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.004a85a8
ret 0xc