Function at 0x1800610c0
Capabilities:
Query environment variable
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov word [rsp + 8], cx
push rsi
push rdi
sub rsp, 0x728
lea rdx, str.BEService_x64.exe
lea rcx, [rsp + 0x140]
call fcn.18001ffc0
mov rcx, rax
call fcn.18001ff50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18006126b
lea rdx, str.TslGame_UC.exe
lea rcx, [rsp + 0xd3]
call fcn.180021bb0
mov rcx, rax
call fcn.180021b40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18006126b
lea rdx, str.BroCrashReporter.exe
lea rcx, [rsp + 0x152]
call fcn.18001f900
mov rcx, rax
call fcn.18001f890
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18006126b
lea rdx, str.TslGame_ZK.exe
lea rcx, [rsp + 0xe2]
call fcn.180021bb0
mov rcx, rax
call fcn.180021b40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18006126b
lea rdx, str.ucldr_battlegrounds_gl.exe
lea rcx, [rsp + 0x167]
call fcn.180061710
mov rcx, rax
call fcn.1800616a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18006126b
lea rdx, str.TslGame_BE.exe
lea rcx, [rsp + 0xf1]
call fcn.180021bb0
mov rcx, rax
call fcn.180021b40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18006126b
lea rdx, str.zksvc.exe
lea rcx, [rsp + 0x8d]
call fcn.180020d10
mov rcx, rax
call fcn.180020ca0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18006126b
lea rdx, str.ExecPubg.exe
lea rcx, [rsp + 0xb8]
call fcn.180021960
mov rcx, rax
call fcn.1800218f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18006126b
lea rdx, str.BEService.exe
lea rcx, [rsp + 0xc5]
call fcn.1800216f0
mov rcx, rax
call fcn.180021680
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180061272
xor eax, eax
jmp 0x180061687
lea rdx, str.TslGame.exe
lea rcx, [rsp + 0xac]
call fcn.1800208d0
mov rcx, rax
call fcn.180020860
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180061685
mov rax, qword [rsp + 0x750]
cmp dword [rax + 0x28], 1
jg 0x1800612b8
mov eax, 0x277a
jmp 0x180061687
lea rax, [0x1800aa970]
mov rdi, rax
mov rsi, qword [rsp + 0x758]
mov ecx, 0x78
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x34]
call fcn.18005f150
mov qword [rsp + 0x48], rax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x750]
mov eax, dword [rcx + rax + 0x2c]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0
jmp 0x18006130d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jge 0x180061364
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x274
mov rcx, qword [rsp + 0x48]
mov edx, dword [rsp + 0x38]
cmp dword [rcx + rax + 0x24], edx
jne 0x180061362
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x274
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov r8d, 0x274
mov rdx, rax
lea rcx, [rsp + 0x4a0]
call fcn.18008b310
nop
jmp 0x180061364
jmp 0x180061303
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jl 0x180061378
mov eax, 0x277a
jmp 0x180061687
mov dword [rsp + 0x3c], 0x104
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x4b4]
call qword [sym.imp.WS2_32.dll_WSCGetProviderPath]
cmp eax, 0xffffffff
jne 0x1800613af
mov eax, 0x277a
jmp 0x180061687
mov r8d, 0x104
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x1800613d9
mov eax, 0x277a
jmp 0x180061687
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x100]
call fcn.180060fa0
mov rcx, rax
call fcn.180002b70
mov r8d, 8
xor edx, edx
mov rcx, rax
call fcn.180004940
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x100]
call fcn.180002b90
nop
mov qword [rsp + 0x50], 0
lea rdx, [0x1800a0e80]
lea rcx, [rsp + 0xa1]
call fcn.180020b00
mov rcx, rax
call fcn.180020a90
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x750]
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x4c8], 1
jne 0x180061475
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x210]
mov rdi, rax
mov rsi, qword [rsp + 0x758]
mov ecx, 0x78
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x760]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x210]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x748]
movzx ecx, word [rsp + 0x740]
call qword [rsp + 0x70]
mov dword [rsp + 0x40], eax
lea rax, [0x1800aac20]
mov rdi, rax
mov rsi, qword [rsp + 0x760]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov r8d, 0xf0
mov rdx, qword [rsp + 0x760]
lea rcx, [0x1800aa880]
call fcn.18008b310
nop
lea rdx, [0x1800a0e90]
lea rcx, [rsp + 0x19d]
call fcn.18001e160
mov rcx, rax
call fcn.18001e0f0
mov rdx, rax
lea rcx, [0x1800ab348]
call fcn.1800222b0
nop
mov edx, 6
lea rcx, [rsp + 0x120]
call fcn.180060940
mov rdx, rax
lea rcx, [0x1800ab348]
call fcn.1800628b0
lea rcx, [rsp + 0x120]
call fcn.180002b90
nop
lea rdx, str..dll
lea rcx, [rsp + 0x88]
call fcn.1800211c0
mov rcx, rax
call fcn.180021150
mov rdx, rax
lea rcx, [0x1800ab348]
call fcn.180062880
nop
lea rcx, [0x1800ab348]
call fcn.180002b70
mov qword [0x1800a71b0], rax
lea rdx, str.C:UsersPublicAccountPicturesD3DCompiler_35.dll
lea rcx, [rsp + 0x1d0]
call fcn.18001e160
mov rcx, rax
call fcn.18001e0f0
mov rdx, rax
lea rcx, [0x1800ab310]
call fcn.1800222b0
nop
lea rcx, [0x1800ab310]
call fcn.180002b70
mov qword [0x1800a71b8], rax
mov rdx, qword [0x1800a71b0]
mov rcx, qword [0x1800a71b8]
call fcn.1800797e8
mov rcx, qword [0x1800a71b0]
call fcn.180060b90
nop
lea rdx, str.ZwCreateSymbolicLinkObject
lea rcx, [rsp + 0x182]
call fcn.180061710
mov rcx, rax
call fcn.1800616a0
mov qword [rsp + 0x78], rax
lea rdx, str.Ntdll.dll
lea rcx, [rsp + 0x97]
call fcn.180020d10
mov rcx, rax
call fcn.180020ca0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [rax + 4]
inc eax
mov eax, eax
mov qword [0x1800aac18], rax
xor edx, edx
lea rcx, [0x180060d60]
call fcn.18005efc0
mov rcx, qword [rsp + 0x48]
call fcn.180060f80
mov eax, dword [rsp + 0x40]
jmp 0x180061687
xor eax, eax
add rsp, 0x728
pop rdi
pop rsi
ret