Function at 0x40aec0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582d82
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x60b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebx + 4]
lea ecx, [ebx + 0x2f0]
call fcn.00426416
mov esi, dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea ecx, [ebx + 0x2c]
push str.main_title
call esi
push str.OpNetSkinList
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x330], eax
call esi
push str.OpOurSkinList
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x328], eax
call esi
push str.main_body_init
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x32c], eax
call esi
push str.main_body_normal
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x334], eax
call esi
push str.main_body_net_error
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x338], eax
call esi
push str.main_body_search
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x33c], eax
call esi
push str.lb_main_body_search_tip
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x340], eax
call esi
push str.main_body_search_empty
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x344], eax
call esi
push str.main_body_normal_group
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x348], eax
call esi
push str.main_body_normal_skin_list
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x34c], eax
call esi
push str.main_body_search_skin_list
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x350], eax
call esi
mov dword [ebx + 0x354], eax
lea esi, [ebx + 0x364]
mov eax, dword [ebx + 4]
mov dword [ebx + 0x3fc], eax
cmp dword [esi + 0x90], 0
jne 0x40aff3
lea eax, [esi + 0x94]
push eax
push 0
push esi
push 0x419f60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x90], eax
push 0x80
mov ecx, ebx
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::SetIcon_unsigned_int_]
mov eax, dword [ebx + 0x404]
lea esi, [ebx + 0x400]
mov edi, dword [ebx + 0x334]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edi
cmp ecx, eax
jae 0x40b049
mov ecx, dword [esi]
lea edx, [ebp - 0x10]
cmp ecx, edx
ja 0x40b049
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x40b039
push ecx
mov ecx, esi
call fcn.0040f360
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x40b05f
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x40b05f
cmp eax, dword [esi + 8]
jne 0x40b056
push ecx
mov ecx, esi
call fcn.0040f360
mov eax, dword [esi + 4]
test eax, eax
je 0x40b05f
mov dword [eax], edi
add dword [esi + 4], 4
lea ecx, [ebp - 0x10]
mov eax, dword [esi + 4]
mov edi, dword [ebx + 0x338]
mov dword [ebp - 0x10], edi
cmp ecx, eax
jae 0x40b0a3
mov ecx, dword [esi]
lea edx, [ebp - 0x10]
cmp ecx, edx
ja 0x40b0a3
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x40b093
push ecx
mov ecx, esi
call fcn.0040f360
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x40b0b9
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x40b0b9
cmp eax, dword [esi + 8]
jne 0x40b0b0
push ecx
mov ecx, esi
call fcn.0040f360
mov eax, dword [esi + 4]
test eax, eax
je 0x40b0b9
mov dword [eax], edi
add dword [esi + 4], 4
lea ecx, [ebp - 0x10]
mov eax, dword [esi + 4]
mov edi, dword [ebx + 0x33c]
mov dword [ebp - 0x10], edi
cmp ecx, eax
jae 0x40b0fd
mov ecx, dword [esi]
lea edx, [ebp - 0x10]
cmp ecx, edx
ja 0x40b0fd
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x40b0ed
push ecx
mov ecx, esi
call fcn.0040f360
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x40b113
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x40b113
cmp eax, dword [esi + 8]
jne 0x40b10a
push ecx
mov ecx, esi
call fcn.0040f360
mov eax, dword [esi + 4]
test eax, eax
je 0x40b113
mov dword [eax], edi
add dword [esi + 4], 4
lea ecx, [ebp - 0x10]
mov eax, dword [esi + 4]
mov edi, dword [ebx + 0x340]
mov dword [ebp - 0x10], edi
cmp ecx, eax
jae 0x40b157
mov ecx, dword [esi]
lea edx, [ebp - 0x10]
cmp ecx, edx
ja 0x40b157
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x40b147
push ecx
mov ecx, esi
call fcn.0040f360
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x40b16d
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x40b16d
cmp eax, dword [esi + 8]
jne 0x40b164
push ecx
mov ecx, esi
call fcn.0040f360
mov eax, dword [esi + 4]
test eax, eax
je 0x40b16d
mov dword [eax], edi
add dword [esi + 4], 4
mov ecx, dword [ebx + 0x330]
test ecx, ecx
je 0x40b185
mov eax, dword [ecx]
push 0x600a6c
call dword [eax + 0x2c]
call fcn.0040f4d0
mov esi, dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
mov ecx, eax
call esi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40b1d6
push eax
push 1
push 1
push eax
push eax
push 0x8000100
push 0x10ce0000
push 0x5fe1c4
mov ecx, ebx
call esi
push eax
call fcn.0040f4d0
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
call fcn.0040f4d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x8c]
call fcn.0040f4d0
mov edi, eax
mov eax, dword [0x61554c]
test eax, eax
jne 0x40b210
push 0x1d4
call fcn.0041aff4
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00408c00
mov dword [ebp - 4], 0xffffffff
mov dword [0x61554c], eax
mov ecx, dword [eax + 0x1cc]
sub ecx, dword [eax + 0x1c8]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40b233
push 5
jmp 0x40b235
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x11
push 0
push 0
push 0xfffffe0c
push 0xfffffe0c
push 0
call fcn.0040f4d0
mov ecx, eax
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret