Function at 0x140007870
Capabilities:
Contain obfuscated stackstrings
Enumerate process modules
Query or enumerate registry value

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x26a0]
mov eax, 0x27a0
call fcn.140030360
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x27e0], rbx
mov qword [rsp + 0x27e8], rsi
mov rax, qword [0x140052a10]
xor rax, rsp
mov qword [rbp + 0x2690], rax
mov rsi, rdx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
xor r15d, r15d
test rax, rax
je 0x14000796a
lea r9, [rbp - 0x78]
mov r8d, 0x2000
lea rdx, [rbp + 0xc0]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x140007961
mov ebx, r15d
test dword [rbp - 0x78], 0xfffffff8
jbe 0x140007961
mov edx, ebx
mov r9d, 0x104
lea r8, [rbp + 0x2370]
mov rdx, qword [rbp + rdx*8 + 0xc0]
mov rcx, rdi
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x140007944
mov rdx, rsi
lea rcx, [rbp + 0x2370]
call fcn.140022bb8
test rax, rax
jne 0x140007952
inc ebx
mov eax, dword [rbp - 0x78]
shr eax, 3
cmp ebx, eax
jae 0x140007961
jmp 0x14000790c
mov eax, ebx
mov rax, qword [rbp + rax*8 + 0xc0]
jmp 0x140007f30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x68], r15d
mov qword [rbp - 0x60], r15
mov dword [rbp + 0x20f0], 0x6f0053
mov dword [rbp + 0x20f4], 0x740066
mov dword [rbp + 0x20f8], 0x610077
mov dword [rbp + 0x20fc], 0x650072
mov dword [rbp + 0x2100], 0x5c005c
mov dword [rbp + 0x2104], 0x45007b
lea edi, [rax + 0x45]
mov dword [rbp + 0x2108], 0x450043
mov dword [rbp + 0x210c], 0x460032
mov dword [rbp + 0x2110], 0x410041
mov dword [rbp + 0x2114], 0x2d0039
mov dword [rbp + 0x2118], 0x460031
mov dword [rbp + 0x211c], 0x300041
mov dword [rbp + 0x2120], 0x34002d
mov dword [rbp + 0x2124], 0x460034
mov dword [rbp + 0x2128], 0x2d0046
mov dword [rbp + 0x212c], 0x310061
mov dword [rbp + 0x2130], 0x410030
mov dword [rbp + 0x2134], 0x43002d
mov dword [rbp + 0x2138], 0x310041
mov dword [rbp + 0x213c], 0x450033
mov dword [rbp + 0x2140], 0x440042
mov dword [rbp + 0x2144], 0x350032
mov dword [rbp + 0x2148], 0x390032
mov dword [rbp + 0x214c], 0x7d0034
mov word [rbp + 0x2150], r15w
lea r8, [rbp + 0x20f0]
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 0x70]
call fcn.14001a48c
mov rbx, qword [rbp - 0x70]
test eax, eax
jne 0x140007f1c
mov dword [rbp + 0x20d0], 0x61004e
mov dword [rbp + 0x20d4], 0x65006d
mov word [rbp + 0x20d8], r15w
mov dword [rbp - 0x78], 0x208
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2370]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x74]
xor r8d, r8d
lea rdx, [rbp + 0x20d0]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007b67
mov eax, dword [rbp - 0x74]
dec eax
cmp eax, 1
ja 0x140007b67
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x140007b1a
test al, 1
jne 0x140007b67
shr rax, 1
cmp word [rbp + rax*2 + 0x236e], r15w
je 0x140007b22
jmp 0x140007b67
mov word [rbp + 0x2370], r15w
mov eax, r15d
test eax, eax
jne 0x140007b67
lea rcx, [rbp + 0x2370]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x140007b67
mov rdx, rsi
lea rcx, [rbp + 0x2370]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x140007b67
lea rcx, [rbp + 0x2370]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
jne 0x140007f1f
test rbx, rbx
je 0x140007b7c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r15
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x68], r15d
mov r8d, 0x104
lea rdx, [rbp + 0x2160]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140007f1c
lea rcx, [rbp + 0x2160]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x140007f1c
mov dword [rbp + 0x20e0], 0x720074
mov dword [rbp + 0x20e4], 0x650065
mov dword [rbp + 0x20e8], 0x6a002e
mov dword [rbp + 0x20ec], 0x73
lea rdx, [rbp + 0x20e0]
lea rcx, [rbp + 0x2160]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x140007f1c
mov qword [rbp - 0x40], 0xf
mov qword [rbp - 0x48], r15
mov byte [rbp - 0x58], r15b
mov r12d, 7
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rbp + 0x2160], r15w
jne 0x140007c2b
mov rax, r15
jmp 0x140007c37
lea rcx, [rbp + 0x2160]
call fcn.140021980
mov r8, rax
lea rdx, [rbp + 0x2160]
lea rcx, [rsp + 0x40]
call fcn.14000db70
nop
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x40]
call fcn.1400074dc
test eax, eax
setne dil
cmp qword [rsp + 0x58], 8
jb 0x140007c72
mov rcx, qword [rsp + 0x40]
call fcn.140021758
test dil, dil
je 0x140007ce8
lea rcx, [rbp + 0x2160]
call qword [sym.imp.SHLWAPI.dll_PathStripPathW]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rbp + 0x2160], r15w
jne 0x140007ca3
mov rax, r15
jmp 0x140007caf
lea rcx, [rbp + 0x2160]
call fcn.140021980
mov r8, rax
lea rdx, [rbp + 0x2160]
lea rcx, [rsp + 0x40]
call fcn.14000db70
nop
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140003848
nop
cmp qword [rsp + 0x58], 8
jb 0x140007ce8
mov rcx, qword [rsp + 0x40]
call fcn.140021758
cmp qword [rbp - 0x48], r15
je 0x140007f0c
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.14001ab70
nop
xor edx, edx
mov r8d, 0xc0
lea rcx, [rbp]
call fcn.1400221f0
lea rcx, [rbp]
call fcn.14001cb20
nop
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x58]
lea rcx, [rbp]
call fcn.14001cc00
test al, al
je 0x140007ef8
mov dword [rbp + 0x20c0], 0x74736e69
mov dword [rbp + 0x20c4], 0x5f6c6c61
mov dword [rbp + 0x20c8], 0x68746170
mov word [rbp + 0x20cc], 0x3233
mov byte [rbp + 0x20ce], r15b
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
lea rdx, [0x140046128]
lea rcx, [rsp + 0x40]
call fcn.14001ac20
nop
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x20c0]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x38]
call fcn.14001b5c0
nop
lea rcx, [rsp + 0x40]
call fcn.14001adb0
cmp byte [rbp - 0x18], 4
jne 0x140007eee
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.14001af50
cmp qword [rax + 0x18], 0x10
jb 0x140007dd4
mov rax, qword [rax]
mov r8, rax
mov edx, 0x104
lea rcx, [rbp + 0x2580]
call fcn.140023f74
cmp qword [rsp + 0x78], 0x10
jb 0x140007dfa
mov rcx, qword [rsp + 0x60]
call fcn.140021758
lea rcx, [rbp + 0x2580]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
je 0x140007eee
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rsi], r15w
jne 0x140007e2a
mov rax, r15
jmp 0x140007e32
mov rcx, rsi
call fcn.140021980
mov r8, rax
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14000db70
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
call fcn.140008078
cmp qword [rax + 0x18], 0x10
jb 0x140007e5c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x2580]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov edi, eax
cmp qword [rsp + 0x78], 0x10
jb 0x140007e80
mov rcx, qword [rsp + 0x60]
call fcn.140021758
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r15
mov byte [rsp + 0x60], r15b
cmp qword [rsp + 0x58], 8
jb 0x140007ea5
mov rcx, qword [rsp + 0x40]
call fcn.140021758
test edi, edi
je 0x140007eee
lea rcx, [rbp + 0x2580]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x140007eee
lea rcx, [rbp - 0x20]
call fcn.14001adb0
nop
lea rcx, [rbp]
call fcn.140008758
nop
lea rcx, [rbp - 0x38]
call fcn.14001adb0
nop
cmp qword [rbp - 0x40], 0x10
jb 0x140007f1f
mov rcx, qword [rbp - 0x58]
call fcn.140021758
jmp 0x140007f1f
lea rcx, [rbp - 0x20]
call fcn.14001adb0
nop
lea rcx, [rbp]
call fcn.140008758
nop
lea rcx, [rbp - 0x38]
call fcn.14001adb0
nop
cmp qword [rbp - 0x40], 0x10
jb 0x140007f1c
mov rcx, qword [rbp - 0x58]
call fcn.140021758
mov rdi, r15
test rbx, rbx
je 0x140007f2d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0x2690]
xor rcx, rsp
call fcn.140021770
lea r11, [rsp + 0x27a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret