Function at 0x18000bec0
Capabilities:
Move file
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 rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx edx, byte [rsp + 0x56]
lea rcx, [rsp + 0x170]
call fcn.180005140
mov rcx, rax
call fcn.18000abd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18000c1a5
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x32]
movzx r8d, byte [rsp + 0x33]
movzx edx, byte [rsp + 0x4c]
lea rcx, [rsp + 0xc0]
call fcn.1800051a0
mov rcx, rax
call fcn.18000ac90
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18000c1a5
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x34]
movzx r8d, byte [rsp + 0x35]
movzx edx, byte [rsp + 0x4d]
lea rcx, [rsp + 0xd0]
call fcn.180005200
mov rcx, rax
call fcn.18000acb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18000c1a5
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x36]
movzx r8d, byte [rsp + 0x37]
movzx edx, byte [rsp + 0x4e]
lea rcx, [rsp + 0x190]
call fcn.180005290
mov rcx, rax
call fcn.18000acf0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18000c1a5
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x38]
movzx r8d, byte [rsp + 0x39]
movzx edx, byte [rsp + 0x4f]
lea rcx, [rsp + 0xe0]
call fcn.1800052c0
mov rcx, rax
call fcn.18000ac70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18000c1a5
lea rax, [rsp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x3a]
movzx r8d, byte [rsp + 0x3b]
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0xf0]
call fcn.1800052f0
mov rcx, rax
call fcn.18000ad30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18000c1a5
lea rax, [rsp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x3c]
movzx r8d, byte [rsp + 0x3d]
movzx edx, byte [rsp + 0x51]
lea rcx, [rsp + 0x100]
call fcn.180005320
mov rcx, rax
call fcn.18000ac10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18000c1a5
lea rax, [rsp + 0x3e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x3e]
movzx r8d, byte [rsp + 0x3f]
movzx edx, byte [rsp + 0x52]
lea rcx, [rsp + 0x110]
call fcn.180005350
mov rcx, rax
call fcn.18000abb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18000c1ac
xor eax, eax
jmp 0x18000c5f3
mov rax, qword [rsp + 0x750]
cmp dword [rax + 0x28], 1
jg 0x18000c1c4
mov eax, 0x277a
jmp 0x18000c5f3
lea rax, [0x1800b7040]
mov rdi, rax
mov rsi, qword [rsp + 0x758]
mov ecx, 0x78
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x58]
call fcn.180007190
mov qword [rsp + 0x68], rax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x750]
mov eax, dword [rcx + rax + 0x2c]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x48], 0
jmp 0x18000c219
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x48], eax
jge 0x18000c270
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x274
mov rcx, qword [rsp + 0x68]
mov edx, dword [rsp + 0x5c]
cmp dword [rcx + rax + 0x24], edx
jne 0x18000c26e
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x274
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov r8d, 0x274
mov rdx, rax
lea rcx, [rsp + 0x4a0]
call sub.VCRUNTIME140.dll_memcpy
nop
jmp 0x18000c270
jmp 0x18000c20f
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x48], eax
jl 0x18000c284
mov eax, 0x277a
jmp 0x18000c5f3
mov dword [rsp + 0x60], 0x104
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x4b4]
call sub.WS2_32.dll_WSCGetProviderPath
cmp eax, 0xffffffff
jne 0x18000c2bd
mov eax, 0x277a
jmp 0x18000c5f3
mov r8d, 0x104
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x18000c2e7
mov eax, 0x277a
jmp 0x18000c5f3
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x130]
call fcn.180006330
mov rcx, rax
call fcn.180009ae0
mov r8d, 8
xor edx, edx
mov rcx, rax
call fcn.180007440
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x130]
call fcn.180005b60
nop
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0xa0]
call fcn.180003930
mov rcx, rax
call fcn.180005dc0
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xa0]
call fcn.1800042f0
nop
mov rax, qword [rsp + 0x750]
mov qword [rsp + 0x78], rax
cmp dword [rsp + 0x4c8], 1
jne 0x18000c390
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], 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 + 0x78]
mov rdx, qword [rsp + 0x748]
movzx ecx, word [rsp + 0x740]
call qword [rsp + 0x90]
mov dword [rsp + 0x64], eax
lea rax, [0x1800b70c0]
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, [0x1800b72c0]
call sub.VCRUNTIME140.dll_memcpy
nop
lea rcx, [rsp + 0xab]
call fcn.180003930
mov rcx, rax
call fcn.180005e20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0xab]
call fcn.1800042f0
cmp qword [rsp + 0x98], 0
je 0x18000c5e5
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x40]
movzx r8d, byte [rsp + 0x41]
movzx edx, byte [rsp + 0x53]
lea rcx, [rsp + 0x1b0]
call fcn.1800050b0
mov rcx, rax
call fcn.18000abf0
mov rdx, rax
lea rcx, [0x1800b6030]
call fcn.180005cd0
nop
mov edx, 6
lea rcx, [rsp + 0x150]
call fcn.18000b8c0
mov rdx, rax
lea rcx, [0x1800b6030]
call fcn.180006210
lea rcx, [rsp + 0x150]
call fcn.180005b60
nop
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x42]
movzx r8d, byte [rsp + 0x43]
movzx edx, byte [rsp + 0x54]
lea rcx, [rsp + 0x120]
call fcn.180005080
mov rcx, rax
call fcn.18000ab50
mov rdx, rax
lea rcx, [0x1800b6030]
call fcn.180006240
nop
lea rcx, [0x1800b6030]
call fcn.180009ae0
mov qword [section..data], rax
lea rax, [rsp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x45]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x44]
movzx r8d, byte [rsp + 0x45]
movzx edx, byte [rsp + 0x55]
lea rcx, [rsp + 0x1e0]
call fcn.1800050b0
mov rcx, rax
call fcn.18000abf0
mov rdx, rax
lea rcx, [0x1800b6050]
call fcn.180005cd0
nop
lea rcx, [0x1800b6050]
call fcn.180009ae0
mov qword [0x1800b6008], rax
mov rdx, qword [section..data]
mov rcx, qword [0x1800b6008]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov rcx, qword [section..data]
call fcn.18000adb0
call fcn.180007c00
nop
mov rcx, qword [rsp + 0x68]
call fcn.180006ea0
mov eax, dword [rsp + 0x64]
add rsp, 0x728
pop rdi
pop rsi
ret