Function at 0x453080
Capabilities:
Create thread
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47daaa
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x49c100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x434]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
test ecx, ecx
je 0x4530e0
call fcn.00431c40
push 0
lea ecx, [edi + 0x434]
call fcn.004340b0
mov esi, dword [edi + 0x3d0]
test esi, esi
je 0x45315b
mov eax, dword [edi + 0x438]
cmp eax, 2
je 0x4530fe
cmp eax, 3
jne 0x453650
cmp dword [esi + 4], 0
je 0x45366d
call sub.MSVCP140.dll__Thrd_id
cmp dword [esi + 4], eax
je 0x453674
push 0
push dword [esi + 4]
push dword [esi]
call sub.MSVCP140.dll__Thrd_join
add esp, 0xc
test eax, eax
jne 0x45367b
mov dword [esi], eax
mov dword [esi + 4], eax
mov eax, dword [edi + 0x3d0]
mov dword [edi + 0x3d0], 0
test eax, eax
je 0x45315b
cmp dword [eax + 4], 0
jne 0x453609
push 8
push eax
call fcn.0047613e
add esp, 8
mov edx, dword [ebp - 0x88]
lea ecx, [edi + 0x340]
mov dword [edi + 0x438], 0
cmp ecx, edx
je 0x453188
cmp dword [edx + 0x14], 0xf
mov eax, edx
jbe 0x45317f
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.00406e50
xorps xmm0, xmm0
mov dword [edi + 0x59c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [eax]
mov esi, dword [eax]
mov dword [ebp - 0x84], esi
cmp esi, eax
je 0x453284
nop word [eax + eax]
push 1
push 0x4866f8
lea ecx, [ebp - 0x28]
call fcn.00407470
cmp dword [esi + 0x24], 0xf
lea ecx, [esi + 0x10]
jbe 0x4531eb
mov ecx, dword [esi + 0x10]
push dword [esi + 0x20]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407470
push 1
push 0x4866fc
lea ecx, [ebp - 0x28]
call fcn.00407470
add esi, 0x28
lea eax, [ebp - 0x78]
push esi
push eax
mov ecx, edi
call fcn.00458280
cmp dword [ebp - 0x64], 0xf
lea eax, [ebp - 0x78]
push dword [ebp - 0x68]
cmova eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.00407470
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x453268
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45325e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45357d
push ecx
push edx
call fcn.0047613e
add esp, 8
lea ecx, [ebp - 0x84]
call fcn.00407580
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x84]
cmp esi, dword [eax]
jne 0x4531d0
lea esi, [edi + 0x358]
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x4532bb
mov ecx, esi
call fcn.00405b20
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x28], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea eax, [edi + 0x370]
cmp eax, dword [ebp - 0x7c]
je 0x4532f0
mov esi, dword [eax]
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.0040a410
push dword [ebp - 0x7c]
lea ecx, [edi + 0x370]
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ecx + 4], 0
call fcn.0043ee40
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 4]
test eax, eax
je 0x4532fe
lock inc dword [eax + 4]
mov esi, dword [edi + 0x37c]
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [edi + 0x378], eax
mov dword [edi + 0x37c], ecx
test esi, esi
je 0x45333a
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x45333a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x45333a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [edi + 0xa8]
xor ecx, ecx
mov eax, dword [eax + 8]
add eax, 0x1c
xchg dword [eax], ecx
lea eax, [edi + 0x328]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0xf
jbe 0x45335f
mov eax, dword [eax]
lea ecx, [edi + 0x3d8]
mov byte [eax], 0
call fcn.0043b980
lea ecx, [edi + 0x5a0]
xor al, al
xchg byte [ecx], al
cmp dword [edi + 0x36c], 0xf
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x80], eax
xorps xmm0, xmm0
lea eax, [edi + 0x358]
mov dword [ebp - 0x60], 0x453700
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
mov ecx, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x84], eax
jbe 0x4533b8
mov ecx, dword [eax]
mov dword [ebp - 0x84], ecx
mov esi, dword [eax + 0x10]
cmp esi, 0x7fffffff
ja 0x453682
cmp esi, 0xf
ja 0x4533df
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 0xf
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x5c], xmm0
jmp 0x45342b
mov eax, esi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x4533f2
mov eax, accept
jmp 0x4533fc
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00411520
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x48], ecx
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x84]
mov dword [ebp - 0x5c], eax
push eax
mov dword [ebp - 0x4c], esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 2
call fcn.00407130
mov dword [ebp - 0x2c], edi
mov eax, dword [edi + 0xa8]
push dword [0x4a8e68]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 3
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45347b
nop word [eax + eax]
cmp dword [eax], esi
je 0x453490
mov eax, dword [eax + 8]
test eax, eax
jne 0x453470
push dword [0x4a8e68]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4534ac
mov eax, dword [eax + 4]
jmp 0x4534ae
cmp dword [eax + 4], 0
je 0x45347b
nop
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
call dword [ebp - 0x60]
nop
jmp 0x453511
xor eax, eax
push 4
push 0x5c
push eax
push dword [ebp - 0x80]
call fcn.0042e7e0
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x60]
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
push eax
mov dword [esi + 0x18], 0x455f70
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
call fcn.00445b70
mov ecx, dword [ebp - 0x80]
push 0
push esi
mov ecx, dword [ecx + 8]
call fcn.00433e90
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x453545
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45353b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45357d
push ecx
push edx
call fcn.0047613e
add esp, 8
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x45358d
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x453583
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x453583
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
push 8
call fcn.00475da2
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x4535f1
push 8
call fcn.00475da2
add esp, 4
test eax, eax
je 0x4535c0
mov dword [eax], 0x46edd0
mov dword [eax + 4], edi
jmp 0x4535c2
xor eax, eax
mov dword [ebp - 0x7c], eax
lea ecx, [esi + 4]
mov byte [ebp - 4], 6
push ecx
push 0
push eax
push 0x440180
push 0
push 0
mov dword [ebp - 0x80], ecx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x453687
jmp 0x4535f3
xor esi, esi
mov eax, dword [edi + 0x3d0]
mov dword [edi + 0x3d0], esi
test eax, eax
je 0x45361a
cmp dword [eax + 4], 0
je 0x45360f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
push 8
push eax
call fcn.0047613e
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x453650
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x453646
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x453646
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047613e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475cb4
mov esp, ebp
pop ebp
ret 0x10
push 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
call fcn.00401f80
mov eax, dword [ebp - 0x80]
push 6
mov dword [eax], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3