Function at 0x140042c00
Capabilities:
Enumerate files on windows
Get session user name

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0x11d8]
mov eax, 0x12d8
call fcn.140048fb0
sub rsp, rax
mov rax, qword [0x140071040]
xor rax, rsp
mov qword [rbp + 0x11b0], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 9
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str._Macro_Scanner__Running_checks_to_detect_macro_file_bypasses..._n
call fcn.140003d60
lea rcx, str._Macro_Scanner__Running_checks_to_detect_macro_file_modifications..._n
call fcn.140003d60
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea r15, [0x140074ba0]
mov dword [rsp + 0x38], 0x104
mov rcx, r15
lea rdx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1400167f4
mov qword [rsp + 0x12f0], rbx
lea rax, str._appdata_LocalBY_COMBO2
mov qword [rsp + 0x40], rax
lea rcx, str.C:Program_Files__x86_SPC_Gear
mov qword [rsp + 0x12f8], rsi
lea rax, str.C:Users_username_AppDataLocalRazerSynapse3LogRazer_Synapse_3.log
mov qword [rsp + 0x48], rax
lea rax, str.C:Users_username_AppDataLocalLGHUB_settings.db
mov qword [rsp + 0x50], rax
lea rax, str.C:Users_username_AppDataLocalLGHUB_setting.db_wal
mov qword [rsp + 0x58], rax
lea rax, str.C:Users_username_AppDataRoaming_steelseries_engine_3_clientSession_Storage000003.log
mov qword [rsp + 0x60], rax
lea rax, str.C:Program_FilesAYAX_GamingMouse_record.ini
mov qword [rsp + 0x68], rax
lea rax, str.C:Program_FilesGaming_MouseV30_record.ini
mov qword [rsp + 0x70], rax
lea rax, str._appdata_LocalBY_COMBOcurid.dct
mov qword [rsp + 0x78], rax
lea rax, str._appdata_LocalBY_COMBOpro.dct
mov qword [rbp - 0x80], rax
lea rax, str.C:Program_Files__x86_Bloody7Bloody7UserLogMouseTLcir_9EFF3FF4languageSettingsEnvironmentVar.ini
mov qword [rbp - 0x78], rax
lea rax, str.C:ProgramDataGlorious_Coreuserdata_username_dataMacroDB.db
mov qword [rbp - 0x70], rax
lea rax, str.C:ProgramDataGlorious_Coreuserdata_username_dataDeviceDB.db
mov qword [rbp - 0x68], rax
lea rax, str.C:Program_Files__x86_KROM_KOLTConfig_sequence.dat
mov qword [rbp - 0x60], rax
lea rax, str.C:Users_username_AppDataRoamingROCCATSWARMmacromacro_list.dat
mov qword [rbp - 0x50], rax
lea rax, str.C:Users_username_AppDataRoamingROCCATSWARMmacrocustom_macro_list.dat
mov qword [rbp - 0x48], rax
lea rax, str.C:Users_username_AppDataRoamingREDRAGONGamingMouse
mov qword [rbp - 0x40], rax
lea rax, str.C:Users_username_AppDataRoamingREDRAGONGamingMousemacro.ini
mov qword [rbp - 0x38], rax
lea rax, str.C:Users_username_AppDataRoamingREDRAGONGamingMouseconfig.ini
mov qword [rbp - 0x30], rax
lea rax, str.C:Progam_Files__x86_AJ390R_Gaming_Mousedata
mov qword [rbp - 0x28], rax
lea rax, str.C:Program_Files__x86_Xenon200Configs
mov qword [rbp - 0x18], rax
lea rax, str.C:Program_Files__x86_FANTECH_VX7_Gaming_Mouseconfig.ini
mov qword [rsp + 0x1300], rdi
mov qword [rsp + 0x12d0], r12
mov qword [rbp - 0x10], rax
lea rax, str.C:Users_username_AppDataLocalBY_8801_GM917_v108curid.dct
mov qword [rsp + 0x12c8], r13
mov qword [rsp + 0x12c0], r14
xor r14d, r14d
mov qword [rbp - 8], rax
lea rax, str.C:Users_username_AppDataLocalBY_8801_GM917_v108pro.dct
mov qword [rbp], rax
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x20], rcx
lea rsi, [r14 - 1]
nop word [rax + rax]
mov r9, qword [rsp + r14*8 + 0x40]
lea r8, [0x140057578]
mov edx, 0x104
lea rcx, [rbp + 0x970]
call fcn.140015820
cmp eax, 0x103
ja 0x140015fd9
mov rdi, rsi
nop dword [rax + rax]
inc rdi
cmp word [r15 + rdi*2], 0
jne 0x140015f20
lea rdx, str._username_
lea rcx, [rbp + 0x970]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
nop
test rax, rax
je 0x140015fcb
nop dword [rax]
lea rcx, [rbp + 0x970]
mov rbx, rax
sub rbx, rcx
mov r8d, 0xfa
sar rbx, 1
sub r8, rbx
cmp rdi, r8
ja 0x140015fa5
lea rdx, [rax + 0x14]
add r8, r8
lea rax, [rbx + rdi]
lea rcx, [rbp + 0x970]
lea rcx, [rcx + rax*2]
call sub.VCRUNTIME140.dll_memmove
lea rcx, ds:[rbp + 0x970]
mov rdx, r15
lea rcx, [rcx + rbx*2]
lea r8, [rdi + rdi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, ds:[rbx + rdi]
lea rcx, [rbp + 0x970]
lea rcx, [rcx + rax*2]
lea rdx, str._username_
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140015f50
lea rcx, [rbp + 0x970]
call fcn.140015960
jmp 0x140015fec
lea rdx, str.Failed_to_format_path
lea rcx, str.Error_ocurred_while_checking_macro_files:__s_n
call fcn.140003d60
inc r14
cmp r14, 0x19
jl 0x140015ef0
mov r9, r15
lea r8, str.C:users_sdocumentsASUSROGROG_Armourycommonmacro
mov edx, 0x104
lea rcx, [rbp + 0x760]
call fcn.140015820
mov rdi, rsi
nop word [rax + rax]
inc rdi
cmp word [r15 + rdi*2], 0
jne 0x140016020
lea rdx, str._username_
lea rcx, [rbp + 0x760]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
nop
test rax, rax
je 0x1400160cb
nop dword [rax]
lea rcx, [rbp + 0x760]
mov rbx, rax
sub rbx, rcx
mov r8d, 0xfa
sar rbx, 1
sub r8, rbx
cmp rdi, r8
ja 0x1400160a5
lea rdx, [rax + 0x14]
add r8, r8
lea rax, [rbx + rdi]
lea rcx, [rbp + 0x760]
lea rcx, [rcx + rax*2]
call sub.VCRUNTIME140.dll_memmove
lea rcx, ds:[rbp + 0x760]
mov rdx, r15
lea rcx, [rcx + rbx*2]
lea r8, [rdi + rdi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, ds:[rbx + rdi]
lea rcx, [rbp + 0x760]
lea rcx, [rcx + rax*2]
lea rdx, str._username_
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140016050
lea rbx, str..GMAC
mov edx, 0x104
mov r8, rbx
lea rcx, [rbp + 0x760]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r9, [rbp + 0x760]
mov qword [rsp + 0x20], rbx
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140015820
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, rsi
je 0x140016186
nop word [rax + rax]
lea rax, [rbp + 0x17c]
mov edx, 0x104
lea r9, [rbp + 0x760]
mov qword [rsp + 0x20], rax
lea r8, [0x1400568c0]
lea rcx, [rbp + 0x550]
call fcn.140015820
lea rcx, [rbp + 0x550]
call fcn.140015960
lea rdx, [rbp + 0x150]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140016130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r13, str..MA32AIY
mov edx, 0x104
lea r9, str.C:Blackweb_Gaming_APconfig
mov qword [rsp + 0x20], r13
lea r8, str._s_s
lea rcx, [rbp + 0x550]
call fcn.140015820
lea rdx, ds:[rbp + 0x150]
lea rcx, [rbp + 0x550]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, rsi
je 0x140016226
nop
lea rax, [rbp + 0x17c]
mov edx, 0x104
lea r9, str.C:Blackweb_Gaming_APconfig
mov qword [rsp + 0x20], rax
lea r8, [0x1400568c0]
lea rcx, [rsp + 0x40]
call fcn.140015820
lea rcx, ds:[rsp + 0x40]
call fcn.140015960
lea rdx, [rbp + 0x150]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400161d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r12, [0x1400576c8]
mov edx, 0x104
lea r9, str.C:ProgramDataAlienwareAlienWare_Command_Center_fxmetadata
mov qword [rsp + 0x20], r12
lea r8, str._s_s
lea rcx, [rbp + 0x550]
call fcn.140015820
lea rdx, ds:[rbp + 0x150]
lea rcx, [rbp + 0x550]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, rsi
je 0x1400162c6
nop
lea rax, [rbp + 0x17c]
mov edx, 0x104
lea r9, str.C:ProgramDataAlienwareAlienWare_Command_Center_fxmetadata
mov qword [rsp + 0x20], rax
lea r8, [0x1400568c0]
lea rcx, [rsp + 0x40]
call fcn.140015820
lea rcx, ds:[rsp + 0x40]
call fcn.140015960
lea rdx, [rbp + 0x150]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140016270
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r14, str..bin
mov edx, 0x104
lea r9, str.C:Program_Files__x86_MotoSpeed_Gaming_MouseV60modules_setting
mov qword [rsp + 0x20], r14
lea r8, str._s_s
lea rcx, [rbp + 0x550]
call fcn.140015820
lea rdx, ds:[rbp + 0x150]
lea rcx, [rbp + 0x550]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, rsi
je 0x140016366
nop
lea rax, [rbp + 0x17c]
mov edx, 0x104
lea r9, str.C:Program_Files__x86_MotoSpeed_Gaming_MouseV60modules_setting
mov qword [rsp + 0x20], rax
lea r8, [0x1400568c0]
lea rcx, [rsp + 0x40]
call fcn.140015820
lea rcx, ds:[rsp + 0x40]
call fcn.140015960
lea rdx, [rbp + 0x150]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140016310
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdi, str.macro.db
mov edx, 0x104
lea r9, str.C:Users_username_DocumentsM711_Gaming_Mouse
mov qword [rsp + 0x20], rdi
lea r8, str._s_s
lea rcx, [rbp + 0x550]
call fcn.140015820
lea rdx, ds:[rbp + 0x150]
lea rcx, [rbp + 0x550]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, rsi
je 0x140016406
nop
lea rax, [rbp + 0x17c]
mov edx, 0x104
lea r9, str.C:Users_username_DocumentsM711_Gaming_Mouse
mov qword [rsp + 0x20], rax
lea r8, [0x1400568c0]
lea rcx, [rsp + 0x40]
call fcn.140015820
lea rcx, ds:[rsp + 0x40]
call fcn.140015960
lea rdx, [rbp + 0x150]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400163b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r9, r15
lea r8, str.C:Users_sAppDataLocalRazerSynapselogmacrosMacrosRazer3.txt
mov edx, 0x104
lea rcx, [rbp + 0xb80]
call fcn.140015820
inc rsi
cmp word [r15 + rsi*2], 0
jne 0x140016425
lea rdx, str._username_
lea rcx, ds:[rbp + 0xb80]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400164cb
nop
lea rcx, [rbp + 0xb80]
mov rbx, rax
sub rbx, rcx
mov r8d, 0xfa
sar rbx, 1
sub r8, rbx
cmp rsi, r8
ja 0x1400164a5
lea rdx, [rax + 0x14]
add r8, r8
lea rax, [rbx + rsi]
lea rcx, [rbp + 0xb80]
lea rcx, [rcx + rax*2]
call sub.VCRUNTIME140.dll_memmove
lea rcx, ds:[rbp + 0xb80]
mov rdx, r15
lea rcx, [rcx + rbx*2]
lea r8, [rsi + rsi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, ds:[rbx + rsi]
lea rcx, [rbp + 0xb80]
lea rcx, [rcx + rax*2]
lea rdx, str._username_
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140016450
xor ebx, ebx
lea r8, str.r__ccsUTF_8
lea rdx, [rbp + 0xb80]
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov rsi, qword [rsp + 0x12f8]
test eax, eax
jne 0x140016577
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140016577
nop word [rax + rax]
mov r8, rax
lea rcx, [rbp + 0x150]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
test rax, rax
je 0x140016567
lea rdx, str.MacroClient:Delete
lea rcx, [rbp + 0x150]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
nop
test rax, rax
je 0x140016558
lea rdx, [rbp + 0x150]
lea rcx, str.____Razer_Macro_detected_and_deleted:__ls._Ban_the_player._n
call fcn.140003d60
mov rax, qword ds:[rsp + 0x30]
test rax, rax
jne 0x140016510
jmp 0x140016577
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140016577
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea r8, str.r__ccsUTF_8
mov qword [rsp + 0x30], rbx
lea rdx, str.C:ProgramDataRazerSynapse3LogSynapseService.log
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov rbx, qword ss:[rsp + 0x12f0]
test eax, eax
jne 0x14001661e
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x14001661e
mov edx, 0x200
lea rcx, [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
test rax, rax
je 0x140016613
nop dword [rax + rax]
lea rdx, str.turbo:_true
lea rcx, ds:[rbp + 0x150]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400165f7
lea rcx, str.____Razer_macro_detected:_Found_turbo:_true_in_the_log_file._Ban_the_player._n
call fcn.140003d60
mov r8, qword [rsp + 0x30]
lea rcx, [rbp + 0x150]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
test rax, rax
jne 0x1400165d0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r9, r15
lea r8, str.C:Users_sAppDataLocalLGHUB_settings.db
mov edx, 0x104
lea rcx, [rbp + 0xd90]
call fcn.140015820
mov r9, r15
lea r8, str.C:Users_sAppDataLocalLGHUB_settings.db_wal
mov edx, 0x104
lea rcx, [rbp + 0xfa0]
call fcn.140015820
lea rcx, ds:[rbp + 0xd90]
call fcn.140015880
lea rcx, [rbp + 0xfa0]
call fcn.140015880
mov rdx, r13
lea rcx, str.C:Blackweb_Gaming_APconfig
call fcn.140015a80
mov rdx, r12
lea rcx, str.C:ProgramDataAlienwareAlienWare_Command_Center_fxmetadata
call fcn.140015a80
mov rdx, r14
lea rcx, str.C:Program_Files__x86_MotoSpeed_Gaming_MouseV60modules_setting
call fcn.140015a80
lea rdx, [0x140057a18]
lea rcx, str.C:Users_username_AppDataLocalLGHUB
call fcn.140015a80
lea rdx, str..db_wal
lea rcx, str.C:Users_username_AppDataLocalLGHUB
call fcn.140015a80
lea rdx, str.Razer_Synapse_3.log
lea rcx, str.C:Users_username_AppDataLocalRazerSynapse3Log
call fcn.140015a80
lea rdx, str.000003.log
lea rcx, str.C:Users_username_AppDataRoaming_steelseries_engine_3_clientSession_Storage
call fcn.140015a80
lea rdx, str.record.ini
lea rcx, str.C:Program_FilesAYAX_GamingMouse
nop
call fcn.140015a80
lea rdx, str.record.ini
lea rcx, str.C:Program_FilesGaming_MouseV30
call fcn.140015a80
lea rdx, str.EnvironmentVar.ini
lea rcx, str.C:Program_Files__x86_Bloody7Bloody7UserLogMouseTLcir_9EFF3FF4languageSettings
call fcn.140015a80
lea rdx, str.MacroDB.db
lea rcx, str.C:ProgramDataGlorious_Coreuserdatagurudata
call fcn.140015a80
lea rdx, str.DevicesDB.db
lea rcx, str.C:ProgramDataGlorious_Coreuserdatagurudata
call fcn.140015a80
lea rdx, str.sequence.dat
lea rcx, str.C:Program_Files__x86_KROM_KOLTConfig
nop
call fcn.140015a80
lea rdx, str.macro_list.dat
lea rcx, str.C:Users_username_AppDataRoamingROCCATSWARMmacro
call fcn.140015a80
lea rdx, str.custom_macro_list.dat
lea rcx, str.C:Users_username_AppDataRoamingROCCATSWARMmacro
call fcn.140015a80
lea rdx, str.config.ini
lea rcx, str.C:Program_Files__x86_FANTECH_VX7_Gaming_Mouse
call fcn.140015a80
lea rdx, str.curid.dct
lea rcx, str.C:Users_username_AppDataLocalBY_8801_GM917_v108
call fcn.140015a80
lea rdx, str.pro.dct
lea rcx, str.C:Users_username_AppDataLocalBY_8801_GM917_v108
nop
call fcn.140015a80
mov rdx, rdi
lea rcx, str.C:Users_username_DocumentsM711_Gaming_Mouse
call fcn.140015a80
mov r14, qword [rsp + 0x12c0]
mov r13, qword [rsp + 0x12c8]
mov r12, qword [rsp + 0x12d0]
mov rdi, qword [rsp + 0x1300]
mov rcx, qword ds:[rbp + 0x11b0]
xor rcx, rsp
call fcn.1400482e0
add rsp, 0x12d8
pop r15
pop rbp
ret
jmp 0x140015d00