Function at 0x40b300
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583ea2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x60c044]
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.0042753d
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 0x40b433
lea eax, [esi + 0x94]
push eax
push 0
push esi
push 0x41a3c0
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 0x40b489
mov ecx, dword [esi]
lea edx, [ebp - 0x10]
cmp ecx, edx
ja 0x40b489
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x40b479
push ecx
mov ecx, esi
call fcn.0040f7a0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x40b49f
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x40b49f
cmp eax, dword [esi + 8]
jne 0x40b496
push ecx
mov ecx, esi
call fcn.0040f7a0
mov eax, dword [esi + 4]
test eax, eax
je 0x40b49f
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 0x40b4e3
mov ecx, dword [esi]
lea edx, [ebp - 0x10]
cmp ecx, edx
ja 0x40b4e3
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x40b4d3
push ecx
mov ecx, esi
call fcn.0040f7a0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x40b4f9
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x40b4f9
cmp eax, dword [esi + 8]
jne 0x40b4f0
push ecx
mov ecx, esi
call fcn.0040f7a0
mov eax, dword [esi + 4]
test eax, eax
je 0x40b4f9
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 0x40b53d
mov ecx, dword [esi]
lea edx, [ebp - 0x10]
cmp ecx, edx
ja 0x40b53d
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x40b52d
push ecx
mov ecx, esi
call fcn.0040f7a0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x40b553
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x40b553
cmp eax, dword [esi + 8]
jne 0x40b54a
push ecx
mov ecx, esi
call fcn.0040f7a0
mov eax, dword [esi + 4]
test eax, eax
je 0x40b553
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 0x40b597
mov ecx, dword [esi]
lea edx, [ebp - 0x10]
cmp ecx, edx
ja 0x40b597
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x40b587
push ecx
mov ecx, esi
call fcn.0040f7a0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x40b5ad
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x40b5ad
cmp eax, dword [esi + 8]
jne 0x40b5a4
push ecx
mov ecx, esi
call fcn.0040f7a0
mov eax, dword [esi + 4]
test eax, eax
je 0x40b5ad
mov dword [eax], edi
add dword [esi + 4], 4
mov ecx, dword [ebx + 0x330]
test ecx, ecx
je 0x40b5c5
mov eax, dword [ecx]
push 0x601c2c
call dword [eax + 0x2c]
call fcn.0040f910
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 0x40b616
push eax
push 1
push 1
push eax
push eax
push 0x8000100
push 0x10ce0000
push 0x5ff384
mov ecx, ebx
call esi
push eax
call fcn.0040f910
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.0040f910
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x8c]
call fcn.0040f910
mov edi, eax
mov eax, dword [0x61654c]
test eax, eax
jne 0x40b650
push 0x1d4
call fcn.0041b454
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00409040
mov dword [ebp - 4], 0xffffffff
mov dword [0x61654c], 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 0x40b673
push 5
jmp 0x40b675
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.0040f910
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