Function at 0x4699b0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf71f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x60
mov eax, dword [0x505034]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x30], edi
mov esi, dword [ebx + 8]
lea eax, [edi + 0x24]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x28], esi
lea ecx, [edi + 0x50]
lea eax, [esi + 4]
test esi, esi
je 0x469a1e
lock inc dword [eax]
mov byte [ebp - 4], 2
mov edx, dword [edi + 0x54]
cmp edx, dword [edi + 0x58]
je 0x469a39
mov dword [edx], esi
test esi, esi
je 0x469a33
lock inc dword [eax]
add dword [ecx + 4], 4
jmp 0x469a46
lea eax, [ebp - 0x28]
push eax
push edx
call fcn.0046a2c0
mov esi, dword [ebp - 0x28]
or edx, 0xffffffff
mov byte [ebp - 4], 1
test esi, esi
je 0x469a6d
mov eax, edx
lock xadd dword [esi + 4], eax
dec eax
jne 0x469a66
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
or edx, 0xffffffff
mov dword [ebp - 0x28], 0
mov eax, dword [edi + 0x48]
mov esi, dword [edi + 0x44]
mov dword [ebp - 0x24], eax
cmp esi, eax
je 0x469aac
nop word [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x469aa2
mov eax, edx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x469a99
mov eax, dword [ecx]
push 1
call dword [eax]
or edx, 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [esi], 0
add esi, 4
cmp esi, eax
jne 0x469a80
mov esi, dword [edi + 0x44]
mov dword [edi + 0x48], esi
mov eax, dword [edi + 0x3c]
mov byte [ebp - 0x31], 0
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
jne 0x469b2c
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0x30], 0
je 0x469b0c
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x469af4
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x469af0
nop dword [eax]
cmp eax, dword [ecx + 8]
jne 0x469af0
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x469ae0
mov eax, ecx
jmp 0x469ab8
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x469ab8
nop
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x469b00
jmp 0x469ab8
push dword [ecx + 0x2c]
mov dword [ecx + 0x30], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x469da8
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x20]
jae 0x469d8d
push 0x38
mov dword [ebp - 0x20], 0
call fcn.00479ea3
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
push 0x38
push 0
push esi
call fcn.004928b0
add esp, 0xc
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x469b65
mov edx, dword [edi]
mov dword [esi], vtable.asw::refobj.0
mov dword [esi + 4], 0
mov ecx, edx
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov dword [ebp - 0x3c], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x24], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469b92
sub ecx, dword [ebp - 0x24]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.00415170
push 0xf
push str._asw::jobthread
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00414dc0
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
xor eax, eax
mov dword [esi + 8], vtable.asw::threading::thread.0
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x3c]
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], 7
movups xmmword [ebp - 0x70], xmm1
mov word [ebp - 0x70], ax
movups xmmword [esi + 0x14], xmm1
movq qword [esi + 0x24], xmm0
cmp edx, 8
jb 0x469c47
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x469c3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469dc8
push edx
push ecx
call fcn.00479e95
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov dword [esi + 0x2c], eax
lea eax, [esi + 4]
mov dword [ebp - 0x3c], 7
mov dword [esi], vtable.asw::jobthread.1.0
mov dword [esi + 8], vtable.asw::jobthread.0
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
lock inc dword [eax]
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x469ca4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
jmp 0x469cd1
lea edi, [esi + 8]
lea eax, [edi + 8]
push eax
push 0
push edi
push 0x46a4f0
push 0
push 0
call fcn.0049e1bb
xor edx, edx
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x30]
add esp, 0x18
test eax, eax
mov ecx, 0x9b
cmovne ecx, edx
test ecx, ecx
jne 0x469d78
lea eax, [edi + 0x3c]
xor edi, edi
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x2c], eax
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], edx
cmp byte [edx + 0xd], 0
jne 0x469d14
mov eax, edx
mov dword [ebp - 0x28], eax
cmp dword [eax + 0x10], esi
jae 0x469d05
mov eax, dword [eax + 8]
xor edi, edi
jmp 0x469d0e
mov ecx, eax
mov edi, 1
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x469cf6
cmp byte [ecx + 0xd], 0
jne 0x469d23
cmp esi, dword [ecx + 0x10]
jb 0x469d23
mov al, 1
jmp 0x469d25
xor al, al
test al, al
jne 0x469d78
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0xccccccc
je 0x469dcd
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 7
push 0x14
mov dword [ebp - 0x54], 0
call fcn.00479ea3
add esp, 4
lea ecx, [esi + 4]
mov dword [eax + 0x10], esi
lock inc dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
push eax
mov dword [eax + 4], ecx
push edi
push dword [ebp - 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x30]
mov word [eax + 0xc], 0
call fcn.00418c50
mov ecx, dword [ebp - 0x24]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x469d8d
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x469da8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00479e61
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0049b19a
call fcn.00418ec0
int3