Function at 0x4862e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x537700]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x1098]
mov dword [esp + 0x18], esi
mov dword [esi + 0x34c], edi
mov dword [esi + 0x350], 0
mov eax, dword [ecx]
mov dword [esp + 0x28], edi
mov eax, dword [eax + 4]
call eax
mov dword [esi + 0x354], eax
mov ecx, edi
mov eax, dword [esi + 0x34c]
mov esi, dword [eax + 0x1138]
mov eax, dword [eax + 0x113c]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov dword [esp + 0x2c], esi
mov eax, dword [eax + 0x30]
call eax
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
movaps xmmword [esp + 0x30], xmm0
psrldq xmm0, 0xc
movd dword [esp + 0x54], xmm0
test esi, esi
jle 0x486378
lea eax, [esi + ecx]
mov dword [esp + 0x58], eax
jmp 0x48637c
mov eax, dword [esp + 0x58]
sub eax, ecx
mov dword [esp + 0x14], 0
add edi, 0x1064
mov dword [esp + 0x24], eax
xor esi, esi
mov ecx, edi
mov dword [esp + 0x1c], esi
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jle 0x4863f7
mov eax, dword [edi]
mov ecx, edi
push esi
mov eax, dword [eax]
call eax
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0xc8]
call edx
test al, al
je 0x4863e1
push dword [esp + 0x20]
mov edx, dword [esi]
lea eax, [esp + 0x4c]
push dword [esp + 0x28]
mov ecx, esi
push eax
call dword [edx + 0x114]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [esp + 0x1c]
inc esi
mov dword [esp + 0x1c], esi
mov eax, dword [eax + 0xc]
call eax
cmp esi, eax
jl 0x4863a3
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
add eax, 4
mov edi, dword [esp + 0x28]
cmp eax, esi
push 2
cmovl esi, eax
mov ecx, edi
mov eax, dword [esp + 0x58]
add eax, esi
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [edi]
push 0
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call sym.ClientofCSP.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x60]
xorps xmm0, xmm0
push eax
movaps xmmword [esp + 0x64], xmm0
push 1
movaps xmmword [esp + 0x78], xmm0
movq qword [esp + 0x88], xmm0
mov dword [esp + 0x68], 0x28
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0xa0]
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0xa8]
jle 0x4864dd
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], ecx
test eax, eax
jle 0x4864ad
add eax, ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x34]
mov eax, ecx
sub eax, esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], eax
mov ecx, edi
push 2
lea eax, [esp + 0x54]
push eax
mov eax, dword [edi]
push 0
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call sym.ClientofCSP.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [edi]
mov ecx, edi
movups xmm0, xmmword [esp + 0x50]
mov eax, dword [eax + 0x1c]
movups xmmword [esp + 0x30], xmm0
call eax
mov ecx, eax
call sym.ClientofCSP.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
movups xmm0, xmmword [esp + 0x30]
mov esi, dword [esp + 0x18]
push 0
sub esp, 0x10
mov ecx, esp
push 0x80
push closesocket
push 0
movups xmmword [ecx], xmm0
push eax
mov ecx, esi
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov esi, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x48653c
nop
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x486530
mov eax, dword [esp + 0x18]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.004b847a
mov esp, ebp
pop ebp
ret 4