Function at 0x5029b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6070f9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x734], 0
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], eax
jne 0x502c10
mov ecx, dword [esi + 0x710]
test ecx, ecx
je 0x502c10
cmp dword [ecx + 0x904], 0
je 0x502c10
cmp byte [esi + 0x714], 0
je 0x502a64
mov ecx, dword [ecx + 0x9c0]
push 0
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
cmp byte [esi + 0x717], 0
jne 0x502a64
cmp byte [esi + 0x715], 0
mov ecx, dword [esi + 0x710]
je 0x502a48
call fcn.005020c0
jmp 0x502a64
push str.tabView
add ecx, 0x34
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test eax, eax
je 0x502a64
push 4
mov ecx, eax
call dword [sym.imp.ycomuiu.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
cmp byte [esi + 0x716], 0
jne 0x502aaf
mov eax, dword [esi + 0x71c]
test eax, eax
je 0x502c10
mov ecx, dword [esi + 0x728]
mov edx, dword [esi + 0x724]
push 0xcc0020
push ecx
push edx
push eax
mov eax, dword [esi + 0x730]
sub eax, ecx
push eax
mov eax, dword [esi + 0x72c]
sub eax, edx
push eax
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x502c10
push 0
lea ecx, [ebp - 0x58]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWaitCursor::constructor_struct_HWND____]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
push dword [ebp - 0x50]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CDPI____thiscall_DuiLib::CPaintManagerUI::GetDPIObj_void_]
mov edi, eax
test edi, edi
je 0x502af9
cmp dword [0x6b8f7c], 0
je 0x502af9
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CDPI::ScaleBack_struct_tagRECT__]
mov ecx, dword [esi + 0x710]
add dword [ebp - 0x20], 4
sub dword [ebp - 0x18], 4
add dword [ebp - 0x1c], 0x23
sub dword [ebp - 0x14], 2
push str.BottomCtl
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::GetControlHeight_wchar_t_const__]
test edi, edi
je 0x502b30
cmp dword [0x6b8f7c], 0
je 0x502b30
push eax
mov ecx, edi
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::CDPI::ScaleBack_int_]
sub dword [ebp - 0x14], eax
test edi, edi
je 0x502b6a
cmp dword [0x6b8f7c], 0
je 0x502b6a
movups xmm0, xmmword [ebp - 0x20]
sub esp, 0x10
mov ecx, edi
mov eax, esp
movups xmmword [eax], xmm0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.ycomuiu.dll_public:_struct_tagRECT___thiscall_DuiLib::CDPI::Scale_struct_tagRECT_]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__]
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebp - 0x20], xmm0
mov eax, dword [esi + 0x71c]
test eax, eax
jne 0x502b91
mov ecx, dword [esi + 0x710]
call dword [sym.imp.ycomuiu.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esi + 0x71c], eax
test eax, eax
je 0x502c00
movups xmm0, xmmword [ebp - 0x20]
push 0xff0062
push 0
push 0
push dword [ebp - 0x4c]
movups xmmword [esi + 0x724], xmm0
mov eax, dword [esi + 0x730]
sub eax, dword [esi + 0x728]
push eax
mov eax, dword [esi + 0x72c]
sub eax, dword [esi + 0x724]
push eax
push 0
push 0
push dword [esi + 0x71c]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp byte [esi + 0x717], 0
jne 0x502c00
cmp byte [esi + 0x718], 0
jne 0x502c00
lea eax, [ebp - 0x4c]
push eax
push 0
push esi
push 0x503900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x734], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWaitCursor::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret 8