Function at 0x140006980
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x340
lea r8, [rsp + 0x30]
mov rbx, rcx
sub r8, rdx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
mov byte [r8 + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400069a0
lea rax, [rsp + 0x30]
or rcx, 0xffffffffffffffff
nop dword [rax + rax]
cmp byte [rax + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400069c0
lea rax, [rsp + 0x30]
cmp byte [rcx + rax - 1], 0x5c
jne 0x1400069dc
mov byte [rcx + rax - 1], 0
lea rcx, [rsp + 0x30]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400069e4
movzx eax, word [0x140015694]
mov word [rcx], ax
lea rcx, [rsp + 0x30]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140006a00
mov eax, dword [0x1400175f8]
lea r8, [0x1400153f9]
movups xmm0, xmmword [str.VRayMayaSpawner.ini]
mov r9, rbx
lea rdx, str.TempDir
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rcx, [0x140017990]
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbx + 0x104]
lea r8, [0x1400153fa]
mov dword [rsp + 0x20], 0x104
lea rdx, str.AppName
lea rcx, [0x1400179a8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
or r8d, 0xffffffff
lea rdx, str.cmdparams
lea rcx, [0x140023a60]
call fcn.14000fe90
test eax, eax
jns 0x140006ad0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbx + 0x208]
lea r8, [0x1400153fb]
mov dword [rsp + 0x20], 0x1000
lea rdx, str.AppParams
lea rcx, [0x1400179d8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
or r8d, 0xffffffff
lea rdx, [0x1400179e4]
lea rcx, [0x140023a60]
call fcn.14000fe90
test eax, eax
jns 0x140006b3f
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x140]
lea r8, [0x140015401]
mov dword [rsp + 0x20], 0x200
lea rdx, str.port
lea rcx, [0x1400157fc]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea r8, [rbx + 0x120c]
mov edx, 0x400
lea rcx, [rsp + 0x140]
call fcn.14000b880
mov dword [rbx + 0x1208], eax
or r8d, 0xffffffff
lea rdx, [0x1400179f4]
lea rcx, [0x140023a60]
call fcn.14000fe90
test eax, eax
jns 0x140006bae
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x140]
lea r8, [0x140015402]
mov dword [rsp + 0x20], 0x200
lea rdx, str.node
lea rcx, [0x14001583c]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea r8, [rbx + 0x2210]
mov edx, 0x400
lea rcx, [rsp + 0x140]
call fcn.14000b880
mov dword [rbx + 0x220c], eax
or r8d, 0xffffffff
lea rdx, [0x140017a04]
lea rcx, [0x140023a60]
call fcn.14000fe90
test eax, eax
jns 0x140006c19
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x140]
lea r8, [0x140015403]
mov dword [rsp + 0x20], 0x200
lea rdx, str.numa
lea rcx, [0x14001586c]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea r8, [rbx + 0x3210]
lea rdx, [0x140015894]
lea rcx, [rsp + 0x140]
call fcn.14000d1a0
or r8d, 0xffffffff
lea rdx, [0x140017a18]
lea rcx, [0x140023a60]
call fcn.14000fe90
test eax, eax
jns 0x140006c84
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x140]
lea r8, [0x140015407]
mov dword [rsp + 0x20], 0x200
lea rdx, str.numthreads
lea rcx, [0x1400158dc]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea r8, [rbx + 0x3214]
lea rdx, [0x1400158f4]
lea rcx, [rsp + 0x140]
call fcn.14000d1a0
xor eax, eax
add rsp, 0x340
pop rbx
ret