Function at 0x4b66c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fb28b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6b000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
cmp dword [esi + 0xe7c], 0
jne 0x4b670c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x630
call fcn.00560437
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov ecx, edi
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CListElementUI::constructor_void_]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x614]
mov dword [edi], vtable.CListThumbElementUI.1.0
mov dword [edi + 4], vtable.CListThumbElementUI.0
mov dword [edi + 0x5f0], 0x652e88
mov dword [edi + 0x608], 0
mov dword [edi + 0x60c], 0
mov dword [edi + 0x610], 0
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_]
lea eax, [esi + 0x34]
mov word [edi + 0x628], 0
mov dword [edi + 0x128], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
cmp dword [0x6b8fa8], 0
mov eax, dword [edi]
jne 0x4b67a7
push 0x96
call dword [eax + 0x70]
push 0x8e
jmp 0x4b67ae
push 0
call dword [eax + 0x70]
push 0x16
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
cmp byte [ebp + 0x14], 0
je 0x4b67c2
mov byte [edi + 0x628], 4
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x4b68cb
lea esi, [ebx + 0x1c]
push esi
lea ecx, [ebp + 0x10]
call fcn.0040c2f0
mov dword [ebp - 4], 2
mov ecx, edi
cmp dword [ebx + 0x124], 0
setne al
movzx eax, al
push eax
call fcn.004a3390
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x128]
push esi
lea ecx, [ebp + 0x14]
call fcn.0040c2f0
mov byte [ebp - 4], 3
mov ecx, edi
mov edx, dword [edi]
push dword [eax]
call dword [edx + 0xf0]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp + 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b683a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4b6859
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
mov eax, dword [edi]
mov ecx, edi
mov ebx, dword [ebp + 0x18]
push ebx
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [esi + 0xe7c]
add ecx, 0x5f0
push edi
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp bl, 1
jne 0x4b68b5
cmp dword [esi + 0xe90], 0
jne 0x4b68b5
cmp dword [esi + 0xba8], 0
jne 0x4b68b5
lea eax, [ebp + 0x14]
mov dword [esi + 0xe90], edi
push eax
push 0
push esi
push 0x4b6900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xba8], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4b685c
cmp dword [ebx + 0x38], 0
mov ecx, edi
setne al
movzx eax, al
push eax
call fcn.004a3390
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x128]
mov eax, dword [edi]
mov ecx, edi
push dword [ebx]
call dword [eax + 0xf0]
jmp 0x4b685c