Function at 0x1400090f0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set console window title
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x14001b010]
xor rax, rsp
mov qword [rbp + 0x430], rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x40]
call fcn.140002310
xor ecx, ecx
call fcn.1400029e0
xor r14d, r14d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov rsi, 0xffffffffffffffff
mov r9d, esi
lea r8, [0x14001682c]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rsi
mov rcx, rax
call fcn.140012df0
mov rdi, rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [0x14001682c]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov rcx, rdi
call fcn.140012cf0
lea rdx, str.FL64.exe
lea rcx, [rbp - 0x10]
call fcn.140009f60
nop
lea rdx, str.FL32.exe
lea rcx, [rbp - 0x40]
call fcn.140009f60
nop
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.FLRPC
lea rcx, [rbp - 0x68]
call fcn.140009f60
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r14w
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009294
mov dword [rbp - 0x48], 0x208
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x220]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400092ec
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140009f60
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140009740
mov bl, 1
jmp 0x1400097a2
lea rax, [rbp + 0x220]
mov rdx, rsi
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400092f6
mov rax, qword [rbp - 0x70]
cmp rdx, rax
ja 0x140009339
lea rdi, [rsp + 0x78]
cmp rax, 8
cmovae rdi, qword [rsp + 0x78]
mov qword [rbp - 0x78], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x220]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], r14w
jmp 0x14000934a
lea r9, [rbp + 0x220]
lea rcx, [rsp + 0x78]
call fcn.14000a3c0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp + 0x10]
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140009360
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
cmp r8, rsi
jne 0x1400093f6
lea rdx, [rbp + 0x10]
test r8, r8
je 0x1400093a6
nop dword [rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x1400093f6
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x140009390
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
nop dword [rax]
lea rcx, [rbp - 0x10]
call fcn.140008a00
test al, al
jne 0x140009927
lea rcx, [rbp - 0x40]
call fcn.140008a00
test al, al
jne 0x140009927
cmp byte [0x14001ce00], al
je 0x140009930
mov byte [0x14001ce00], al
xor ecx, ecx
call fcn.1400029e0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
jmp 0x140009930
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movabs rbx, 0x7ffffffffffffffe
cmp rsi, rbx
ja 0x140009958
cmp rsi, 8
jae 0x140009445
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
lea rbx, [rsi + rsi]
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x50], r14w
jmp 0x1400094f8
mov rax, rsi
or rax, 7
cmp rax, rbx
jbe 0x140009461
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140009493
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140009945
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400094bf
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140009945
mov rcx, rax
call fcn.140012a50
test rax, rax
je 0x1400095d6
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400094d1
test rcx, rcx
je 0x1400094ce
call fcn.140012a50
mov rdi, rax
jmp 0x1400094d1
mov rdi, r14
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rbx
lea rbx, [rsi + rsi]
mov r8, rbx
lea rdx, [rbp + 0x10]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r14w
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14000953b
mov bl, 1
jmp 0x14000959d
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
mov eax, dword [rsp + 0x60]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
test eax, eax
je 0x140009595
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x14000959d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400095e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400095dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400095dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012cf0
test bl, bl
je 0x1400093a6
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14000962b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009827
call fcn.140012cf0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r14w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14000967d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009678
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000987c
call fcn.140012cf0
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r14w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400096cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400096c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400098d0
call fcn.140012cf0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14000970f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000970a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009920
call fcn.140012cf0
mov eax, 1
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.140012a30
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
mov eax, dword [rsp + 0x60]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
test eax, eax
je 0x14000979a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x1400097a2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400097e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400097e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400097e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012cf0
test bl, bl
je 0x1400093a6
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140009833
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000982e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000982e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012cf0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r14w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140009888
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009883
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009883
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012cf0
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r14w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400098dd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400098d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400098d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012cf0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14000970f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000970a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000970a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp byte [0x14001ce00], 0
je 0x14000994b
call fcn.140002a70
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400093b0
call fcn.140008360
int3
mov byte [0x14001ce00], 1
call fcn.140008ae0
int3
call fcn.140008400
int3