Function at 0x4a6e71
Capabilities:
Hide graphical window

Disassembly:
push 0x118
mov eax, 0x6e5db6
call fcn.0062ace4
mov ebx, ecx
lea ecx, [ebp + 8]
call fcn.0048585d
test al, al
je 0x4a6e95
xor eax, eax
jmp 0x4a76d6
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a6e8e
lea esi, [ebx + 0x390]
cmp dword [esi], 0
je 0x4a6f02
mov ecx, ebx
lea eax, [ebx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x104]
call fcn.00424950
mov dword [ebp - method.SOUI::TObjRefImpl_struct_IObjRef_.virtual_0], 0x6f7d20
mov dword [ebp - 0xfc], 0x6f7d34
and dword [ebp - 4], 0
lea edi, [ebx + 4]
mov eax, dword [edi]
lea ecx, [ebp - 0x104]
push ecx
mov ecx, edi
call dword [eax + 0x94]
push 0
mov ecx, esi
call fcn.004a36f8
or dword [ebp - 4], 0xffffffff
jmp 0x4a6f05
lea edi, [ebx + 4]
push 0
push 0
push 0
push 2
mov ecx, edi
call fcn.00491468
mov ecx, dword [0x7c5ac0]
push esi
call fcn.004964e1
mov edi, dword [ebx + 0x334]
mov eax, dword [edi + 8]
cmp dword [eax + 4], 0
je 0x4a6f56
mov ecx, edi
call fcn.004a5fdc
push dword [ebx + 0x334]
mov ecx, dword [0x7c5ac0]
push 5
call fcn.00496a71
mov ecx, eax
call fcn.004b1ddd
mov edi, dword [ebx + 0x334]
push 0
push 0x6f7304
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 8]
call fcn.00486c60
mov ecx, edi
push dword [eax]
call fcn.004b1a11
mov ecx, dword [ebx + 0x334]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x4a6f99
push ecx
mov ecx, dword [0x7c5ac0]
push 5
call fcn.00496a71
mov ecx, eax
call fcn.004b1e6b
mov edi, dword [ebx + 0x338]
mov eax, dword [edi + 8]
cmp dword [eax + 4], 0
je 0x4a6fcf
mov ecx, edi
call fcn.0049e3a9
push dword [ebx + 0x338]
mov ecx, dword [0x7c5ac0]
push 7
call fcn.00496a71
mov ecx, eax
call fcn.0049e27c
mov edi, dword [ebx + 0x338]
push 0
push str.skin
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 8]
call fcn.00486c60
mov ecx, edi
push dword [eax]
call fcn.0049dfa5
mov ecx, dword [ebx + 0x338]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x4a7012
push ecx
mov ecx, dword [0x7c5ac0]
push 7
call fcn.00496a71
mov ecx, eax
call fcn.0049e2d1
mov edi, dword [ebx + 0x33c]
mov eax, dword [edi + 8]
cmp dword [eax + 4], 0
je 0x4a7048
mov ecx, edi
call fcn.004a5f9f
push dword [ebx + 0x33c]
mov ecx, dword [0x7c5ac0]
push 6
call fcn.00496a71
mov ecx, eax
call fcn.004b1e24
mov edi, dword [ebx + 0x33c]
push 0
push 0x6f83cc
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 8]
call fcn.00486c60
mov ecx, edi
push dword [eax]
call fcn.004b1b16
mov ecx, dword [ebx + 0x33c]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x4a708b
push ecx
mov ecx, dword [0x7c5ac0]
push 6
call fcn.00496a71
mov ecx, eax
call fcn.004b1e88
xor edi, edi
lea eax, [ebp - 0xb8]
push edi
push str.script
push eax
lea ecx, [ebp + 8]
call fcn.00486c60
cmp dword [esi], edi
je 0x4a7295
lea ecx, [ebp - 0xb8]
call fcn.00485994
test eax, eax
je 0x4a7295
push edi
push 0x772618
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00486ba2
lea ecx, [ebp - 0xbc]
call fcn.00485987
test eax, eax
je 0x4a7201
lea ecx, [ebp - 0xbc]
call fcn.0048b8b2
push eax
lea ecx, [ebp - 0xb0]
call fcn.00426210
push edi
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0048be91
add esp, 0xc
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff4
mov byte [ebp - 4], 4
cmp ecx, dword [section..data]
je 0x4a7137
call fcn.004264f0
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc0], edi
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0049102d
pop ecx
pop ecx
cmp eax, 2
jne 0x4a71e4
mov edi, dword [ebp - 0xcc]
mov ecx, dword [0x7c5ac0]
push dword [edi + 4]
lea ecx, [ecx + 0x10]
push dword [edi]
call fcn.0049c724
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x4a71e4
and dword [ebp - 0xac], 0
lea ecx, [ebp - 0xac]
push eax
call fcn.00495972
push dword [ebp - 0xb0]
mov ecx, dword [0x7c5ac0]
push dword [ebp - 0xac]
mov byte [ebp - 4], 6
push dword [edi + 4]
lea ecx, [ecx + 0x10]
push dword [edi]
call fcn.0049c6a5
mov ecx, dword [esi]
push dword [ebp - 0xb0]
push dword [ebp - 0xac]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0xac]
call fcn.004967f2
lea ecx, [ebp - 0xcc]
call fcn.0048c27b
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 4], 7
jmp 0x4a7281
lea ecx, [ebp - 0xb8]
call fcn.00486cc0
push eax
lea ecx, [ebp - 0xb0]
call fcn.00426210
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 4], 8
cmp dword [eax - 8], edi
je 0x4a7274
push 0xfde9
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0048bd93
add esp, 0xc
mov eax, dword [ebp - 0xb4]
mov ecx, dword [esi]
mov byte [ebp - 4], 9
push dword [eax - 8]
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff4
mov byte [ebp - 4], 0xa
cmp ecx, dword [section..data]
je 0x4a7274
call fcn.004264f0
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 4], 0xb
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x4a7291
call fcn.004264f0
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 - 0xb0], eax
mov ecx, esi
call fcn.004a45ed
mov edx, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [edx + 0x28]
mov eax, dword [ebx + 0x2dc]
mov ecx, 0x20000
mov esi, dword [ebp - 0xb0]
mov edx, eax
and edx, 0x10000
neg edx
sbb edx, edx
and edx, 0x50000
add edx, ecx
or edx, edi
test ecx, eax
je 0x4a7307
or edx, 0x80000
or esi, 0x40000
jmp 0x4a7314
test eax, 0x40000
je 0x4a7314
or esi, 0x80
mov edi, dword [ebx + 0x2e4]
and eax, 0x80000
mov ecx, dword [ebx + 0x2e0]
mov dword [ebp - 0xb4], eax
mov eax, esi
or eax, 0x80000
cmp dword [ebp - 0xb4], 0
push 0
cmove eax, esi
test edi, edi
lea esi, [ebx + 0x23c]
cmove edi, eax
mov eax, ecx
and eax, 0xefffffff
test ecx, ecx
mov ecx, esi
cmove eax, edx
push eax
push 0
call fcn.004a274f
push 0
push edi
push 0
mov ecx, esi
call fcn.004a27a1
push 0
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebx + 0x2ec]
call fcn.0048ec53
push dword [eax]
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff4
mov dword [ebp - 4], 0xc
cmp ecx, dword [section..data]
je 0x4a73aa
call fcn.004264f0
or dword [ebp - 4], 0xffffffff
mov ecx, 0x80000
mov eax, dword [ebx + 0x2dc]
test ecx, eax
je 0x4a7447
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.004a2530
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 0x4a7473
test ecx, edi
jne 0x4a745b
cmp al, 0xff
je 0x4a7473
push 0
push ecx
push 0
mov ecx, esi
call fcn.004a27a1
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 0x4a7493
push eax
push 0
push 0x80
push dword [ebx + 0x248]
call esi
mov eax, dword [ebx + 0x2fc]
test eax, eax
je 0x4a74ad
push eax
push 1
push 0x80
push dword [ebx + 0x248]
call esi
push 0
push str.root
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 8]
call fcn.00486c60
lea ecx, [ebx + 4]
push dword [eax]
call fcn.0048edde
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4a74fc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2ac]
call fcn.0049d581
mov edi, eax
test edi, edi
jg 0x4a7516
or edi, 0xffffffff
jmp 0x4a7516
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2ac]
movss dword [esp], xmm0
call fcn.0049d564
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x4a753e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2b4]
call fcn.0049d581
mov esi, eax
test esi, esi
jg 0x4a7558
or esi, 0xffffffff
jmp 0x4a7558
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2b4]
movss dword [esp], xmm0
call fcn.0049d564
test edi, edi
jle 0x4a7564
test esi, esi
jg 0x4a763c
lea ecx, [ebx + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push esi
push edi
push edx
call dword [eax + 0xb8]
cmp edi, 0xffffffff
mov dword [ebp - 0xe4], vtable.SOUI::MemberFunctionSlot_class_SOUI::SHostWnd__class_SOUI::EventArgs_.0
mov dword [ebp - 0xdc], 0x4a3760
cmove edi, dword [ebp - 0xc4]
cmp esi, 0xffffffff
mov dword [ebp - 0xd4], ebx
cmove esi, dword [ebp - 0xc0]
and dword [ebp - 0xd8], 0
lea eax, [ebp - 0xe4]
mov dword [ebp - 4], 0xd
push eax
push 0x1fa8
lea ecx, [ebx + 0x34]
call fcn.0049ef09
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x2ac]
mov dword [ebp - 0xe4], vtable.SOUI::ISlotFunctor.0
call fcn.0049d44d
test al, al
je 0x4a7609
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x27c]
call fcn.0049d564
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x28c]
call fcn.0049d564
lea ecx, [ebx + 0x2b4]
call fcn.0049d44d
test al, al
je 0x4a763c
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x284]
call fcn.0049d564
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x294]
call fcn.0049d564
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 - 0x124]
push eax
call fcn.00424950
mov dword [ebp - method.SOUI::TObjRefImpl_struct_IObjRef_.virtual_0], 0x6f7cc0
mov dword [ebp - 0x11c], 0x6f7cd4
mov edx, dword [esi]
lea ecx, [ebp - 0x124]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xe
call dword [edx + 0x94]
mov eax, edi
call fcn.0062ac8e
ret 0xc