Function at 0x57803c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xffffffc0
sub esp, 0x240
mov ebx, dword [edx + 8]
mov edi, edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x3c], edx
test ebx, ebx
jne 0x578152
lea esi, [esp + 0x100]
mov edx, str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUSThreadPoolBuildError
mov ecx, esi
push 0x11
call fcn.005e3150
pop eax
lea edi, [esp + 0x94]
mov edx, esi
mov ecx, edi
call fcn.00578b6e
mov edi, dword [edi]
test edi, edi
je 0x5780cd
mov eax, dword [esp + 0x98]
lea esi, [esp + 0x100]
mov edx, edi
mov ecx, esi
mov dword [esp + 0x34], eax
push dword [esp + 0x9c]
call fcn.0044acf0
pop eax
mov al, byte [esi]
mov edx, dword [esp + 0x34]
mov ebx, dword [esi + 4]
mov ecx, edi
mov byte [esp + 0x38], al
call fcn.004bd77e
cmp byte [esp + 0x38], 0
je 0x578143
lea esi, [esp + 0x100]
mov edx, 0x9fd791
mov ecx, esi
push 0x11
call fcn.005e3150
pop eax
lea edi, [esp + 0x94]
mov edx, esi
mov ecx, edi
call fcn.00578b6e
mov edi, dword [edi]
test edi, edi
je 0x57813d
mov eax, dword [esp + 0x98]
lea esi, [esp + 0x100]
mov edx, edi
mov ecx, esi
mov dword [esp + 0x34], eax
push dword [esp + 0x9c]
call fcn.0044acf0
pop eax
mov al, byte [esi]
mov edx, dword [esp + 0x34]
mov ebx, dword [esi + 4]
mov ecx, edi
mov byte [esp + 0x38], al
call fcn.004bd77e
cmp byte [esp + 0x38], 0
mov edi, dword [esp + 0x3c]
je 0x578147
jmp 0x57814b
mov edi, dword [esp + 0x3c]
jmp 0x57814b
mov edi, dword [esp + 0x3c]
test ebx, ebx
jne 0x578152
call fcn.0056dc4a
mov ebx, eax
mov esi, 0xff
cmp ebx, esi
cmovb esi, ebx
mov bl, byte [edi + 0x2c]
push 4
pop eax
lea edi, [esp + 0xa0]
mov dword [edi - 0xc], eax
and dword [edi - 8], 0
and dword [edi - 4], 0
mov dword [edi], eax
and dword [edi + 4], 0
and dword [edi + 8], 0
test esi, esi
je 0x578199
lea ecx, [esp + 0x94]
mov edx, esi
call fcn.00576548
mov ecx, edi
mov edx, esi
call fcn.00576567
lea edi, [esp + 0x94]
mov dword [esp + 0x34], esi
sub esi, 1
jb 0x578213
lea ecx, [esp + 0x40]
test bl, bl
je 0x5781b8
call fcn.0057660e
jmp 0x5781bd
call fcn.0057677b
mov eax, dword [esp + 0x40]
lock inc dword [eax]
jle 0x578845
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
mov cl, byte [esp + 0x4c]
lea edx, [esp + 0xa0]
movsd qword [esp + 0x100], xmm0
movsd qword [esp + 0x108], xmm1
mov dword [esp + 0x110], eax
lea eax, [esp + 0x100]
mov byte [esp + 0x114], cl
mov ecx, edi
push eax
call fcn.00576657
pop eax
jmp 0x5781a4
lea esi, [esp + 0xa0]
mov eax, dword [esi - 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esi - 8]
mov dword [esp + 0x74], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x68], eax
push 4
pop eax
mov ebx, dword [esp + 0x34]
mov dword [esi - 0xc], eax
and dword [esi - 8], 0
and dword [esi - 4], 0
mov dword [esi], eax
and dword [esi + 4], 0
and dword [esi + 8], 0
test ebx, ebx
je 0x57827a
lea ecx, [esp + 0x94]
mov edx, ebx
call fcn.00576548
mov ecx, esi
mov edx, ebx
call fcn.00576567
lea edi, [esp + 0x94]
sub ebx, 1
jb 0x5782e0
lea ecx, [esp + 0x40]
call fcn.0057660e
mov eax, dword [esp + 0x40]
lock inc dword [eax]
jle 0x578845
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
mov cl, byte [esp + 0x4c]
mov edx, esi
movsd qword [esp + 0x100], xmm0
movsd qword [esp + 0x108], xmm1
mov dword [esp + 0x110], eax
lea eax, [esp + 0x100]
mov byte [esp + 0x114], cl
mov ecx, edi
push eax
call fcn.00576657
pop eax
jmp 0x578281
lea esi, [esp + 0x94]
mov eax, dword [esi + 8]
movsd xmm0, qword [esi]
mov dword [esp + 0xd8], eax
mov eax, dword [esi + 0xc]
movsd qword [esp + 0xd0], xmm0
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x54], eax
push 3
pop ecx
call fcn.005788a0
mov edi, eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x58], edx
mov edx, esi
mov dword [esi], ecx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 8], ecx
lea eax, [ecx + eax*8]
lea ecx, [esp + 0x1b0]
mov dword [esi + 0xc], eax
call fcn.005788f8
mov edx, dword [esp + 0x34]
lea esi, [esp + 0x1bc]
mov ecx, esi
call fcn.005789f2
lea ebx, [esp + 0x100]
mov ecx, ebx
call fcn.0057683f
mov eax, dword [esp + 0xd8]
lea ecx, [esp + 0x94]
movsd xmm0, qword [esp + 0xd0]
mov dword [esi + 0x18], edi
mov edi, dword [esp + 0x3c]
mov dword [ecx + 0xb], eax
mov eax, dword [esp + 0x58]
movsd qword [ecx + 3], xmm0
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 7]
mov ecx, ebx
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0xc]
and dword [esi - 0x24], 0
mov byte [esi - 0x20], 0
movsd qword [esi - 0x1f], xmm0
movsd qword [esi - 0x18], xmm1
mov dword [esi - 0x3c], eax
mov eax, dword [edi + 0x10]
and dword [edi + 0xc], 0
mov dword [esi - 0x38], eax
mov eax, dword [edi + 0x1c]
mov dword [esi - 0x34], eax
mov eax, dword [edi + 0x20]
and dword [edi + 0x1c], 0
mov dword [esi - 0x30], eax
mov eax, dword [edi + 0x24]
mov dword [esi - 0x2c], eax
mov eax, dword [edi + 0x28]
and dword [edi + 0x24], 0
mov dword [esi - 0x28], eax
mov dword [esi - 0x10], 1
call fcn.00578a51
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x60]
shl edx, 4
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ebx + 8], ecx
add edx, ecx
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x64]
mov dword [ebx + 0x10], esi
lea eax, [esi + eax*8]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], eax
and dword [ebx + 0x24], 0
and dword [ebx + 0x20], 0
and dword [ebx + 0x2c], 0
and dword [ebx + 0x28], 0
lea ecx, [esp + 0x94]
lea edx, [esp + 0x100]
call fcn.00578aa4
cmp byte [esp + 0xa4], 2
je 0x5787b3
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x74], eax
mov al, byte [esp + 0xac]
mov byte [esp + 0x70], al
mov eax, dword [edi + 0x14]
test eax, eax
je 0x578491
mov ecx, dword [edi + 0x18]
push esi
push eax
lea eax, [esp + 0x48]
push eax
call dword [ecx + 0x10]
add esp, 0xc
jmp 0x578496
and dword [esp + 0x40], 0
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x6c], ecx
lock inc dword [ecx]
jle 0x578845
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
and dword [esp + 0x84], 0
and dword [esp + 0x7c], 0
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], eax
lea eax, [esp + 0x94]
test ebx, ebx
mov dword [esp + 0x34], ecx
movsd xmm0, qword [eax + 4]
movsd xmm1, qword [eax + 0xc]
lea eax, [esp + 0xf0]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
je 0x57856c
mov eax, dword [esp + 0x8c]
movsd xmm0, qword [esp + 0x7c]
movsd xmm1, qword [esp + 0x84]
xor edx, edx
mov dword [esp + 0x50], eax
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm0
call fcn.005779fb
mov esi, eax
mov edi, edx
push dword [esp + 0x34]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x34]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], edi
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x40]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xb0]
push eax
call fcn.005def20
pop eax
cmp dword [esp + 0x38], 0
mov dword [esp + 0x64], ebx
je 0x5785a1
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], 1
mov dword [esp + 0x80], eax
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
jmp 0x5785cb
mov esi, dword [esp + 0x84]
cmp dword [esp + 0x7c], 0
mov edi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
je 0x5785c6
mov eax, dword [esp + 0x80]
jmp 0x5785cb
call fcn.005f0c80
test esi, esi
mov dword [esp + 0x54], eax
je 0x578619
lea ecx, [esp + 0xb0]
lea edx, [esp + 0xe0]
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], edi
call fcn.005ff111
cmp dword [esp + 0xb0], 0
jne 0x578849
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
jmp 0x57861b
xor ecx, ecx
call fcn.005dba60
mov dword [esp + 0xc0], eax
lock inc dword [eax]
jle 0x578845
mov edi, eax
push 0x18
pop ecx
push 4
pop edx
call fcn.004c2304
mov esi, eax
xor eax, eax
inc eax
mov dword [esi], eax
mov dword [esi + 4], eax
and dword [esi + 8], 0
and dword [esi + 0xc], 0
mov dword [esp + 0xb0], esi
lock inc dword [esi]
jle 0x578845
xor ecx, ecx
call fcn.005e82f0
mov ebx, eax
test eax, eax
je 0x578679
lock inc dword [ebx]
jle 0x578845
mov ecx, ebx
jmp 0x57867b
xor ecx, ecx
call fcn.005e82f0
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
call fcn.0047b7f4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x57869c
add ecx, 8
call fcn.005ded70
push 0x40
pop ecx
push 4
pop edx
call fcn.004c2304
mov ecx, dword [esp + 0x38]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov edx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x14], ecx
mov cl, byte [esp + 0x70]
mov byte [eax + 0x18], cl
movsd xmm0, qword [esp + 0xed]
movsd xmm1, qword [esp + 0xf5]
movsd qword [eax + 0x19], xmm0
movsd qword [eax + 0x21], xmm1
mov ecx, dword [esp + 0xfc]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x3c], ecx
lea ecx, [esp + 0x40]
push 0x9fd388
push eax
call fcn.005f0e00
pop eax
pop ecx
movzx ebx, byte [esp + 0x40]
cmp ebx, 4
jne 0x57876f
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], eax
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [esp + 0xc4]
call fcn.005c224c
lea ecx, [esp + 0xc8]
call fcn.00555b1c
mov bl, 4
jmp 0x57879e
mov eax, dword [esp + 0x44]
movzx esi, byte [esp + 0x43]
movzx edi, word [esp + 0x41]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x58], eax
call fcn.00555b1c
lea ecx, [esp + 0xc0]
call fcn.005c224c
cmp bl, 4
jne 0x5787d2
mov edx, dword [esp + 0x58]
movzx ecx, bl
call fcn.005db180
mov edi, dword [esp + 0x3c]
jmp 0x57843a
lea ecx, [esp + 0x100]
call fcn.00578b46
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x90]
mov dword [ecx + 4], eax
mov byte [ecx], 5
jmp 0x578811
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x58]
shl edi, 8
shl esi, 0x18
or esi, edi
or esi, ebx
mov dword [eax], esi
mov dword [eax + 4], ecx
lea ecx, [esp + 0x100]
call fcn.00578b46
lea esi, [esp + 0x78]
mov ecx, dword [esi]
add ecx, 0x40
call fcn.00578b98
mov ecx, esi
call fcn.00551ad8
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
call fcn.0045e01c
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
call fcn.0045e01c
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
call fcn.0045e01c
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x28]
call fcn.0045e01c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
movsd xmm0, qword [esp + 0xb0]
movsd xmm1, qword [esp + 0xb8]
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm0
push 0x2f
pop edx
mov ecx, str.thread_name_may_not_contain_interior_null_bytes
push 0xa0ee7c
push 0x9fd398
lea eax, [esp + 0x48]
push eax
call fcn.0063cff0
add esp, 0xc
ud2