Function at 0x42d840
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49a388
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4c17d0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x14], 1
jne 0x42d92f
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, str.UserExperience
lea esi, [esp + 0x1c]
xor edi, edi
call fcn.00416680
push ecx
mov ecx, esp
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], esp
push ecx
mov ecx, str.SOFTWARE360TotalSecurityExperience
call fcn.00416680
push reloc.OLEAUT32.dll_SysReAllocString
lea edx, [esp + 0x30]
push edx
mov ecx, edi
mov dword [esp + 0x50], 0xffffffff
call fcn.00415fe0
push eax
call fcn.00414920
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d8f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d911
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x14], 1
je 0x42d92f
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea esi, [ebx + 0x4c]
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x20], 1
mov dword [esp + 0x40], 1
mov edx, dword [0x4ead14]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ead14
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [ebp + 0xc]
mov byte [esp + 0x40], 2
test edx, edx
jne 0x42d971
xor eax, eax
jmp 0x42d985
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d976
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
push ecx
call fcn.004168e0
lea edx, [esp + 0x14]
push edx
lea edi, [ebx + 0x2c]
call fcn.0042e980
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d9c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
cmp dword [ebx + 4], 0
mov dword [ebx + 0x10], 0
jne 0x42da05
lea edi, [ebx + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 4], 0
jne 0x42da02
push 0
push 0
push ebx
push 0x42ed50
push 0
push 0
call fcn.0047875d
add esp, 0x18
mov dword [ebx + 4], eax
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_SetEvent]
xor edi, edi
mov dword [ebx + 0x10], edi
cmp byte [ebx + 9], 0
je 0x42da24
mov eax, dword [ebx + 0xc]
cmp eax, edi
je 0x42da20
push eax
call esi
mov byte [ebx + 9], 0
mov dword [ebx + 0x10], edi
cmp byte [ebx + 9], 0
je 0x42da3b
mov eax, dword [ebx + 0xc]
cmp eax, edi
je 0x42da37
push eax
call esi
mov byte [ebx + 9], 0
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc