joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400107c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x460
mov rdi, r8
mov qword [rsp + 0x30], 0xffffffff80000000
xor ebx, ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.14003d990
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x250]
call fcn.14003d990
nop
lea rax, [rsp + 0x488]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001083c
mov ebx, 0xffffffff
jmp 0x140010a3b
mov eax, dword [rsp + 0x490]
sub eax, 1
je 0x1400109e2
sub eax, 1
je 0x1400109e2
sub eax, 1
je 0x140010987
sub eax, 1
je 0x14001091d
sub eax, 3
jne 0x140010a3b
mov dword [rsp + 0x4a8], 0x208
lea rax, [rsp + 0x4a8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x490]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x488]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140010a3b
lea rbx, [rsp + 0x40]
nop word [rax + rax]
cmp word [rbx], 0
je 0x140010910
mov r9d, 0x208
mov r8, rbx
mov edx, 0x104
lea rcx, [rsp + 0x250]
call fcn.140029eb4
mov r9d, 0x208
lea r8, [0x14004b578]
mov edx, 0x104
lea rcx, [rsp + 0x250]
call fcn.140029eb4
xor edx, edx
mov rcx, rbx
call fcn.14002008c
lea rbx, [rax + 2]
jmp 0x1400108c0
lea rdx, [rsp + 0x250]
jmp 0x140010a28
mov dword [rsp + 0x4a8], 4
lea rax, [rsp + 0x4a8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x490]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x488]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140010a3b
mov r8d, dword [rsp + 0x4b0]
lea rdx, [0x14004add8]
mov rcx, qword [rsp + 0x498]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x140010a36
mov dword [rsp + 0x4a8], 0x208
lea rax, [rsp + 0x4a8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x490]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x488]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140010a3b
mov r8d, dword [rsp + 0x490]
lea rdx, str._08X
mov rcx, qword [rsp + 0x498]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x140010a36
mov dword [rsp + 0x4a8], 0x208
lea rax, [rsp + 0x4a8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x490]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x488]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140010a3b
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x498]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, 1
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x488]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret
Function at 0x140010a80
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
cmp dword [rcx + 0x43c], 0
lea rax, [rsp + 0x50]
mov rbp, rdx
mov qword [rsp + 0x20], rax
mov rsi, r8
lea rdi, str.VenNetwork
mov rbx, rcx
lea r14, str.Software
mov rdx, rdi
mov r9d, 2
cmovne rdx, r14
mov rcx, 0xffffffff80000001
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x50]
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbx + 0x43c], 0
lea r8, [rsp + 0x50]
mov rcx, 0xffffffff80000001
cmovne rdi, r14
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x140010b3f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x50]
mov r9d, 3
add eax, eax
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x140011b00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140011b44
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140011b30
ret
Function at 0x140016040
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x140016123
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140016123
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140016141
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x140016113
cmp word [rcx], 0x5c
jne 0x14001610c
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x14001610c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400160f7
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x140016109
test r8b, 0x10
jne 0x14001610c
movzx eax, word [rdx]
sub ax, 0x7b
test bp, ax
jne 0x14001610c
mov rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140012560
test edi, edi
jne 0x140016070
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140012550
int3
Function at 0x14001bd30
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
lea rcx, [0x14001bb50]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
xor edx, edx
call qword [sym.imp.USER32.dll_PostThreadMessageA]
call qword [sym.imp.USER32.dll_GetInputState]
xor eax, eax
lea r8, [0x14001b520]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov qword [0x14005f588], rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14005f588]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x38
ret

Function at 0x14001e700
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001e74a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001e74a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001e74a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001e74a
cmp dword [rcx + 0x84], 0xe
jbe 0x14001e74a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001e74c
xor al, al
add rsp, 0x28
ret

