Function at 0x46abe0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3e36
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x438
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
cmp dword [ebx + 0x1c], 0
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], edx
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x42c], ecx
jne 0x46bab1
mov eax, dword [ebx + 0xc]
cmp eax, dword [edi + 0x35c]
jne 0x46acad
push ecx
push dword [0x647910]
mov ecx, edi
mov dword [ebp - 0x20], 1
call fcn.00474190
test eax, eax
je 0x46ac8e
add eax, 0x278
cmp dword [eax], 0x3bc
jne 0x46ac8e
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
cmp dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x42c]
mov dword [ecx], 0
jne 0x46b26c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x43c]
cmp eax, 1
jne 0x46accd
push esi
mov ecx, edi
mov dword [edi + 0x358], eax
call fcn.0046ce40
mov ecx, dword [ebp - 0x42c]
mov dword [ecx], eax
jmp 0x46b113
cmp eax, 0x110
jne 0x46ae2b
xorps xmm0, xmm0
mov dword [edi + 0x358], 0
xor eax, eax
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
push 0x26
push str.4632C3B0_81F6_5546_D6D9_48E1F4DFE980
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], eax
call fcn.004294a0
cmp dword [ebp - 0x24], 7
lea eax, [ebp - 0x38]
mov ecx, dword [edi + 0x24]
cmova eax, dword [ebp - 0x38]
push ecx
push eax
push ecx
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [edi + 0x260]
lea ecx, [edi + 0x260]
push str.IXunYouCallManager
mov eax, dword [eax]
call eax
mov dword [ebp - 0x434], eax
lea esi, [ebp - 0x38]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
mov dword [ebp - 0x430], eax
cmova esi, dword [ebp - 0x38]
lea edx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x46ad60
sub esi, edx
lea edx, [ebp - 0x38]
sar esi, 1
cmp ecx, 7
cmova edx, dword [ebp - 0x38]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x46ad80
sub edx, ecx
lea eax, [esi*2 + 2]
sar edx, 1
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x24], 7
push eax
cmova ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
push edx
push ecx
mov ecx, dword [ebp - 0x434]
push 0x77
call dword [ebp - 0x430]
mov esi, dword [sym.imp.USER32.dll_ChangeWindowMessageFilterEx]
push 0
push 1
push 0x4a
push dword [edi + 0x24]
call esi
push 0
push 1
push dword [edi + 0x35c]
push dword [edi + 0x24]
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x46ae1a
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46ae10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46bad3
push ecx
push edx
call fcn.00543bbf
add esp, 8
mov ecx, dword [ebp - 0x42c]
mov dword [ecx], 1
jmp 0x46b235
cmp eax, 0x10
jne 0x46ae46
mov ecx, edi
mov dword [edi + 0x358], 1
call fcn.00471660
jmp 0x46b107
cmp eax, 2
jne 0x46af0f
mov ecx, dword [edi + 0x4c0]
mov dword [edi + 0x358], 0
mov byte [edi + 0x369], 1
test ecx, ecx
je 0x46ae6f
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [0x65279c]
push str.IXunYouImageManager
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test eax, eax
je 0x46ae8b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
mov ecx, dword [0x65279c]
push str.IXunYouImageManagerV2
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test eax, eax
je 0x46aea7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
mov edi, dword [edi + 0x3b4]
mov esi, dword [edi]
cmp esi, edi
je 0x46aec3
mov ecx, dword [esi + 8]
push 1
mov eax, dword [ecx]
call dword [eax + 0x14]
mov esi, dword [esi]
cmp esi, edi
jne 0x46aeb3
call fcn.00471e80
mov esi, eax
lea edi, [esi + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
test eax, eax
jne 0x46aeea
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x1c]
jmp 0x46b229
push str.InteractiveSetMainWnd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x46af07
push 0
call esi
mov edi, dword [ebp - 0x1c]
jmp 0x46b229
cmp eax, 0x113
jne 0x46b048
mov dword [edi + 0x358], 0
sub edx, 0xa
je 0x46af73
sub edx, 1
jne 0x46b107
mov eax, dword [edi]
push 0xb
push edi
call dword [eax + 0x84]
mov ecx, dword [edi + 0x3f4]
test ecx, ecx
je 0x46b107
mov eax, dword [ecx + 4]
add ecx, 4
push 0
push ecx
call dword [eax + 0x90]
test eax, eax
je 0x46b107
mov eax, dword [edi + 0x3f4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
jmp 0x46b107
mov eax, dword [edi]
push 0xa
push edi
call dword [eax + 0x84]
mov ecx, dword [edi + 0x4b4]
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x90]
test eax, eax
je 0x46afed
call dword [sym.imp.soui4.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
push str.valueani:toast_alpha_hide
lea ecx, [eax + 4]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x7c]
mov dword [ebp - 0x434], eax
test eax, eax
je 0x46afed
mov ecx, dword [eax]
mov edx, dword [ecx + 0x90]
lea ecx, [edi + 0x30c]
push ecx
push eax
call edx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx]
mov ecx, dword [eax + 0x7c]
lea eax, [edi + 0x310]
push eax
push edx
call ecx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx]
mov ecx, dword [eax + 0x98]
lea eax, [edi + 0x30]
push eax
push edx
call ecx
push ecx
mov ecx, dword [edi + 0x4b4]
push str.text_msg
call fcn.00404580
mov dword [ebp - 0x434], eax
call dword [sym.imp.soui4.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
mov ecx, dword [eax + 4]
add eax, 4
push str.ani:toast_text_hide
push eax
call dword [ecx + 0x74]
mov dword [ebp - 0x430], eax
test eax, eax
je 0x46b107
mov edx, dword [ebp - 0x434]
push eax
push edx
mov ecx, dword [edx]
call dword [ecx + 0x11c]
mov eax, dword [ebp - 0x430]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x46b107
cmp eax, 0x111
jne 0x46b06e
push ecx
movzx eax, dx
push eax
mov eax, edx
mov dword [edi + 0x358], 1
shr eax, 0x10
push eax
call fcn.00488a30
jmp 0x46b107
cmp eax, 0x112
jne 0x46b095
mov eax, esi
movsx ecx, si
shr eax, 0x10
cwde
push eax
push ecx
push edx
mov ecx, edi
mov dword [edi + 0x358], 1
call dword [sym.imp.soui4.dll_protected:_void___thiscall_SOUI::SHostWnd::OnSysCommand_unsigned_int__class_SOUI::CPoint_]
jmp 0x46b107
cmp eax, 0x4a
jne 0x46b0c7
push esi
push ecx
mov ecx, edi
mov dword [edi + 0x358], 1
call fcn.0046d350
mov ecx, dword [ebp - 0x42c]
mov dword [ecx], eax
cmp dword [edi + 0x358], 0
jne 0x46b26c
jmp 0x46b8b5
cmp eax, 0xa
jne 0x46b125
test edx, edx
mov dword [edi + 0x358], 0
lea ecx, [edi + 0x140]
setne al
movzx eax, al
push eax
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SHostWndAttr::SetSendWheel2Hover_bool_]
mov eax, dword [edi + 0x260]
lea ecx, [edi + 0x260]
push 0
push dword [ebp - 0x43c]
push 0x406e
call dword [eax + 0x34]
mov ecx, dword [ebp - 0x42c]
mov dword [ecx], 0
cmp dword [edi + 0x358], 0
jne 0x46b26c
jmp 0x46b8b5
cmp eax, 0x201
jne 0x46b249
movsx eax, si
mov dword [ebp - 0x434], eax
mov eax, esi
shr eax, 0x10
movsx esi, ax
push 8
mov dword [edi + 0x358], 1
mov dword [ebp - 0x430], esi
call fcn.00543bf7
mov edx, eax
sub esp, 0x24
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x18], edx
mov dword [edx], eax
mov eax, esp
mov dword [edx + 4], esi
mov ecx, dword [edi + 0x260]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_CMainDlg::OnLButtonDown_unsigned_int__class_SOUI::CPoint_::_2::_lambda_1___void___.0
mov dword [eax + 4], edx
mov esi, dword [ecx + 0x34]
mov dword [eax + 0x24], eax
call fcn.0043ae90
add esp, 0x28
lea ecx, [edi + 0x260]
push eax
push dword [ebp - 0x18]
push 0x404e
call esi
mov eax, dword [edi + 0x494]
test eax, eax
je 0x46b21f
mov ecx, dword [eax + 0xc]
add eax, 0xc
push eax
call dword [ecx + 0xb4]
test eax, eax
je 0x46b21f
mov ecx, dword [edi + 0x494]
lea edx, [ebp - 0x58]
add ecx, 0xc
push edx
mov eax, dword [ecx]
call dword [eax + 0x220]
mov ecx, dword [edi + 0x490]
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x220]
push dword [ebp - 0x430]
mov esi, dword [ebp - 0x434]
lea eax, [ebp - 0x58]
push esi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x46b21f
push dword [ebp - 0x430]
lea eax, [ebp - 0x30]
push esi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x46b21f
mov eax, dword [edi + 0x494]
add eax, 0xc
push eax
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov dword [edi + 0x358], 0
mov ecx, dword [ebp - 0x42c]
mov dword [ecx], 0
cmp dword [edi + 0x358], 0
jne 0x46b26c
mov esi, dword [ebp - 0x438]
jmp 0x46b8b5
cmp eax, 0x40e
jne 0x46b276
sub esp, 8
mov dword [edi + 0x358], 1
mov ecx, edi
call fcn.0046d640
mov ecx, dword [ebp - 0x42c]
mov dword [ecx], eax
mov eax, 1
jmp 0x46bab3
cmp eax, 0x402
jne 0x46b3ab
mov eax, dword [edi + 0x260]
lea ecx, [edi + 0x260]
push str.IXunYouCallManager
mov dword [edi + 0x358], 1
mov eax, dword [eax]
call eax
mov dword [ebp - 0x18], 4
mov ecx, 1
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x46b2c7
mov edx, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push 3
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [ebp - 0x1c]
push ecx
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x4b8]
mov dword [ebp - 0x430], eax
test eax, eax
je 0x46b33d
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x430]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x46b304
lea eax, [ecx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x46b33d
push str.XunYouOnInitializeOK
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x440], eax
test eax, eax
mov eax, dword [ebp - 0x430]
jne 0x46b32c
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x46b33d
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [ebp - 0x440]
mov eax, dword [edi + 0x260]
lea ecx, [edi + 0x260]
push 0
push esi
push 0x4001
call dword [eax + 0x34]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46b36c
cmp eax, 6
je 0x46b36c
cmp eax, 7
je 0x46b36c
mov ecx, edi
call fcn.0046f770
mov eax, dword [edi + 0x260]
lea ecx, [edi + 0x260]
push str.IXunYouSDKManager
mov eax, dword [eax]
call eax
test eax, eax
je 0x46b899
mov edx, dword [eax]
mov ecx, eax
push 0xca
call dword [edx + 4]
mov ecx, dword [ebp - 0x42c]
mov eax, 1
mov dword [ecx], 0
jmp 0x46bab3
cmp eax, 0x404
jne 0x46b411
mov dword [edi + 0x358], 1
mov dword [ebp - 0x18], esi
test esi, esi
je 0x46b899
cmp dword [edi + 0x36c], 0
je 0x46b3f5
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x370]
call fcn.00472040
mov ecx, dword [ebp - 0x42c]
mov eax, 1
mov dword [ecx], 0
jmp 0x46bab3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0x42c]
mov eax, 1
mov dword [ecx], 0
jmp 0x46bab3
cmp eax, 0x405
jne 0x46b50c
movzx eax, dx
lea ecx, [edi + 0x260]
mov dword [ebp - 0x434], eax
mov eax, dword [ecx]
shr edx, 0x10
push 1
mov dword [edi + 0x358], 1
mov dword [ebp - 0x43c], edx
mov dword [ebp - 0x430], 0
call dword [eax + 0xa0]
mov eax, dword [ebp - 0x43c]
cmp eax, 1
jne 0x46b478
mov eax, dword [edi]
mov ecx, edi
push esi
push dword [ebp - 0x434]
mov eax, dword [eax + 0x150]
call eax
mov dword [ebp - 0x430], eax
jmp 0x46b4e0
cmp eax, 2
jne 0x46b49b
mov ecx, dword [edi + 0x4b8]
test ecx, ecx
je 0x46b4e0
push esi
push dword [ebp - 0x434]
call fcn.004358e0
mov dword [ebp - 0x430], eax
jmp 0x46b4e0
mov edi, dword [edi + 0x3b4]
mov esi, dword [edi]
cmp esi, edi
je 0x46b4dd
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
cmp eax, dword [ebp - 0x43c]
je 0x46b4c1
mov esi, dword [esi]
cmp esi, edi
jne 0x46b4a7
jmp 0x46b4dd
mov ecx, dword [esi + 8]
push dword [ebp - 0x438]
push dword [ebp - 0x434]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov dword [ebp - 0x430], eax
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x260]
lea ecx, [edi + 0x260]
push 0
call dword [eax + 0xa0]
mov ecx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0x430]
mov dword [ecx], eax
mov eax, 1
jmp 0x46bab3
cmp eax, 0x406
jne 0x46b5f7
mov eax, dword [edi + 0x260]
lea ecx, [edi + 0x260]
push 1
mov dword [edi + 0x358], 1
call dword [eax + 0xa0]
mov eax, dword [edi]
mov ecx, edi
push esi
push dword [ebp - 0x43c]
call dword [eax + 0x150]
call fcn.004729c0
mov esi, eax
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
test eax, eax
jne 0x46b56a
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x46b59e
push str.XunYouKernelBaseOnNotify
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
test eax, eax
lea eax, [esi + 0xc]
push eax
jne 0x46b589
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x46b59e
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x438]
push dword [ebp - 0x43c]
call dword [ebp - 0x18]
mov edi, dword [edi + 0x3b4]
mov esi, dword [edi]
cmp esi, edi
je 0x46b5ca
nop word [eax + eax]
mov ecx, dword [esi + 8]
push dword [ebp - 0x438]
push dword [ebp - 0x43c]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov esi, dword [esi]
cmp esi, edi
jne 0x46b5b0
mov eax, dword [ebp - 0x1c]
push 0
mov edx, dword [eax + 0x260]
lea ecx, [eax + 0x260]
call dword [edx + 0xa0]
mov ecx, dword [ebp - 0x42c]
mov eax, 1
mov dword [ecx], 0
jmp 0x46bab3
cmp eax, 0x407
jne 0x46b623
push esi
push edx
mov ecx, edi
mov dword [edi + 0x358], 1
call fcn.0046db60
mov ecx, dword [ebp - 0x42c]
mov dword [ecx], eax
mov eax, 1
jmp 0x46bab3
cmp eax, 0x408
jne 0x46b644
mov dword [edi + 0x358], 1
mov eax, 1
mov dword [ecx], 0
jmp 0x46bab3
cmp eax, 0x409
jne 0x46b6da
mov dword [edi + 0x358], 1
test esi, esi
je 0x46b899
push ecx
push dword [0x647910]
mov ecx, edi
call fcn.00474190
mov edi, eax
test edi, edi
je 0x46b6b1
mov ecx, dword [edi]
push 0x5ed120
mov esi, dword [ecx + 0x214]
lea ecx, [ebp - 0x54]
call dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_wchar_t_const__]
push 0
push dword [ebp - 0x438]
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call esi
lea ecx, [ebp - 0x54]
call dword [sym.imp.utilities4.dll_public_virtual:_void___thiscall_SOUI::SStringW::destructor_void_]
mov esi, dword [ebp - 0x438]
mov ecx, esi
call dword [sym.imp.utilities4.dll_public_virtual:_void___thiscall_SOUI::SStringW::destructor_void_]
push 0xc
push esi
call fcn.00543bbf
mov ecx, dword [ebp - 0x42c]
add esp, 8
mov eax, 1
mov dword [ecx], 0
jmp 0x46bab3
cmp eax, 0x40a
jne 0x46b7dd
mov dword [edi + 0x358], 1
test esi, esi
je 0x46b899
push ecx
push dword [0x647910]
mov ecx, edi
call fcn.00474190
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x46b7a7
lea ecx, [esi + 0xc]
mov esi, dword [sym.imp.utilities4.dll_public:_wchar_t_const____thiscall_SOUI::SStringW::operator_wchar_t_const__void_const]
call esi
mov ecx, dword [ebp - 0x438]
mov dword [ebp - 0x440], eax
call esi
lea esi, [edi + 0x278]
mov ecx, 0xef
lea edi, [ebp - 0x428]
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x46b776
push eax
lea eax, [ebp - 0x308]
push 0x100
push eax
call fcn.005851d8
mov eax, dword [ebp - 0x18]
add esp, 0xc
or dword [ebp - 0x41c], 0x12
mov ecx, dword [eax + 0x638]
mov eax, dword [eax + 0x250]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x440]
test eax, eax
je 0x46b792
push eax
lea eax, [ebp - 0x104]
push 0x40
push eax
call fcn.005851d8
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov esi, dword [ebp - 0x438]
lea ecx, [esi + 0xc]
mov esi, dword [sym.imp.utilities4.dll_public_virtual:_void___thiscall_SOUI::SStringW::destructor_void_]
call esi
mov edi, dword [ebp - 0x438]
mov ecx, edi
call esi
push 0x18
push edi
call fcn.00543bbf
mov ecx, dword [ebp - 0x42c]
add esp, 8
mov eax, 1
mov dword [ecx], 0
jmp 0x46bab3
cmp eax, 0x40d
jne 0x46b809
push esi
push edx
mov ecx, edi
mov dword [edi + 0x358], 1
call fcn.0046e180
mov ecx, dword [ebp - 0x42c]
mov dword [ecx], eax
mov eax, 1
jmp 0x46bab3
cmp eax, 0x401
jne 0x46b8af
cmp byte [edi + 0x368], 0
mov dword [edi + 0x358], 1
je 0x46b899
cmp edx, eax
jne 0x46b899
cmp esi, eax
jne 0x46b899
mov eax, dword [edi + 0x4c8]
lea esi, [edi + 0x4c8]
push esi
mov byte [edi + 0x369], 1
mov byte [0x652771], 1
call dword [eax + 0x54]
test eax, eax
je 0x46b857
mov eax, dword [esi]
push esi
call dword [eax + 0x50]
mov eax, dword [edi + 0x260]
lea ecx, [edi + 0x260]
lea esi, [edi + 0x750]
push esi
call dword [eax + 0xc8]
mov eax, dword [esi]
push esi
call dword [eax + 0x54]
test eax, eax
je 0x46b880
mov eax, dword [esi]
push esi
call dword [eax + 0x50]
mov eax, dword [edi]
push 0x10010
push 0xc8
push edi
call dword [eax + 0x128]
mov eax, dword [edi]
push edi
call dword [eax + 0x50]
mov ecx, dword [ebp - 0x42c]
mov eax, 1
mov dword [ecx], 0
jmp 0x46bab3
mov ecx, dword [ebp - 0x42c]
push 0
push ecx
push esi
push dword [ebp - 0x43c]
lea ecx, [edi + 4]
push dword [ebx + 0xc]
push dword [ebp - 0x440]
call dword [sym.imp.soui4.dll_public_virtual:_int___thiscall_SOUI::SHostWnd::ProcessWindowMessage_struct_HWND_____unsigned_int__unsigned_int__long_int__long_int___unsigned_long_int_]
test eax, eax
jne 0x46b26c
push ecx
push dword [ebp - 0x42c]
lea ecx, [edi + 0x2f8]
sub esp, 8
push dword [ebx + 0xc]
push dword [ebp - 0x440]
call fcn.00472390
test eax, eax
jne 0x46b26c
mov eax, dword [ebx + 0xc]
lea ecx, [edi + 0x308]
cmp eax, 0x110
jne 0x46b93e
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test al, al
je 0x46b92f
mov eax, dword [edi + 0x308]
lea ecx, [edi + 0x308]
push 1
push 0xff000000
call dword [eax + 4]
mov eax, dword [ebp - 0x42c]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
lea ecx, [edi + 0x338]
mov dword [ebp - 0x18], 0
test ecx, ecx
mov dword [ebp - 0x444], ecx
mov edx, edi
cmove edx, dword [ebp - 0x18]
mov dword [ebp - 0x18], edx
cmp eax, 0x47
jne 0x46ba71
lea eax, [ebp - 0x68]
mov ecx, edx
push eax
call dword [sym.imp.soui4.dll_public:_class_SOUI::CRect___thiscall_SOUI::SHostWnd::GetWindowRect_void_]
mov eax, dword [edi + 0x33c]
mov esi, dword [eax]
cmp esi, eax
je 0x46ba5f
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x438]
add eax, 0x30
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
push dword [esi + 0xc]
movups xmmword [ebp - 0x48], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x440]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x434], eax
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx, dword [esi + 0x14]
imul ecx
mov ecx, dword [ebp - 0x440]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x430], eax
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx, dword [esi + 0x10]
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x434]
imul ecx
push dword [ebp - 0x430]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebp - 0x68]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_MoveWindow]
test byte [edi + 0x18], 0x80
je 0x46ba3a
push 0
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
test byte [edi + 0x18], 0x40
je 0x46ba4b
push 4
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x444]
mov esi, dword [esi]
cmp esi, dword [eax + 4]
jne 0x46b993
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x42c]
mov esi, dword [ebp - 0x438]
mov dword [eax], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push esi
push dword [ebp - 0x43c]
mov esi, dword [ebx + 0xc]
lea ecx, [edi + 4]
push esi
call dword [sym.imp.soui4.dll_public:_long_int___thiscall_SOUI::SNativeWnd::ReflectNotifications_unsigned_int__unsigned_int__long_int__int__]
mov ecx, dword [ebp - 0x42c]
mov dword [ecx], eax
test eax, eax
jne 0x46baa7
lea eax, [esi - 0x132]
cmp eax, 6
jbe 0x46bab1
xor eax, eax
cmp dword [ebp - 0x20], eax
setne al
jmp 0x46bab3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call fcn.00560663
int3