Function at 0x49d540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71fd76
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
lea esi, [ebx + 4]
mov dword [ebx], 0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
push 0x68
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0051dec4
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.00481cb0
mov dword [ebp - 4], 2
lea esi, [ebx + 0x24]
mov dword [ebp - 0x18], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0051dec4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
add esi, 8
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], esi
push 0x24
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0051dec4
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 5
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.00481cb0
lea eax, [ebx + 0x4c]
push 2
push eax
call fcn.0051b036
lea eax, [ebx + 0x7c]
push eax
call fcn.0051ac53
add esp, 4
lea ecx, [ebx + 0xa8]
call fcn.0049d520
lea ecx, [ebx + 0xb0]
sub esp, 8
call fcn.0049d520
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0
lea eax, [ebx + 0xc0]
push 2
push eax
call fcn.0051b036
lea edi, [ebx + 0xf0]
push edi
call fcn.0051ac53
mov byte [ebp - 4], 0xb
lea esi, [ebx + 0x118]
push 0x14
mov byte [esi], 0
call fcn.0051dec4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xc
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_std::thread_.0
add eax, 0xc
push 0x10
mov dword [ebp - 0x1c], eax
call fcn.0051dec4
mov ecx, eax
lea eax, [ebx + 0xc0]
mov dword [ebp - 0x14], ecx
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x1c]
lea esi, [edi + 4]
push esi
push 0
push ecx
push 0x4c3f40
push 0
push 0
call fcn.00532bb0
add esp, 0x2c
mov dword [edi], eax
test eax, eax
je 0x49d7b7
mov esi, dword [ebx + 0xbc]
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0xb8], edi
mov dword [ebx + 0xbc], eax
test esi, esi
je 0x49d799
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x49d799
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x49d799
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
push 6
mov dword [esi], 0
call fcn.0051b121
int3