Function at 0x5002c0
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 0x606ce8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x6b000c]
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
call dword [sym.imp.ycomuiu.dll_public_virtual:_void___thiscall_DuiLib::WindowImplBase::Init_void_]
lea ecx, [edi + 0x34]
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CDPI____thiscall_DuiLib::CPaintManagerUI::GetDPIObj_void_]
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x50], esi
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_]
lea eax, [ebp - 0x24]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
test esi, esi
je 0x500343
cmp dword [0x6b8f7c], 0
je 0x500343
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CDPI::ScaleBack_struct_tagRECT__]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
dec eax
mov edx, dword [ebp - 0x1c]
add ecx, 0x20
mov esi, dword [ebp - 0x24]
dec edx
push 0
push dword [0x6b513c]
inc esi
mov dword [ebp - 0x18], eax
push 0
push dword [edi + 4]
sub eax, ecx
mov dword [ebp - 0x1c], edx
push eax
sub edx, esi
mov dword [ebp - 0x24], esi
push edx
push ecx
push esi
push 0x48000000
push 0
push str.STATIC
push 0
mov dword [ebp - 0x20], ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x9d4], eax
push 0
push dword [edi + 0x9d4]
mov dword [edi + 0x914], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::ShowWindow_wchar_t_const___bool_]
mov ecx, edi
push 0
push str.picSize
call esi
push 0
push str.btnBestFit
mov ecx, edi
call esi
push 0
push str.btnActualSize
mov ecx, edi
call esi
sub dword [ebp - 0x18], 0x19
mov ecx, edi
push str.BottomCtl
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::GetControlHeight_wchar_t_const__]
mov ecx, dword [ebp - 0x50]
neg eax
add dword [ebp - 0x18], eax
test ecx, ecx
je 0x500419
cmp dword [0x6b8f7c], 0
je 0x500419
movups xmm0, xmmword [ebp - 0x24]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.ycomuiu.dll_public:_struct_tagRECT___thiscall_DuiLib::CDPI::Scale_struct_tagRECT_]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__]
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ebp - 0x24], xmm0
mov eax, dword [edi + 4]
lea esi, [edi + 0x94c]
mov dword [ebp - 0x54], eax
lea eax, [esi + 0x20]
push dword [ebp - 0x54]
push eax
push 0x6b1c58
call fcn.004c7ee0
movzx eax, ax
add esp, 0xc
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x500486
call fcn.005617a2
mov dword [esi + 0x14], eax
test eax, eax
jne 0x500486
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push dword [edi + 0x950]
call dword [sym.imp.USER32.dll_ShowWindow]
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.0055f9be
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
push 0
push eax
call fcn.005618a4
cmp word [ebp - 0x50], 0
je 0x50045a
lea eax, [esi + 8]
test eax, eax
je 0x500538
test esi, esi
je 0x500538
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x30], 0x6be5b0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
push 0x6be5b0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x6be5c8]
lea ecx, [esi + 8]
mov dword [ecx + 8], eax
mov byte [ebp - 0x2c], 1
mov dword [0x6be5c8], ecx
mov dword [ebp - 4], 0xffffffff
push 0x6be5b0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
sub eax, edx
mov ecx, dword [ebp - 0x24]
push 0
push dword [0x6b513c]
mov byte [ebp - 0x2c], 0
push esi
push dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x50]
push edx
push ecx
push 0x56000000
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x50045a
push 1
push 0xc0000005
call fcn.0040b220
int3