Function at 0x140028b20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140028b57
call fcn.140028cdc
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.140023f18
xor eax, eax
jmp 0x140028be5
mov rdx, r9
mov rcx, r8
call fcn.140028abc
mov rbx, rax
test rax, rax
je 0x140028be2
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400289e8]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140028bcf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140028c50
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140028bb6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140028bc5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14002e89c
jmp 0x140028be2
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140028bdf
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14002bd50
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14002bdbf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002bdbf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002bdbf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002bdbf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002bdbf
cmp dword [rcx + 0x84], 0xe
jbe 0x14002bdbf
cmp dword [rcx + 0xf8], 0
je 0x14002bdbf
mov ecx, ebx
call fcn.14002be70
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14002bc4c
nop
cmp dword [rbp + 0x20], 0
je 0x14002be0d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002be18
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14002bd50

Function at 0x14002bf54
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002bd50
Function at 0x140035184
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14003520b
mov rsi, rbx
cmp word [rax], bp
je 0x1400351ca
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400351b4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400351b0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14002efb0
mov rdi, rax
test rax, rax
je 0x1400351f8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003d2f0
mov rbp, rdi
xor ecx, ecx
call fcn.14002e89c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400381d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14002ec50
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140038271
cmp ebx, dword [rsp + 0x30]
je 0x14003826a
test esi, esi
je 0x14003826a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140038245
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140038252
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14003822f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140038256
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140038273
mov eax, 1
jmp 0x140038273
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003d050
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003d078
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14003d078
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140005890
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x78
mov dword [rsp + 0x24], 0
lea rax, str.launch
mov qword [rsp + 0x30], rax
lea rax, str.enable
mov qword [rsp + 0x38], rax
lea rax, str.renew
mov qword [rsp + 0x40], rax
lea rax, str.update
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140005935
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
xor r8d, r8d
lea rdx, str..ASDWsc.cpp
lea rcx, [0x140172bd0]
call fcn.140008b90
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r9, rax
mov r8d, dword [rsp + 0x24]
lea rdx, str.cmd_to_argvw.__d___s
lea rcx, [0x140172bd0]
call fcn.140008d40
xor al, al
jmp 0x140005a29
mov dword [rsp + 0x50], 0
jmp 0x14000594a
mov eax, dword [rsp + 0x50]
add eax, 1
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x50], eax
jge 0x140005a27
movsxd rcx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140005975
jmp 0x14000593f
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 2
jge 0x14000598d
jmp 0x14000593f
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x5c
je 0x1400059c1
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x2f
je 0x1400059c1
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x2d
je 0x1400059c1
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x2c
jne 0x140005a22
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0
jmp 0x1400059e8
mov rax, qword [rsp + 0x68]
add rax, 1
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 4
jae 0x140005a22
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rsp + rcx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
mov rdx, qword [rsp + rdx*8 + 0x30]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x140005a20
mov al, 1
jmp 0x140005a29
jmp 0x1400059da
jmp 0x14000593f
xor al, al
add rsp, 0x78
ret
Function at 0x140008220
Capabilities:
Get disk information

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6a0
mov rax, qword [0x140172b58]
xor rax, rsp
mov qword [rsp + 0x690], rax
xor eax, eax
mov word [rsp + 0x46c], ax
lea rdi, [rsp + 0x46e]
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov dword [rsp + 0x460], 0
xor eax, eax
mov word [rsp + 0x480], ax
lea rdi, [rsp + 0x482]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x250], ax
lea rdi, [rsp + 0x252]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsp + 0x30], eax
lea r8, [0x1401066fc]
mov edx, 3
lea rcx, [rsp + 0x46c]
call fcn.140008540
mov dword [rsp + 0x468], 0
mov dword [rsp + 0x464], 0
mov dword [rsp + 0x464], 0
jmp 0x140008311
mov eax, dword [rsp + 0x464]
add eax, 1
mov dword [rsp + 0x464], eax
cmp dword [rsp + 0x464], 0x104
jae 0x140008393
mov ecx, dword [rsp + 0x464]
mov rax, qword [rsp + 0x6b0]
movzx eax, word [rax + rcx*2]
cmp eax, 0x5c
jne 0x140008347
mov eax, dword [rsp + 0x468]
add eax, 1
mov dword [rsp + 0x468], eax
mov ecx, dword [rsp + 0x464]
mov rax, qword [rsp + 0x6b0]
movzx eax, word [rax + rcx*2]
test eax, eax
jne 0x140008360
jmp 0x140008393
cmp dword [rsp + 0x468], 3
jne 0x14000836c
jmp 0x140008393
mov edx, dword [rsp + 0x464]
mov ecx, dword [rsp + 0x464]
mov rax, qword [rsp + 0x6b0]
movzx eax, word [rax + rdx*2]
mov word [rsp + rcx*2 + 0x250], ax
jmp 0x140008300
cmp dword [rsp + 0x468], 3
jae 0x1400083a7
mov eax, 0x57
jmp 0x1400084a1
mov ecx, dword [rsp + 0x464]
mov rax, qword [rsp + 0x6b0]
lea r8, [rax + rcx*2]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1400084c0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x460], eax
jmp 0x1400083fa
mov eax, dword [rsp + 0x460]
shr eax, 1
mov dword [rsp + 0x460], eax
movzx eax, word [rsp + 0x46c]
add ax, 1
mov word [rsp + 0x46c], ax
movzx eax, word [rsp + 0x46c]
cmp eax, 0x5b
jge 0x14000849c
mov eax, dword [rsp + 0x460]
and eax, 1
test eax, eax
jne 0x14000841b
jmp 0x1400083d6
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x480]
call sub.MSVCR90.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x480]
lea rcx, [rsp + 0x46c]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140008497
mov edx, dword [rsp + 0x6c0]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x46c]
lea r8, [0x1401066f0]
mov rcx, qword [rsp + 0x6b8]
call fcn.140008540
xor eax, eax
jmp 0x1400084a1
jmp 0x1400083d6
mov eax, 0x57
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.140103060
add rsp, 0x6a0
pop rdi
ret
Function at 0x1400088e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x2068
call fcn.140103e70
sub rsp, rax
mov rax, qword [0x140172b58]
xor rax, rsp
mov qword [rsp + 0x2058], rax
cmp qword [rsp + 0x2070], 0
jne 0x140008916
xor eax, eax
jmp 0x140008a25
mov rax, qword [rsp + 0x2070]
movzx eax, word [rax]
test eax, eax
jne 0x14000892c
xor eax, eax
jmp 0x140008a25
mov dword [rsp + 0x30], 0x1000
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x2048], eax
mov eax, dword [rsp + 0x2048]
add eax, 1
mov ecx, eax
shl rcx, 1
call qword [sym.imp.MSVCR90.dll_malloc]
mov qword [rsp + 0x2040], rax
cmp qword [rsp + 0x2040], 0
jne 0x140008974
xor eax, eax
jmp 0x140008a25
mov edx, dword [rsp + 0x2048]
add edx, 1
mov rcx, qword [rsp + 0x2040]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400089ae
mov rcx, qword [rsp + 0x2040]
call qword [sym.imp.MSVCR90.dll_free]
mov qword [rsp + 0x2040], 0
xor eax, eax
jmp 0x140008a25
mov rax, qword [rsp + 0x2070]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x2040]
lea r8, [0x140105ac0]
mov edx, 0x1000
lea rcx, [rsp + 0x40]
call fcn.140008540
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x2050], rax
mov rcx, qword [rsp + 0x2040]
call qword [sym.imp.MSVCR90.dll_free]
mov qword [rsp + 0x2040], 0
cmp qword [rsp + 0x2050], 0
je 0x140008a23
mov rax, qword [rsp + 0x2050]
jmp 0x140008a25
xor eax, eax
mov rcx, qword [rsp + 0x2058]
xor rcx, rsp
call fcn.140103060
add rsp, 0x2068
ret
Function at 0x1400092c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x870
mov rax, qword [0x140172b58]
xor rax, rsp
mov qword [rsp + 0x868], rax
mov rax, qword [rsp + 0x880]
cmp dword [rax + 0xcb0], 1
jne 0x1400092fa
mov eax, 0x4df
jmp 0x14000959a
mov rax, qword [rsp + 0x880]
movzx eax, word [rax + 0xaa0]
test eax, eax
jne 0x140009317
mov eax, recv
jmp 0x14000959a
mov qword [rsp + 0x850], 0
call fcn.14000a090
mov r9d, eax
mov rdx, qword [rsp + 0x880]
add rdx, 0xcb4
lea rax, [rsp + 0x850]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x858], eax
cmp dword [rsp + 0x858], 0
jne 0x1400094da
mov dword [rsp + 0x860], 4
mov rcx, qword [rsp + 0x880]
add rcx, 0xc
lea rax, [rsp + 0x860]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DebugLogDelPolicy
mov rcx, qword [rsp + 0x850]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x858], eax
cmp dword [rsp + 0x858], 0
je 0x1400093d0
mov rax, qword [rsp + 0x880]
mov dword [rax + 0xc], 3
mov rax, qword [rsp + 0x880]
movzx eax, word [rax + 0x220]
test eax, eax
jne 0x1400094cc
mov rax, qword [rsp + 0x880]
cmp dword [rax + 0xebc], 1
jne 0x14000941f
mov rdx, qword [rsp + 0x880]
add rdx, 0x220
mov r8d, 0x400
mov rcx, qword [rsp + 0x880]
call fcn.140009d50
jmp 0x1400094cc
mov dword [rsp + 0x860], 0x208
mov rcx, qword [rsp + 0x880]
add rcx, 0x220
mov r8d, 0x800
xor edx, edx
call sub.MSVCR90.dll_memset
mov rcx, qword [rsp + 0x880]
add rcx, 0x220
lea rax, [rsp + 0x860]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140106858]
mov rcx, qword [rsp + 0x850]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x858], eax
cmp dword [rsp + 0x858], 0
jne 0x1400094ac
mov rcx, qword [rsp + 0x880]
add rcx, 0x220
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1400094cc
mov rcx, qword [rsp + 0x880]
add rcx, 0x220
lea r8, [0x140106850]
mov edx, 0x400
call fcn.140007c70
mov rcx, qword [rsp + 0x850]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov word [rsp + 0x50], ax
lea rdi, [rsp + 0x52]
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x880]
add rax, 0x18
mov r9, qword [rsp + 0x880]
add r9, 0x220
mov qword [rsp + 0x20], rax
lea r8, str._s_s.logs
mov edx, 0x800
lea rcx, [rsp + 0x50]
call fcn.14000a390
mov rdx, qword [rsp + 0x880]
add rdx, 0xaa0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov rax, qword [rsp + 0x880]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x880]
mov r9d, dword [rax + 8]
lea r8, [0x1401067a0]
lea rcx, [rsp + 0x50]
call fcn.140011920
mov dword [rsp + 0x85c], eax
cmp dword [rsp + 0x85c], 0
jne 0x140009593
mov rax, qword [rsp + 0x880]
mov dword [rax + 0xcb0], 1
mov eax, dword [rsp + 0x85c]
mov rcx, qword [rsp + 0x868]
xor rcx, rsp
call fcn.140103060
add rsp, 0x870
pop rdi
ret
Function at 0x140009960
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x38], 0
call fcn.14000a090
mov r9d, eax
mov rdx, qword [rsp + 0x60]
add rdx, 0xcb4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x140009a5e
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1401068d8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x140009a3c
cmp dword [rsp + 0x38], 1
jne 0x140009a3c
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0xcac], 0
jne 0x140009a32
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.140009ab0
mov r11, qword [rsp + 0x60]
mov dword [r11 + 0xcac], 1
mov dword [rsp + 0x34], 1
jmp 0x140009a53
mov rax, qword [rsp + 0x60]
mov dword [rax + 0xcac], 0
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0xebc], 1
jne 0x140009a88
mov rdx, qword [rsp + 0x60]
add rdx, 0x220
mov r8d, 0x400
mov rcx, qword [rsp + 0x60]
call fcn.140009d50
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r11d, eax
mov rax, qword [rsp + 0x60]
mov dword [rax + 0xec4], r11d
mov eax, dword [rsp + 0x34]
add rsp, 0x58
ret