Function at 0x1005f490
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 [0x1015a368]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x18
call fcn.100d7c2b
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 [0x102159d8]
mov dword [0x102159d8], eax
test ecx, ecx
je 0x1005f500
push ecx
call fcn.10067b40
push 8
call fcn.100d7c2b
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov ecx, dword [0x102159dc]
mov dword [0x102159dc], eax
test ecx, ecx
je 0x1005f52b
push 8
push ecx
call fcn.100d7f7a
add esp, 8
push 0x18
call fcn.100d7c2b
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 [0x102159c0]
mov dword [0x102159c0], eax
test ecx, ecx
je 0x1005f570
push 0x18
push ecx
call fcn.100d7f7a
add esp, 8
push 0x10
call fcn.100d7c2b
xorps xmm0, xmm0
mov dword [ebp - 8], eax
add esp, 4
mov ecx, 0x10203a60
movups xmmword [eax], xmm0
mov dword [eax], 0x101551f8
lea esi, [eax + 4]
lea eax, [ebp - 0xf0]
push eax
call fcn.10048750
lea eax, [ebp - 0xd8]
mov ecx, 0x10203a88
push eax
call fcn.10048c90
lea eax, [ebp - 0xc0]
mov ecx, 0x10203a18
push eax
call fcn.10048c90
lea eax, [ebp - 0xa8]
mov ecx, 0x10203a30
push eax
call fcn.100489f0
lea eax, [ebp - 0x90]
mov ecx, 0x10203b18
push eax
call fcn.100491d0
lea eax, [ebp - 0x78]
mov ecx, 0x102039e0
push eax
call fcn.10048750
lea eax, [ebp - 0x60]
mov ecx, 0x10203aa0
push eax
call fcn.10048750
lea eax, [ebp - 0x48]
mov ecx, 0x10203ad0
push eax
call fcn.10048f30
lea eax, [ebp - 0x30]
mov ecx, 0x10203b00
push eax
call fcn.10048090
lea ecx, [ebp - 0xf0]
push ecx
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, esi
call fcn.10069cb0
mov esi, 9
lea edi, [ebp - 0x18]
sub edi, 0x18
mov ecx, edi
call fcn.100195e0
sub esi, 1
jne 0x1005f634
mov ecx, dword [0x1021599c]
mov eax, dword [ebp - 8]
mov dword [0x1021599c], eax
test ecx, ecx
je 0x1005f65b
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x58
call fcn.100d7c2b
add esp, 4
mov esi, eax
push 0x58
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov dword [esi], 0x10155194
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 [0x10215994]
mov dword [ebp - 8], eax
mov dword [0x10215994], esi
test eax, eax
je 0x1005f740
mov esi, 7
lea edi, [eax + 0x58]
sub edi, 0xc
mov ecx, edi
call fcn.10068460
sub esi, 1
jne 0x1005f720
push 0x58
push dword [ebp - 8]
call fcn.100d7f7a
add esp, 8
nop dword [eax]
push 0x48
call fcn.100d7c2b
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.100d7c2b
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.100d7c2b
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.100d7c2b
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov eax, dword [0x102159bc]
mov dword [0x102159bc], edi
test eax, eax
je 0x1005f885
push eax
call fcn.10067ac0
push 0x18
call fcn.100d7c2b
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 [0x102159e0]
mov dword [0x102159e0], eax
test ecx, ecx
je 0x1005f8bc
push 0x18
push ecx
call fcn.100d7f7a
add esp, 8
push 0xa0
call fcn.100d7c2b
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 [0x102159b8]
mov dword [0x102159b8], esi
test eax, eax
je 0x1005f99a
push 0xa0
push eax
mov dword [eax], 0x10155204
call fcn.100d7f7a
add esp, 8
push 0x2c
call fcn.100d7c2b
mov esi, eax
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
push eax
push edx
mov dword [esi + 0x20], 0
lea ecx, [esi + 0x20]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
movaps xmm0, xmmword [0x101560a0]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0xbf800000
mov dword [esi + 0x14], 0xbf800000
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
movups xmmword [ebp - 0x14], xmm0
call fcn.100494e0
mov edi, dword [0x102159c8]
mov dword [0x102159c8], esi
test edi, edi
je 0x1005fa2d
lea ecx, [edi + 0x20]
call fcn.10049480
push 0x2c
push edi
call fcn.100d7f7a
add esp, 8
push 1
call fcn.100d7c2b
add esp, 4
mov byte [eax], 0
mov ecx, dword [0x102159ac]
mov dword [0x102159ac], eax
test ecx, ecx
je 0x1005fa54
push 1
push ecx
call fcn.100d7f7a
add esp, 8
push 1
call fcn.100d7c2b
mov ecx, dword [0x102159b0]
add esp, 4
mov dword [0x102159b0], eax
test ecx, ecx
je 0x1005fa78
push 1
push ecx
call fcn.100d7f7a
add esp, 8
push 0x38
call fcn.100d7c2b
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 [0x102159d4]
mov dword [0x102159d4], eax
test ecx, ecx
je 0x1005fad7
push ecx
call fcn.10067a50
push 0xc8
call fcn.100d7c2b
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.10069c20
lea ecx, [esi + 0x20]
call fcn.10069bb0
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 [0x102159f4]
mov dword [0x102159f4], esi
test edi, edi
je 0x1005fc32
lea ecx, [edi + 0x40]
call fcn.1005f370
lea ecx, [edi + 0x20]
call fcn.10068070
mov ecx, edi
call fcn.10067fe0
push 0xc8
push edi
call fcn.100d7f7a
add esp, 8
push 1
call fcn.100d7c2b
mov ecx, dword [0x102159c4]
add esp, 4
mov dword [0x102159c4], eax
test ecx, ecx
je 0x1005fc56
push 1
push ecx
call fcn.100d7f7a
add esp, 8
push 0x50dd68
call fcn.100d7c2b
add esp, 4
mov esi, eax
push 0x50dd68
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.10068f50
mov ecx, dword [0x102159a8]
mov dword [0x102159a8], eax
test ecx, ecx
je 0x1005fc91
push ecx
call fcn.100679e0
push 1
call fcn.100d7c2b
mov ecx, dword [0x10215990]
add esp, 4
mov dword [0x10215990], eax
test ecx, ecx
je 0x1005fcb5
push 1
push ecx
call fcn.100d7f7a
add esp, 8
push 1
call fcn.100d7c2b
mov ecx, dword [0x102159a0]
add esp, 4
mov dword [0x102159a0], eax
test ecx, ecx
je 0x1005fcd9
push 1
push ecx
call fcn.100d7f7a
add esp, 8
push 0x2b4
call fcn.100d7c2b
add esp, 4
mov esi, eax
push 0x2b4
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.10069280
mov esi, dword [0x102159b4]
mov dword [0x102159b4], eax
test esi, esi
je 0x1005fd27
lea ecx, [esi + 0x2a4]
call fcn.100683b0
push 0x2b4
push esi
call fcn.100d7f7a
add esp, 8
push 0x328
call fcn.100d7c2b
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
mov dword [ecx - 8], 0
lea ecx, [ecx + 0xc]
mov dword [ecx - 0x10], 0
mov dword [ecx - 0xc], 0
sub eax, 1
jne 0x1005fd50
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 [0x102159ec]
mov dword [0x102159ec], esi
test eax, eax
je 0x1005fda6
push eax
call fcn.10067980
push 0xc
call fcn.100d7c2b
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, dword [0x102159a4]
mov dword [0x102159a4], eax
test esi, esi
je 0x1005fde5
mov ecx, esi
call fcn.10068250
push 0xc
push esi
call fcn.100d7f7a
add esp, 8
push 0xd7604
call fcn.100d7c2b
add esp, 4
mov esi, eax
push 0xd7604
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.10069eb0
mov eax, dword [0x102159f0]
mov dword [0x102159f0], esi
test eax, eax
je 0x1005fe20
push eax
call fcn.10067930
push 0x10
push 0x3830
call fcn.100d81b1
mov esi, eax
add esp, 8
test esi, esi
je 0x1005fe56
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.10068970
jmp 0x1005fe58
xor esi, esi
mov eax, dword [0x102159e8]
mov dword [0x102159e8], esi
test eax, eax
je 0x1005fe77
push 0x10
push 0x3830
push eax
call fcn.100d81e5
add esp, 0xc
push 0x65bc
call fcn.100d7c2b
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.10069590
mov ecx, dword [0x102159e4]
mov dword [0x102159e4], eax
test ecx, ecx
je 0x1005feba
push 0x65bc
push ecx
call fcn.100d7f7a
add esp, 8
push 1
call fcn.100d7c2b
mov ecx, dword [0x10215998]
add esp, 4
mov dword [0x10215998], eax
test ecx, ecx
je 0x1005fede
push 1
push ecx
call fcn.100d7f7a
add esp, 8
push 0x656ac
call fcn.100d7c2b
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.10069860
mov ecx, dword [0x102159d0]
mov dword [0x102159d0], eax
test ecx, ecx
je 0x1005ff19
push ecx
call fcn.100678e0
lea ecx, [ebp - 8]
call fcn.10068bd0
cmp eax, 0x102159cc
je 0x1005ff45
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x102159cc]
mov dword [0x102159cc], ecx
test eax, eax
je 0x1005ff45
push eax
call fcn.10067810
mov eax, dword [ebp - 8]
test eax, eax
je 0x1005ff52
push eax
call fcn.10067810
push 0xc
call fcn.100d7c2b
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, dword [0x1021597c]
mov dword [0x1021597c], eax
test esi, esi
je 0x1005ff91
mov ecx, esi
call fcn.10049480
push 0xc
push esi
call fcn.100d7f7a
add esp, 8
push 0x200
call fcn.100d7c2b
add esp, 4
mov esi, eax
push 0x200
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 4
call fcn.100d7c2b
add esp, 4
lea ecx, [ebp - 8]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x10057ac0
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 0x100600d1
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x1005ffef
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 0x10060005
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov eax, dword [0x10215964]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [0x10215964], esi
test eax, eax
je 0x1006002a
push 0x200
push eax
call fcn.100d7f7a
add esp, 8
push 1
call fcn.100d7c2b
mov ecx, dword [0x10215978]
add esp, 4
mov dword [0x10215978], eax
test ecx, ecx
je 0x1006004e
push 1
push ecx
call fcn.100d7f7a
add esp, 8
push 0x28
call fcn.100d7c2b
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 [0x1021598c]
mov dword [0x1021598c], eax
test ecx, ecx
je 0x100600be
push 0x28
push ecx
call fcn.100d7f7a
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100d7a38
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