Function at 0x180007c30
Capabilities:
Copy file
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10040]
mov eax, 0x10140
call fcn.180010330
sub rsp, rax
mov rax, qword [0x18003e080]
xor rax, rsp
mov qword [rbp + 0x10030], rax
xor esi, esi
mov edi, esi
mov r8d, 0x7fff
lea rdx, [rbp + 0x8030]
lea rcx, str.C:WindowsMicrosoft.NETFramework_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov r8d, 0x7fff
lea rdx, [rbp + 0x30]
lea rcx, str.C:WindowsMicrosoft.NETFramework_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea rax, [rbp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], sil
jne 0x180007cc3
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.180003ed0
nop
mov r8d, 0xc
lea rdx, str.WsmRes32.dll
lea rcx, [rsp + 0x48]
call fcn.18000b690
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x8030]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180007d10
mov r8, rbx
lea rdx, [rbp + 0x8030]
lea rcx, [rsp + 0x28]
call fcn.180003ed0
nop
mov r8d, 0xc
lea rdx, str.WsmRes64.dll
lea rcx, [rsp + 0x28]
call fcn.18000b690
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x10]
call fcn.180003fd0
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
lea rcx, [rbp - 0x10]
call fcn.180003fd0
nop
call fcn.18000e1b8
lea rbx, str.C:WindowsSystem32driversWppRecorderpo.sys
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 0x2d
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.180002260
nop
call fcn.18000e1b8
lea r14, str.C:WindowsSystem32driversWppRecorderrt.sys
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0x2d
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.180002260
nop
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
lea rcx, [rbp - 0x50]
call fcn.180003bf0
mov r12, qword [rbp + 0x10]
mov r15, qword [rbp - 0x10]
test al, al
je 0x180008210
lea rcx, [rbp - 0x70]
call fcn.180003bf0
test al, al
je 0x180008210
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
mov r9d, 0xffffffff
mov r8d, 9
lea rdx, [rbp - 0x30]
call fcn.18000e3a8
test eax, eax
jne 0x18000824b
cmp qword [rbp - 0x28], 0
jbe 0x180008210
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
mov r9d, 0xffffffff
lea r8d, [rax + 9]
lea rdx, [rbp - 0x30]
call fcn.18000e3a8
test eax, eax
jne 0x180008238
cmp qword [rbp - 0x28], 0
jbe 0x180008210
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.180003fd0
nop
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.180003fd0
nop
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rdx, r12
lea rcx, [rsp + 0x70]
mov r14, qword [rsp + 0x70]
mov rbx, qword [rbp - 0x78]
cmp rbx, 0xf
cmova rcx, r14
mov r13, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x30]
mov r8, qword [rbp - 0x80]
cmp r8, qword [rbp + 0x20]
jne 0x180007f10
call fcn.18002b6d0
test eax, eax
jne 0x180007f10
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, r15
lea rcx, [rbp - 0x30]
cmp r13, 0xf
cmova rcx, rsi
mov r8, qword [rbp - 0x20]
cmp r8, qword [rbp]
jne 0x180007f10
call fcn.18002b6d0
test eax, eax
jne 0x180007f10
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
jmp 0x180007fcb
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
xor r8d, r8d
lea rcx, str.C:WindowsSystem32driversWppRecorderpo.sys
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, eax
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
xor r8d, r8d
lea rcx, str.C:WindowsSystem32driversWppRecorderrt.sys
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test ebx, ebx
je 0x180007f5c
test eax, eax
jne 0x180007fbc
call fcn.180007910
test eax, eax
je 0x180007fb1
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
xor r8d, r8d
lea rcx, str.C:WindowsSystem32driversWppRecorderpo.sys
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, eax
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
xor r8d, r8d
lea rcx, str.C:WindowsSystem32driversWppRecorderrt.sys
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test ebx, ebx
je 0x180007fb1
test eax, eax
jne 0x180007fbc
inc edi
cmp edi, 2
jb 0x180007f10
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov rbx, qword [rbp - 0x78]
cmp r13, 0xf
jbe 0x180008003
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180007ffa
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008226
mov rcx, rsi
call fcn.18000f830
nop
cmp rbx, 0xf
jbe 0x18000803a
lea rdx, [rbx + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x180008032
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000822c
mov rcx, r14
call fcn.18000f830
xor esi, esi
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x18000807c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008077
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008232
call fcn.18000f830
movdqa xmm0, xmmword [0x180037910]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], si
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x1800080cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800080c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000825e
call fcn.18000f830
movdqa xmm0, xmmword [0x180037910]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], si
mov rax, qword [rbp + 8]
cmp rax, 0xf
jbe 0x18000811a
lea rdx, [rax + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x180008111
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008264
mov rcx, r15
call fcn.18000f830
nop
mov rax, qword [rbp + 0x28]
cmp rax, 0xf
jbe 0x180008157
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x18000814e
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000826a
mov rcx, r12
call fcn.18000f830
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x180008194
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000818f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008270
call fcn.18000f830
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1800081e0
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800081db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008220
call fcn.18000f830
mov rcx, qword [rbp + 0x10030]
xor rcx, rsp
call fcn.18000f810
lea r11, [rsp + 0x10140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
jmp 0x18000803c
call fcn.1800188d0
nop
call fcn.1800188d0
nop
call fcn.1800188d0
nop
call fcn.1800188d0
nop
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, str.file_size
call fcn.180003140
int3
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, str.file_size
call fcn.180003140
nop
call fcn.1800188d0
nop
call fcn.1800188d0
nop
call fcn.1800188d0
nop
call fcn.1800188d0
int3