Function at 0x1005f500
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.100d834b
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 [0x1022b038]
mov dword [0x1022b038], eax
test ecx, ecx
je 0x1005f570
push ecx
call fcn.10067b80
push 8
call fcn.100d834b
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov ecx, dword [0x1022b03c]
mov dword [0x1022b03c], eax
test ecx, ecx
je 0x1005f59b
push 8
push ecx
call fcn.100d869a
add esp, 8
push 0x18
call fcn.100d834b
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 [0x1022b020]
mov dword [0x1022b020], eax
test ecx, ecx
je 0x1005f5e0
push 0x18
push ecx
call fcn.100d869a
add esp, 8
push 0x10
call fcn.100d834b
xorps xmm0, xmm0
mov dword [ebp - 8], eax
add esp, 4
mov ecx, 0x102190e8
movups xmmword [eax], xmm0
mov dword [eax], 0x101551f8
lea esi, [eax + 4]
lea eax, [ebp - 0xf0]
push eax
call fcn.100487b0
lea eax, [ebp - 0xd8]
mov ecx, 0x10219110
push eax
call fcn.10048cf0
lea eax, [ebp - 0xc0]
mov ecx, 0x102190b8
push eax
call fcn.10048cf0
lea eax, [ebp - 0xa8]
mov ecx, 0x102190d0
push eax
call fcn.10048a50
lea eax, [ebp - 0x90]
mov ecx, 0x102191a0
push eax
call fcn.10049230
lea eax, [ebp - 0x78]
mov ecx, 0x10219080
push eax
call fcn.100487b0
lea eax, [ebp - 0x60]
mov ecx, 0x10219128
push eax
call fcn.100487b0
lea eax, [ebp - 0x48]
mov ecx, 0x10219158
push eax
call fcn.10048f90
lea eax, [ebp - 0x30]
mov ecx, 0x10219188
push eax
call fcn.100480f0
lea ecx, [ebp - 0xf0]
push ecx
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, esi
call fcn.10069cf0
mov esi, 9
lea edi, [ebp - 0x18]
sub edi, 0x18
mov ecx, edi
call fcn.10019620
sub esi, 1
jne 0x1005f6a4
mov ecx, dword [0x1022affc]
mov eax, dword [ebp - 8]
mov dword [0x1022affc], eax
test ecx, ecx
je 0x1005f6cb
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x58
call fcn.100d834b
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 [0x1022aff4]
mov dword [ebp - 8], eax
mov dword [0x1022aff4], esi
test eax, eax
je 0x1005f7b0
mov esi, 7
lea edi, [eax + 0x58]
sub edi, 0xc
mov ecx, edi
call fcn.100684a0
sub esi, 1
jne 0x1005f790
push 0x58
push dword [ebp - 8]
call fcn.100d869a
add esp, 8
nop dword [eax]
push 0x48
call fcn.100d834b
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.100d834b
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.100d834b
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.100d834b
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov eax, dword [0x1022b01c]
mov dword [0x1022b01c], edi
test eax, eax
je 0x1005f8f5
push eax
call fcn.10067b00
push 0x18
call fcn.100d834b
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 [0x1022b040]
mov dword [0x1022b040], eax
test ecx, ecx
je 0x1005f92c
push 0x18
push ecx
call fcn.100d869a
add esp, 8
push 0xa0
call fcn.100d834b
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 [0x1022b018]
mov dword [0x1022b018], esi
test eax, eax
je 0x1005fa0a
push 0xa0
push eax
mov dword [eax], 0x10155204
call fcn.100d869a
add esp, 8
push 0x2c
call fcn.100d834b
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 [0x101560b0]
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.10049540
mov edi, dword [0x1022b028]
mov dword [0x1022b028], esi
test edi, edi
je 0x1005fa9d
lea ecx, [edi + 0x20]
call fcn.100494e0
push 0x2c
push edi
call fcn.100d869a
add esp, 8
push 1
call fcn.100d834b
add esp, 4
mov byte [eax], 0
mov ecx, dword [0x1022b00c]
mov dword [0x1022b00c], eax
test ecx, ecx
je 0x1005fac4
push 1
push ecx
call fcn.100d869a
add esp, 8
push 1
call fcn.100d834b
mov ecx, dword [0x1022b010]
add esp, 4
mov dword [0x1022b010], eax
test ecx, ecx
je 0x1005fae8
push 1
push ecx
call fcn.100d869a
add esp, 8
push 0x38
call fcn.100d834b
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 [0x1022b034]
mov dword [0x1022b034], eax
test ecx, ecx
je 0x1005fb47
push ecx
call fcn.10067a90
push 0xc8
call fcn.100d834b
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.10069c60
lea ecx, [esi + 0x20]
call fcn.10069bf0
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 [0x1022b054]
mov dword [0x1022b054], esi
test edi, edi
je 0x1005fca2
lea ecx, [edi + 0x40]
call fcn.1005f3e0
lea ecx, [edi + 0x20]
call fcn.100680b0
mov ecx, edi
call fcn.10068020
push 0xc8
push edi
call fcn.100d869a
add esp, 8
push 1
call fcn.100d834b
mov ecx, dword [0x1022b024]
add esp, 4
mov dword [0x1022b024], eax
test ecx, ecx
je 0x1005fcc6
push 1
push ecx
call fcn.100d869a
add esp, 8
push 0x50dd68
call fcn.100d834b
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.10068f90
mov ecx, dword [0x1022b008]
mov dword [0x1022b008], eax
test ecx, ecx
je 0x1005fd01
push ecx
call fcn.10067a20
push 1
call fcn.100d834b
mov ecx, dword [0x1022aff0]
add esp, 4
mov dword [0x1022aff0], eax
test ecx, ecx
je 0x1005fd25
push 1
push ecx
call fcn.100d869a
add esp, 8
push 1
call fcn.100d834b
mov ecx, dword [0x1022b000]
add esp, 4
mov dword [0x1022b000], eax
test ecx, ecx
je 0x1005fd49
push 1
push ecx
call fcn.100d869a
add esp, 8
push 0x2b4
call fcn.100d834b
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.100692c0
mov esi, dword [0x1022b014]
mov dword [0x1022b014], eax
test esi, esi
je 0x1005fd97
lea ecx, [esi + 0x2a4]
call fcn.100683f0
push 0x2b4
push esi
call fcn.100d869a
add esp, 8
push 0x328
call fcn.100d834b
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 0x1005fdc0
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 [0x1022b04c]
mov dword [0x1022b04c], esi
test eax, eax
je 0x1005fe16
push eax
call fcn.100679c0
push 0xc
call fcn.100d834b
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, dword [0x1022b004]
mov dword [0x1022b004], eax
test esi, esi
je 0x1005fe55
mov ecx, esi
call fcn.10068290
push 0xc
push esi
call fcn.100d869a
add esp, 8
push 0xd7604
call fcn.100d834b
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.10069ef0
mov eax, dword [0x1022b050]
mov dword [0x1022b050], esi
test eax, eax
je 0x1005fe90
push eax
call fcn.10067970
push 0x10
push 0x3830
call fcn.100d88d1
mov esi, eax
add esp, 8
test esi, esi
je 0x1005fec6
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.100689b0
jmp 0x1005fec8
xor esi, esi
mov eax, dword [0x1022b048]
mov dword [0x1022b048], esi
test eax, eax
je 0x1005fee7
push 0x10
push 0x3830
push eax
call fcn.100d8905
add esp, 0xc
push 0x65bc
call fcn.100d834b
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.100695d0
mov ecx, dword [0x1022b044]
mov dword [0x1022b044], eax
test ecx, ecx
je 0x1005ff2a
push 0x65bc
push ecx
call fcn.100d869a
add esp, 8
push 1
call fcn.100d834b
mov ecx, dword [0x1022aff8]
add esp, 4
mov dword [0x1022aff8], eax
test ecx, ecx
je 0x1005ff4e
push 1
push ecx
call fcn.100d869a
add esp, 8
push 0x656ac
call fcn.100d834b
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.100698a0
mov ecx, dword [0x1022b030]
mov dword [0x1022b030], eax
test ecx, ecx
je 0x1005ff89
push ecx
call fcn.10067920
lea ecx, [ebp - 8]
call fcn.10068c10
cmp eax, 0x1022b02c
je 0x1005ffb5
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x1022b02c]
mov dword [0x1022b02c], ecx
test eax, eax
je 0x1005ffb5
push eax
call fcn.10067850
mov eax, dword [ebp - 8]
test eax, eax
je 0x1005ffc2
push eax
call fcn.10067850
push 0xc
call fcn.100d834b
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, dword [0x1022afdc]
mov dword [0x1022afdc], eax
test esi, esi
je 0x10060001
mov ecx, esi
call fcn.100494e0
push 0xc
push esi
call fcn.100d869a
add esp, 8
push 0x200
call fcn.100d834b
add esp, 4
mov esi, eax
push 0x200
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 4
call fcn.100d834b
add esp, 4
lea ecx, [ebp - 8]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x10057b30
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 0x10060141
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x1006005f
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 0x10060075
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov eax, dword [0x1022afc4]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [0x1022afc4], esi
test eax, eax
je 0x1006009a
push 0x200
push eax
call fcn.100d869a
add esp, 8
push 1
call fcn.100d834b
mov ecx, dword [0x1022afd8]
add esp, 4
mov dword [0x1022afd8], eax
test ecx, ecx
je 0x100600be
push 1
push ecx
call fcn.100d869a
add esp, 8
push 0x28
call fcn.100d834b
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 [0x1022afec]
mov dword [0x1022afec], eax
test ecx, ecx
je 0x1006012e
push 0x28
push ecx
call fcn.100d869a
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100d8158
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