Function at 0x48d3e0
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 0x4ea884
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x60
mov eax, dword [0x521104]
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
lea eax, [edi + 0x24]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x28], esi
lea ecx, [esi + 4]
mov dword [ebp - 0x24], ecx
test esi, esi
je 0x48d44d
lock inc dword [ecx]
jmp 0x48d450
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x54]
cmp eax, dword [edi + 0x58]
je 0x48d46b
mov dword [eax], esi
test esi, esi
je 0x48d465
lock inc dword [ecx]
add dword [edi + 0x54], 4
jmp 0x48d47b
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x50]
call fcn.0048dd70
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 1
test esi, esi
je 0x48d4a7
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x48d4a0
mov eax, dword [esi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x4ed33c]
mov ecx, dword [ebx + 8]
call esi
mov dword [ebp - 0x28], 0
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
cmp ecx, edx
je 0x48d4c0
push ecx
call fcn.0048dca0
mov eax, dword [edi + 0x44]
add esp, 4
mov dword [edi + 0x48], eax
lea eax, [edi + 0x3c]
mov byte [ebp - 0x2d], 0
mov dword [ebp - 0x24], eax
mov eax, dword [eax]
mov eax, dword [eax]
nop
cmp byte [eax + 0xd], 0
jne 0x48d53c
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0x30], 0
je 0x48d51c
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x48d505
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x48d501
cmp eax, dword [ecx + 8]
jne 0x48d501
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x48d4f1
mov eax, ecx
jmp 0x48d4d0
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x48d4d0
nop
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x48d510
jmp 0x48d4d0
push dword [ecx + 0x2c]
mov dword [ecx + 0x30], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x48d78c
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x20]
jae 0x48d767
push 0x38
mov dword [ebp - 0x20], 0
call fcn.004a38e1
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
push 0x38
push 0
push esi
call fcn.004a6890
add esp, 0xc
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x48d575
mov edx, dword [edi]
mov dword [esi], vtable.asw::common::refobj.0
mov dword [esi + 4], 0
mov ecx, edx
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x38], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48d5a3
sub ecx, dword [ebp - 0x38]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.0040a370
push 0x50b4b0
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.00409d70
movups xmm0, xmmword [ebp - 0x50]
mov dword [esi + 8], vtable.asw::threading::thread.0
lea ecx, [ebp - 0x50]
mov dword [esi + 0xc], 0
add esp, 4
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
movups xmmword [esi + 0x14], xmm0
mov word [ebp - 0x50], ax
movq xmm0, qword [ebp - 0x40]
movq qword [esi + 0x24], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
call fcn.0040a450
lea ecx, [ebp - 0x70]
call fcn.0040a450
mov dword [esi + 0x34], edi
lea edi, [esi + 4]
mov dword [esi], vtable.asw::common::jobthread.1.0
mov dword [esi + 8], vtable.asw::common::jobthread.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], edi
lock inc dword [edi]
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 0x48d67a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
jmp 0x48d6a7
lea edi, [esi + 8]
lea eax, [edi + 8]
push eax
push 0
push edi
push 0x48df40
push 0
push 0
call fcn.004b621c
xor edx, edx
mov dword [edi + 4], eax
add esp, 0x18
lea edi, [esi + 4]
test eax, eax
mov ecx, 0x9b
cmovne ecx, edx
test ecx, ecx
jne 0x48d774
mov ecx, dword [ebp - 0x24]
xor edi, edi
mov eax, dword [ecx]
mov edx, eax
mov dword [ebp - 0x38], eax
mov ecx, dword [eax + 4]
mov eax, ecx
mov dword [ebp - 0x28], ecx
cmp byte [ecx + 0xd], 0
jne 0x48d6ee
nop dword [eax]
mov dword [ebp - 0x28], eax
cmp dword [eax + 0x10], esi
jae 0x48d6df
mov eax, dword [eax + 8]
xor edi, edi
jmp 0x48d6e8
mov edx, eax
mov edi, 1
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x48d6d0
cmp byte [edx + 0xd], 0
jne 0x48d6f9
cmp esi, dword [edx + 0x10]
jae 0x48d748
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0xccccccc
je 0x48d7ac
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 7
push 0x14
mov dword [ebp - 0x54], 0
call fcn.004a38e1
add esp, 4
lea ecx, [esi + 4]
mov dword [eax + 0x10], esi
lock inc dword [ecx]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
push eax
mov dword [eax], edx
push edi
push dword [ebp - 0x28]
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov word [eax + 0xc], 0
call fcn.0040f400
mov ecx, dword [ebp - 0x2c]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x48d767
mov eax, dword [esi]
push 1
mov edi, dword [eax]
mov ecx, edi
call dword [0x4ed33c]
mov ecx, esi
call edi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x48d78c
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
jmp 0x48d753
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.004a389b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0040f800
int3