Function at 0x10021638
Capabilities:
Hide graphical window

Disassembly:
push 0x110
mov eax, 0x1012a5b9
call fcn.1008de68
mov ebx, ecx
lea ecx, [ebp + 8]
call fcn.10102ebd
test al, al
je 0x1002165c
xor eax, eax
jmp 0x10021e4e
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10021655
lea esi, [ebx + 0x390]
cmp dword [esi], 0
je 0x100216c4
xor ecx, ecx
lea eax, [ebx + 4]
test ebx, ebx
cmove eax, ecx
lea ecx, [ebp - 0xe4]
push eax
call fcn.1001d012
mov dword [ebp - 0xe4], 0x10135f44
mov dword [ebp - 0xdc], 0x10135f58
and dword [ebp - 4], 0
lea ecx, [ebx + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0xe4]
push edx
call dword [eax + 0x94]
push 0
mov ecx, esi
call fcn.1001d987
or dword [ebp - 4], 0xffffffff
push 0
push 0
push 0
push 2
lea ecx, [ebx + 4]
call fcn.10027723
mov ecx, dword [0x1018b4e0]
push esi
call fcn.1001480e
mov edi, dword [ebx + 0x334]
mov eax, dword [edi + 8]
cmp dword [eax + 4], 0
je 0x10021716
mov ecx, edi
call fcn.100206e1
push dword [ebx + 0x334]
mov ecx, dword [0x1018b4e0]
push 5
call fcn.10014e18
mov ecx, eax
call fcn.1002fb11
mov edi, dword [ebx + 0x334]
push 0
push 0x1013609c
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp + 8]
call fcn.101042c3
mov ecx, edi
push dword [eax]
call fcn.1002f741
mov ecx, dword [ebx + 0x334]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x10021759
push ecx
mov ecx, dword [0x1018b4e0]
push 5
call fcn.10014e18
mov ecx, eax
call fcn.1002fb9f
mov edi, dword [ebx + 0x338]
mov eax, dword [edi + 8]
cmp dword [eax + 4], 0
je 0x1002178f
mov ecx, edi
call fcn.10020667
push dword [ebx + 0x338]
mov ecx, dword [0x1018b4e0]
push 7
call fcn.10014e18
mov ecx, eax
call fcn.1002982c
mov edi, dword [ebx + 0x338]
push 0
push str.skin
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp + 8]
call fcn.101042c3
mov ecx, edi
push dword [eax]
call fcn.100295b2
mov ecx, dword [ebx + 0x338]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x100217d2
push ecx
mov ecx, dword [0x1018b4e0]
push 7
call fcn.10014e18
mov ecx, eax
call fcn.10029881
mov edi, dword [ebx + 0x33c]
mov eax, dword [edi + 8]
cmp dword [eax + 4], 0
je 0x10021808
mov ecx, edi
call fcn.100206a4
push dword [ebx + 0x33c]
mov ecx, dword [0x1018b4e0]
push 6
call fcn.10014e18
mov ecx, eax
call fcn.1002fb58
mov edi, dword [ebx + 0x33c]
push 0
push 0x10136754
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp + 8]
call fcn.101042c3
mov ecx, edi
push dword [eax]
call fcn.1002f837
mov ecx, dword [ebx + 0x33c]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x1002184b
push ecx
mov ecx, dword [0x1018b4e0]
push 6
call fcn.10014e18
mov ecx, eax
call fcn.1002fbbc
xor edi, edi
lea eax, [ebp - 0xb8]
push edi
push str.script
push eax
lea ecx, [ebp + 8]
call fcn.101042c3
cmp dword [esi], edi
je 0x10021a13
lea ecx, [ebp - 0xb8]
call fcn.10102ff6
test eax, eax
je 0x10021a13
push edi
push 0x10133b30
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xb8]
call fcn.10104203
lea ecx, [ebp - 0xbc]
call fcn.10102fe9
test eax, eax
je 0x100219a0
lea ecx, [ebp - 0xbc]
call fcn.1010904e
push eax
lea ecx, [ebp - 0xb4]
call fcn.100026c0
push edi
lea eax, [ebp - 0xb4]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10010ab7
add esp, 0xc
lea ecx, [ebp - 0xb4]
call fcn.10002740
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], edi
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10017b0c
pop ecx
pop ecx
cmp eax, 2
jne 0x1002198d
mov eax, dword [ebp - 0xd4]
mov ecx, dword [0x1018b4e0]
push dword [eax + 4]
lea ecx, [ecx + 0x10]
push dword [eax]
call fcn.1001c177
mov edi, eax
test edi, edi
je 0x1002198d
and dword [ebp - 0xac], 0
lea ecx, [ebp - 0xac]
push edi
call fcn.10013bc9
mov eax, dword [ebp - 0xd4]
mov ecx, dword [0x1018b4e0]
push edi
push dword [ebp - 0xac]
mov byte [ebp - 4], 5
push dword [eax + 4]
lea ecx, [ecx + 0x10]
push dword [eax]
call fcn.1001c0ee
mov ecx, dword [esi]
push edi
push dword [ebp - 0xac]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0xac]
call fcn.10014b33
lea ecx, [ebp - 0xd4]
call fcn.10011fd7
lea ecx, [ebp - 0xb0]
jmp 0x10021a0a
lea ecx, [ebp - 0xb8]
call fcn.10104323
push eax
lea ecx, [ebp - 0xb4]
call fcn.100026c0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 4], 6
cmp dword [eax - 8], edi
je 0x10021a04
push 0xfde9
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.100109d3
add esp, 0xc
mov eax, dword [ebp - 0xb0]
mov ecx, dword [esi]
mov byte [ebp - 4], 7
push dword [eax - 8]
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
lea ecx, [ebp - 0xb0]
call fcn.1000e5b0
lea ecx, [ebp - 0xb4]
or dword [ebp - 4], 0xffffffff
call fcn.10002740
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.1001ea75
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 - 0xb4]
mov edx, eax
and edx, 0x10000
neg edx
sbb edx, edx
and edx, 0x50000
add edx, ecx
or edx, edi
test ecx, eax
je 0x10021a85
or edx, 0x80000
or esi, 0x40000
jmp 0x10021a92
test eax, 0x40000
je 0x10021a92
or esi, 0x80
mov edi, dword [ebx + 0x2e4]
and eax, 0x80000
mov ecx, dword [ebx + 0x2e0]
mov dword [ebp - 0xb0], eax
mov eax, esi
or eax, 0x80000
cmp dword [ebp - 0xb0], 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.100225fb
push 0
push edi
push 0
mov ecx, esi
call fcn.1002264d
push 0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebx + 0x2ec]
call fcn.100251f8
push dword [eax]
push dword [ebx + 0x248]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0xb0]
call fcn.10002740
mov eax, dword [ebx + 0x2dc]
mov ecx, 0x80000
test ecx, eax
je 0x10021baf
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.100223d5
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 0x10021bed
and edi, ecx
jne 0x10021bb7
cmp al, 0xff
je 0x10021bed
mov byte [ebp - 0xb0], al
test edi, edi
jne 0x10021bd7
push edi
push ecx
push edi
mov ecx, esi
call fcn.1002264d
mov al, byte [ebx + 0x2dc]
mov byte [ebp - 0xb0], al
push 2
push dword [ebp - 0xb0]
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 0x10021c0d
push eax
push 0
push 0x80
push dword [ebx + 0x248]
call esi
mov eax, dword [ebx + 0x2fc]
test eax, eax
je 0x10021c27
push eax
push 1
push 0x80
push dword [ebx + 0x248]
call esi
push 0
push str.root
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp + 8]
call fcn.101042c3
lea ecx, [ebx + 4]
push dword [eax]
call fcn.10025364
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
mov edi, dword [ebp + 0xc]
lea esi, [ebx + 0x2ac]
test edi, edi
jne 0x10021c78
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
mov ecx, esi
call fcn.10028cd9
mov edi, eax
test edi, edi
jg 0x10021c8e
or edi, 0xffffffff
jmp 0x10021c8e
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push 0
push ecx
mov ecx, esi
movss dword [esp], xmm0
call fcn.10028cbc
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x10021cb6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2b4]
call fcn.10028cd9
mov esi, eax
test esi, esi
jg 0x10021cd0
or esi, 0xffffffff
jmp 0x10021cd0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2b4]
movss dword [esp], xmm0
call fcn.10028cbc
test edi, edi
jle 0x10021cdc
test esi, esi
jg 0x10021db4
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 - 0xfc], vtable.SOUI::MemberFunctionSlot_class_SOUI::SHostWnd__class_SOUI::EventArgs_.0
mov dword [ebp - 0xf4], 0x1001d9ef
cmove edi, dword [ebp - 0xc4]
cmp esi, 0xffffffff
mov dword [ebp - 0xec], ebx
cmove esi, dword [ebp - 0xc0]
and dword [ebp - 0xf0], 0
lea eax, [ebp - 0xfc]
mov dword [ebp - 4], 8
push eax
push 0x1fa8
lea ecx, [ebx + 0x34]
call fcn.10067343
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x2ac]
mov dword [ebp - 0xfc], vtable.SOUI::ISlotFunctor.0
call fcn.10028b70
test al, al
je 0x10021d81
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x27c]
call fcn.10028cbc
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x28c]
call fcn.10028cbc
lea ecx, [ebx + 0x2b4]
call fcn.10028b70
test al, al
je 0x10021db4
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x284]
call fcn.10028cbc
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x294]
call fcn.10028cbc
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 - 0x11c]
push eax
call fcn.1001d012
mov dword [ebp - method.SOUI::SWindow.virtual_0], 0x10135ee4
mov dword [ebp - 0x114], 0x10135ef8
mov edx, dword [esi]
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, esi
mov dword [ebp - 4], 9
call dword [edx + 0x94]
mov eax, edi
call fcn.1008de12
ret 0xc