Function at 0x1005f450
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
sub esp, 0xf0
mov eax, dword [0x10155368]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x18
call fcn.100d23eb
add esp, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov ecx, dword [0x101d38ac]
mov dword [0x101d38ac], eax
test ecx, ecx
je 0x1005f4c0
push ecx
call fcn.100683b0
push 8
call fcn.100d23eb
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov ecx, dword [0x101d38b0]
mov dword [0x101d38b0], eax
test ecx, ecx
je 0x1005f4eb
push 8
push ecx
call fcn.100d273a
add esp, 8
push 0x18
call fcn.100d23eb
xor ecx, ecx
add esp, 4
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [0x101d3894]
mov dword [0x101d3894], eax
test ecx, ecx
je 0x1005f530
push 0x18
push ecx
call fcn.100d273a
add esp, 8
push 0x10
call fcn.100d23eb
xorps xmm0, xmm0
mov dword [ebp - 8], eax
add esp, 4
mov ecx, 0x101c1ba0
movups xmmword [eax], xmm0
mov dword [eax], 0x1014f360
lea esi, [eax + 4]
lea eax, [ebp - 0xf0]
push eax
call fcn.10047cf0
lea eax, [ebp - 0xd8]
mov ecx, 0x101c1bb8
push eax
call fcn.10048230
lea eax, [ebp - 0xc0]
mov ecx, 0x101c1b58
push eax
call fcn.10048230
lea eax, [ebp - 0xa8]
mov ecx, 0x101c1b70
push eax
call fcn.10047f90
lea eax, [ebp - 0x90]
mov ecx, 0x101c1c70
push eax
call fcn.10048b90
lea eax, [ebp - 0x78]
mov ecx, 0x101c1b20
push eax
call fcn.10047cf0
lea eax, [ebp - 0x60]
mov ecx, 0x101c1bf8
push eax
call fcn.10047cf0
lea eax, [ebp - 0x48]
mov ecx, 0x101c1c28
push eax
call fcn.100488f0
lea eax, [ebp - 0x30]
mov ecx, 0x101c1c58
push eax
call fcn.100483f0
lea ecx, [ebp - 0xf0]
push ecx
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, esi
call fcn.1006a460
mov esi, 9
lea edi, [ebp - 0x18]
sub edi, 0x18
mov ecx, edi
call fcn.10019310
sub esi, 1
jne 0x1005f5f4
mov ecx, dword [0x101d3870]
mov eax, dword [ebp - 8]
mov dword [0x101d3870], eax
test ecx, ecx
je 0x1005f61b
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x58
call fcn.100d23eb
add esp, 4
mov esi, eax
push 0x58
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov dword [esi], 0x1014f2fc
add esp, 0xc
mov dword [esi + 0x10], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov eax, dword [0x101d3868]
mov dword [ebp - 8], eax
mov dword [0x101d3868], esi
test eax, eax
je 0x1005f700
mov esi, 7
lea edi, [eax + 0x58]
sub edi, 0xc
mov ecx, edi
call fcn.10068ce0
sub esi, 1
jne 0x1005f6e0
push 0x58
push dword [ebp - 8]
call fcn.100d273a
add esp, 8
nop dword [eax]
push 0x48
call fcn.100d23eb
mov edi, eax
add esp, 4
lea esi, [edi + 0xc]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.100d23eb
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea esi, [edi + 0x20]
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.100d23eb
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea esi, [edi + 0x34]
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.100d23eb
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov eax, dword [0x101d3890]
mov dword [0x101d3890], edi
test eax, eax
je 0x1005f845
push eax
call fcn.10068330
push 0x18
call fcn.100d23eb
xor ecx, ecx
add esp, 4
mov dword [eax + 0x10], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [0x101d38b4]
mov dword [0x101d38b4], eax
test ecx, ecx
je 0x1005f87c
push 0x18
push ecx
call fcn.100d273a
add esp, 8
push 0xa0
call fcn.100d23eb
mov esi, eax
add esp, 4
xor eax, eax
xorps xmm0, xmm0
mov word [esi + 0x76], ax
movq qword [esi + 0x7c], xmm0
push 0x64
mov dword [esi + 0x85], eax
push eax
push esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
call sub.VCRUNTIME140.dll_memset
mov dword [esi + 0x64], 0
add esp, 0xc
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov word [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov eax, dword [0x101d388c]
mov dword [0x101d388c], esi
test eax, eax
je 0x1005f95a
push 0xa0
push eax
mov dword [eax], 0x1014f36c
call fcn.100d273a
add esp, 8
push 0x34
call fcn.100d23eb
mov esi, eax
lea edx, [ebp - 0x14]
xor eax, eax
mov word [esi + 1], ax
lea ecx, [esi + 0x28]
mov byte [esi + 3], al
mov dword [esi + 8], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
movaps xmm0, xmmword [0x10150600]
mov byte [esi], al
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
lea eax, [ebp - 4]
push eax
push edx
mov dword [esi + 0x18], 0xbf800000
mov dword [esi + 0x1c], 0xbf800000
movups xmmword [ebp - 0x14], xmm0
call fcn.10049290
mov edi, dword [0x101d389c]
mov dword [0x101d389c], esi
test edi, edi
je 0x1005f9d8
lea ecx, [edi + 0x28]
call fcn.10049230
push 0x34
push edi
call fcn.100d273a
add esp, 8
push 1
call fcn.100d23eb
add esp, 4
mov byte [eax], 0
mov ecx, dword [0x101d3880]
mov dword [0x101d3880], eax
test ecx, ecx
je 0x1005f9ff
push 1
push ecx
call fcn.100d273a
add esp, 8
push 1
call fcn.100d23eb
mov ecx, dword [0x101d3884]
add esp, 4
mov dword [0x101d3884], eax
test ecx, ecx
je 0x1005fa23
push 1
push ecx
call fcn.100d273a
add esp, 8
push 0x38
call fcn.100d23eb
xor ecx, ecx
add esp, 4
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov word [eax + 0x19], cx
mov byte [eax + 0x1b], cl
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [eax + 0x18], cl
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov ecx, dword [0x101d38a8]
mov dword [0x101d38a8], eax
test ecx, ecx
je 0x1005fa82
push ecx
call fcn.100682c0
push 0xc8
call fcn.100d23eb
add esp, 4
mov esi, eax
push 0xc8
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.1006a3f0
lea ecx, [esi + 0x20]
call fcn.1006a380
push 0x87
lea eax, [esi + 0x41]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov byte [esi + 0x40], 0
add esp, 0xc
mov dword [esi + 0x44], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0xf
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0xf
mov dword [esi + 0xa8], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc0], 0
mov edi, dword [0x101d38c8]
mov dword [0x101d38c8], esi
test edi, edi
je 0x1005fbdd
lea ecx, [edi + 0x40]
call fcn.1005f330
lea ecx, [edi + 0x20]
call fcn.100688e0
mov ecx, edi
call fcn.10068850
push 0xc8
push edi
call fcn.100d273a
add esp, 8
push 1
call fcn.100d23eb
mov ecx, dword [0x101d3898]
add esp, 4
mov dword [0x101d3898], eax
test ecx, ecx
je 0x1005fc01
push 1
push ecx
call fcn.100d273a
add esp, 8
push 0x50e380
call fcn.100d23eb
add esp, 4
mov esi, eax
push 0x50e380
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.100696e0
mov ecx, dword [0x101d387c]
mov dword [0x101d387c], eax
test ecx, ecx
je 0x1005fc3c
push ecx
call fcn.10068250
push 1
call fcn.100d23eb
mov ecx, dword [0x101d3864]
add esp, 4
mov dword [0x101d3864], eax
test ecx, ecx
je 0x1005fc60
push 1
push ecx
call fcn.100d273a
add esp, 8
push 1
call fcn.100d23eb
mov ecx, dword [0x101d3874]
add esp, 4
mov dword [0x101d3874], eax
test ecx, ecx
je 0x1005fc84
push 1
push ecx
call fcn.100d273a
add esp, 8
push 0x2b8
call fcn.100d23eb
add esp, 4
mov esi, eax
push 0x2b8
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.10069a40
mov esi, dword [0x101d3888]
mov dword [0x101d3888], eax
test esi, esi
je 0x1005fcd2
lea ecx, [esi + 0x2a8]
call fcn.10068c30
push 0x2b8
push esi
call fcn.100d273a
add esp, 8
push 0x328
call fcn.100d23eb
add esp, 4
mov esi, eax
push 0x328
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [esi + 0xc]
mov eax, 0x41
nop dword [eax]
mov dword [ecx - 8], 0
lea ecx, [ecx + 0xc]
mov dword [ecx - 0x10], 0
mov dword [ecx - 0xc], 0
sub eax, 1
jne 0x1005fd00
mov dword [esi + 0x310], eax
mov dword [esi + 0x314], eax
mov dword [esi + 0x318], eax
mov dword [esi + 0x31c], eax
mov dword [esi + 0x320], eax
mov dword [esi + 0x324], eax
mov eax, dword [0x101d38c0]
mov dword [0x101d38c0], esi
test eax, eax
je 0x1005fd56
push eax
call fcn.100681f0
push 0xc
call fcn.100d23eb
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, dword [0x101d3878]
mov dword [0x101d3878], eax
test esi, esi
je 0x1005fd95
mov ecx, esi
call fcn.10068ad0
push 0xc
push esi
call fcn.100d273a
add esp, 8
push 0xd7708
call fcn.100d23eb
add esp, 4
mov esi, eax
push 0xd7708
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.1006a660
mov eax, dword [0x101d38c4]
mov dword [0x101d38c4], esi
test eax, eax
je 0x1005fdd0
push eax
call fcn.100681a0
push 0x10
push 0x3830
call fcn.100d2971
mov esi, eax
add esp, 8
test esi, esi
je 0x1005fe06
push 0x3830
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi + 8], 0
lea ecx, [esi + 0x10]
call fcn.10069170
jmp 0x1005fe08
xor esi, esi
mov eax, dword [0x101d38bc]
mov dword [0x101d38bc], esi
test eax, eax
je 0x1005fe27
push 0x10
push 0x3830
push eax
call fcn.100d29a5
add esp, 0xc
push 0x65bc
call fcn.100d23eb
add esp, 4
mov esi, eax
push 0x65bc
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.10069d60
mov ecx, dword [0x101d38b8]
mov dword [0x101d38b8], eax
test ecx, ecx
je 0x1005fe6a
push 0x65bc
push ecx
call fcn.100d273a
add esp, 8
push 1
call fcn.100d23eb
mov ecx, dword [0x101d386c]
add esp, 4
mov dword [0x101d386c], eax
test ecx, ecx
je 0x1005fe8e
push 1
push ecx
call fcn.100d273a
add esp, 8
push 0x656ac
call fcn.100d23eb
add esp, 4
mov esi, eax
push 0x656ac
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.1006a030
mov ecx, dword [0x101d38a4]
mov dword [0x101d38a4], eax
test ecx, ecx
je 0x1005fec9
push ecx
call fcn.10068150
lea ecx, [ebp - 8]
call fcn.100693d0
cmp eax, 0x101d38a0
je 0x1005fef5
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x101d38a0]
mov dword [0x101d38a0], ecx
test eax, eax
je 0x1005fef5
push eax
call fcn.10068080
mov eax, dword [ebp - 8]
test eax, eax
je 0x1005ff02
push eax
call fcn.10068080
push 0xc
call fcn.100d23eb
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, dword [0x101d3850]
mov dword [0x101d3850], eax
test esi, esi
je 0x1005ff41
mov ecx, esi
call fcn.10049230
push 0xc
push esi
call fcn.100d273a
add esp, 8
push 0x200
call fcn.100d23eb
add esp, 4
mov esi, eax
push 0x200
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 4
call fcn.100d23eb
add esp, 4
lea ecx, [ebp - 8]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x10057950
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10060081
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x1005ff9f
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x1005ffb5
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov eax, dword [0x101d3848]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [0x101d3848], esi
test eax, eax
je 0x1005ffda
push 0x200
push eax
call fcn.100d273a
add esp, 8
push 1
call fcn.100d23eb
mov ecx, dword [0x101d384c]
add esp, 4
mov dword [0x101d384c], eax
test ecx, ecx
je 0x1005fffe
push 1
push ecx
call fcn.100d273a
add esp, 8
push 0x28
call fcn.100d23eb
add esp, 4
mov dword [eax + 0x1c], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov ecx, dword [0x101d3860]
mov dword [0x101d3860], eax
test ecx, ecx
je 0x1006006e
push 0x28
push ecx
call fcn.100d273a
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100d21f8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 6
mov dword [ebp - 8], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3