Function at 0x45b830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70f6d5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x7f9c40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0xc]
push 0x14
mov dword [ebp - 4], 0
mov dword [esi + 0x2c], eax
call fcn.006debec
add esp, 4
test eax, eax
je 0x45b8a1
mov ecx, dword [ebp + 0x18]
mov dword [ebp + 0x18], 0
mov dword [eax], ecx
mov byte [eax + 4], 0
mov cl, byte [ebp + 0x20]
mov byte [eax + 8], cl
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edi
jmp 0x45b8a3
xor eax, eax
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x4598c0
push 0
push 0
call fcn.006ebbfa
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x45bad7
cmp dword [esi + 0x1c], 0
mov byte [ebp - 4], 0
jne 0x45bae5
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x45babe
cmp byte [ebp + 0x1c], 0
je 0x45b908
cmp byte [ecx + 0x6c], 0
jne 0x45baa2
cmp dword [ecx + 0x70], 0
jne 0x45baa2
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.std::exception.0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x71aa07
xorps xmm0, xmm0
mov byte [ebp - 0x28], 1
push eax
movq qword [ebp - 0x3c], xmm0
call fcn.006e0939
lea eax, [ebp - 0x50]
mov dword [ebp - 0x40], vtable.std::future_error.0
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x34], 1
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x7f50b0
push eax
mov dword [ebp - 0x54], vtable.std::exception.0
movq qword [ebp - 0x50], xmm0
call fcn.006e0939
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x54], vtable.std::future_error.0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.006dc547
push 0x7ccd6c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.006dc521
lea eax, [ebp - 0x50]
mov dword [ebp - 0x54], vtable.std::exception.0
push eax
call fcn.006e099c
mov esi, dword [ebp + 0x18]
add esp, 0x24
test esi, esi
je 0x45bb03
cmp byte [ebp + 0x1c], 0
je 0x45b9d4
cmp byte [esi + 0x6c], 0
jne 0x45bb03
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
push eax
call fcn.006dc50a
lea edi, [esi + 0x14]
push edi
mov dword [ebp - 0x24], edi
call fcn.006dc719
add esp, 0xc
test eax, eax
jne 0x45baea
mov eax, dword [edi + 0x2c]
cmp eax, 0x7fffffff
je 0x45baf1
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x20], 1
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
call fcn.006dc50a
add esp, 8
cmp byte [esi + 0x75], 0
jne 0x45bafc
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + 0xc]
push eax
call fcn.006dc4fa
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
add esp, 8
push 0
push ecx
mov ecx, esi
call dword [eax + 0x14]
lea eax, [ebp - 0x1c]
push eax
call fcn.006dc632
add esp, 4
cmp byte [ebp - 0x20], 0
je 0x45ba7a
push dword [ebp - 0x24]
call fcn.006dc72a
add esp, 4
lea eax, [ebp - 0x2c]
push eax
call fcn.006dc632
lea eax, [ebp - 0x14]
push eax
call fcn.006dc632
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.std::exception.0
push eax
call fcn.006e099c
mov ecx, dword [ebp + 0x18]
add esp, 0xc
test ecx, ecx
je 0x45babe
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x45babe
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x45bad1
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ecx]
push 1
jmp 0x45babc
push 6
mov dword [ebp - 0x28], 0
call fcn.006dc8c1
call fcn.006eba62
push 5
call fcn.006dc8c1
dec eax
push 6
mov dword [edi + 0x2c], eax
call fcn.006dc8c1
push 3
call fcn.0044e810
push 4
call fcn.0044e810
int3