joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f92c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14004f0c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x14000f956
xor al, al
jmp 0x14000f9ef
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x58]
lea rdx, str.SoftwareTencentQQBrowserQBroker
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
xor dil, dil
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000f9ec
cmp qword [rbx + 0x18], 8
jb 0x14000f9ae
mov rbx, qword [rbx]
mov edi, 1
mov rdx, rbx
mov rbx, qword [rsp + 0x50]
lea r9d, [rdi + 3]
lea rax, [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rcx, rbx
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14000f9ec
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001edd0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret

Function at 0x14000fa0c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14004f0c0]
xor rax, rsp
mov qword [rbp - 8], rax
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x14000fa3d
xor al, al
jmp 0x14000fadf
xor eax, eax
lea r8, str.SoftwareTencentQQBrowserQBroker
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
and qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
and dword [rbp - 0x18], eax
mov qword [rbp - 0x10], rax
and qword [rbp - 0x10], rax
mov rdx, 0xffffffff80000001
xor dil, dil
call fcn.14000f2d8
test eax, eax
jne 0x14000facb
and dword [rbp - 0x30], eax
cmp qword [rbx + 0x18], 8
jb 0x14000fa81
mov rbx, qword [rbx]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x2c]
lea r9, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
xor r8d, r8d
mov rdx, rbx
mov dword [rbp - 0x2c], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000facb
cmp dword [rbp - 0x28], 4
jne 0x14000facb
test eax, eax
jne 0x14000facb
mov eax, 1
movzx edi, dil
cmp dword [rbp - 0x30], eax
cmove edi, eax
cmp qword [rbp - 0x20], 0
je 0x14000fadc
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001edd0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400107ac
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov esi, ecx
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
add rax, 0x10
mov qword [rsp + 0x60], rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
movzx eax, word [rax + 0x120]
mov dword [rsp + 0x28], 0
lea rdi, [0x140010964]
movzx ebx, ax
mov eax, dword [rsp + 0x28]
cmp rax, 0xb
ja case.default.0x140010809
movsxd rax, dword [rdi + rax*4]
add rax, rdi
jmp rax
cmp ebx, 0x1db2
mov eax, 0
adc eax, 1
mov dword [rsp + 0x28], eax
jmp case.default.0x140010809
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x68], rax
setne al
xor ecx, ecx
mov cl, al
add ecx, 5
mov dword [rsp + 0x28], ecx
jmp case.default.0x140010809
mov rax, qword [rsp + 0x58]
jmp 0x140010889
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], 0xfffffffffffffff0
jmp 0x1400108bc
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
cmp esi, 1
sete byte [rsp + 0x2f]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x28], 4
jmp case.default.0x140010809
mov rax, qword [rsp + 0x38]
add rax, 0x58
mov qword [rsp + 0x80], rax
jmp 0x140010919
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], 3
jmp case.default.0x140010809
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], VariantTimeToDosDateTime
jmp case.default.0x140010809
mov rax, qword [rsp + 0x70]
add rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x2f]
mov ecx, 8
sub ecx, eax
mov dword [rsp + 0x28], ecx
jmp case.default.0x140010809
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], VariantTimeToDosDateTime
invalid
invalid

Function at 0x1400171dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14004f0c0]
xor rax, rsp
mov qword [rbp - 8], rax
and qword [rbp - 0x28], 0
and dword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
lea r8, str.SoftwareTencentQQBrowserAdvanced
lea rcx, [rbp - 0x28]
mov rdx, 0xffffffff80000001
mov dword [rbp - 0x30], 1
call fcn.14000f2d8
mov rbx, qword [rbp - 0x28]
test eax, eax
jne 0x140017270
lea rax, [rbp - 0x10]
lea r9, [rbp - 0xc]
lea rdx, str.EnableUEData
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
xor r8d, r8d
mov rcx, rbx
mov dword [rbp - 0x10], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test rbx, rbx
je 0x140017270
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov edi, dword [rbp - 0x30]
test rbx, rbx
je 0x140017281
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001edd0
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
Function at 0x1400175d4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x30
mov eax, dword [r9]
mov rbx, r8
mov rdi, r9
add eax, eax
xor esi, esi
lea rdx, str.Version
mov dword [r9], esi
mov rcx, qword [rcx]
mov dword [rsp + 0x48], eax
lea rax, [r11 + 0x10]
lea r9, [r11 + 8]
xor r8d, r8d
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001765e
mov eax, dword [rsp + 0x40]
dec eax
cmp eax, 1
jbe 0x140017635
mov eax, 0xd
jmp 0x14001765e
mov ecx, dword [rsp + 0x48]
test rbx, rbx
je 0x140017658
test ecx, ecx
je 0x140017655
test cl, 1
jne 0x14001762e
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x140017658
jmp 0x14001762e
mov word [rbx], si
shr ecx, 1
xor eax, eax
mov dword [rdi], ecx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140017670
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r9d, dword [rcx]
mov r8d, dword [rcx + 4]
mov ebp, 0xf0f0f0f
mov eax, r9d
mov rbx, rcx
mov rdi, rdx
shr eax, 4
mov esi, 8
xor eax, r8d
and eax, ebp
lea rbp, [0x140000000]
xor r8d, eax
shl eax, 4
xor r9d, eax
mov eax, r9d
shr eax, 0x10
xor eax, r8d
movzx ecx, ax
xor r8d, ecx
shl ecx, 0x10
xor r9d, ecx
mov eax, r8d
shr eax, 2
xor eax, r9d
and eax, 0x33333333
xor r9d, eax
shl eax, 2
xor r8d, eax
mov r10d, r8d
shr r10d, 8
xor r10d, r9d
and r10d, 0xff00ff
xor r9d, r10d
shl r10d, 8
xor r10d, r8d
rol r10d, 1
mov r11d, r10d
xor r11d, r9d
and r11d, 0xaaaaaaaa
xor r10d, r11d
xor r11d, r9d
rol r11d, 1
mov eax, r10d
ror eax, 4
xor eax, dword [rdi]
lea rdi, [rdi + 0x10]
mov edx, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r9d, dword [rbp + rcx*4 + 0x46c60]
or r9d, dword [rbp + rax*4 + 0x46a60]
mov eax, edx
and edx, 0x3f
shr rax, 8
and eax, 0x3f
or r9d, dword [rbp + rax*4 + 0x46860]
mov eax, dword [rdi - 0xc]
or r9d, dword [rbp + rdx*4 + 0x46660]
xor eax, r10d
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [rbp + rcx*4 + 0x46d60]
or edx, dword [rbp + rax*4 + 0x46b60]
mov eax, r8d
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
or edx, dword [rbp + rax*4 + 0x46960]
or edx, dword [rbp + r8*4 + 0x46760]
or edx, r9d
xor r11d, edx
mov eax, r11d
ror eax, 4
xor eax, dword [rdi - 8]
mov edx, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov r9d, dword [rbp + rcx*4 + 0x46c60]
or r9d, dword [rbp + rax*4 + 0x46a60]
mov eax, edx
and edx, 0x3f
shr rax, 8
and eax, 0x3f
or r9d, dword [rbp + rax*4 + 0x46860]
mov eax, dword [rdi - 4]
or r9d, dword [rbp + rdx*4 + 0x46660]
xor eax, r11d
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [rbp + rcx*4 + 0x46d60]
or edx, dword [rbp + rax*4 + 0x46b60]
mov eax, r8d
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
or edx, dword [rbp + rax*4 + 0x46960]
or edx, dword [rbp + r8*4 + 0x46760]
or edx, r9d
xor r10d, edx
dec rsi
jne 0x140017715
ror r10d, 1
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov edx, r10d
mov ebp, 0xf0f0f0f
xor edx, r11d
and edx, 0xaaaaaaaa
xor r10d, edx
xor edx, r11d
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, r10d
and eax, 0xff00ff
xor r10d, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, r10d
and eax, 0x33333333
xor r10d, eax
shl eax, 2
xor edx, eax
mov eax, r10d
shr eax, 0x10
xor eax, edx
movzx ecx, ax
xor edx, ecx
shl ecx, 0x10
xor r10d, ecx
mov ecx, r10d
shr ecx, 4
xor ecx, edx
and ecx, ebp
mov rbp, qword [rsp + 0x10]
mov eax, ecx
xor ecx, edx
shl eax, 4
mov dword [rbx + 4], ecx
xor eax, r10d
mov dword [rbx], eax
mov rbx, qword [rsp + 8]
ret
Function at 0x140018128
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14004f0c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
xor ebx, ebx
xor edx, edx
lea rcx, [rbp + 0x17]
call fcn.140018434
nop
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rcx, qword [rbp + 0x17]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
lea r14d, [rbx + 1]
mov r8d, r14d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140018266
mov dl, r14b
lea rcx, [rbp - 9]
call fcn.140018434
lea rcx, [rbp + 0x17]
call fcn.140018c4c
test al, al
jne 0x14001820d
lea rcx, [rbp - 9]
call fcn.140018c4c
test al, al
je 0x14001820d
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rdx, qword [rbp + 0x17]
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14001820d
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, r14d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp qword [rbp + 0xf], 8
jb 0x140018250
mov rcx, qword [rbp - 9]
call fcn.14001edb8
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rbx
mov word [rbp - 9], bx
cmp rdi, 0xffffffffffffffff
je 0x1400182ad
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x10
jb 0x1400182a3
mov dword [rbp - 0x19], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x19]
mov r8d, 0x10
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400182a3
movzx ebx, bl
cmp dword [rbp - 0x19], 0x10
cmove ebx, r14d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbp + 0x2f], 8
jb 0x1400182bd
mov rcx, qword [rbp + 0x17]
call fcn.14001edb8
mov al, bl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14001edd0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400182e4
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14004f0c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
xor ebx, ebx
xor edx, edx
lea rcx, [rbp + 0x17]
call fcn.140018434
nop
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rcx, qword [rbp + 0x17]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 2
xor r9d, r9d
lea r14d, [rbx + 1]
mov r8d, r14d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400183c7
mov dl, r14b
lea rcx, [rbp - 9]
call fcn.140018434
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, r14d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp qword [rbp + 0xf], 8
jb 0x1400183b1
mov rcx, qword [rbp - 9]
call fcn.14001edb8
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rbx
mov word [rbp - 9], bx
cmp rdi, 0xffffffffffffffff
je 0x1400183fb
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x19]
mov r8d, 0x10
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400183f1
movzx ebx, bl
cmp dword [rbp - 0x19], 0x10
cmove ebx, r14d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbp + 0x2f], 8
jb 0x14001840b
mov rcx, qword [rbp + 0x17]
call fcn.14001edb8
mov al, bl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14001edd0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140018434
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14004f0c0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov dil, dl
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r14
mov word [rcx], r14w
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140021140
mov al, dil
neg al
sbb r8d, r8d
and r8d, 0xfffffff7
add r8d, 0x23
lea r9d, [r14 + 1]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140018576
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r14
mov word [rsp + 0x38], r14w
cmp word [rsp + 0x60], r14w
jne 0x1400184ee
mov r8d, r14d
jmp 0x140018501
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x1400184f7
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140001f78
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14000fc78
nop
cmp qword [rsp + 0x50], 8
jb 0x140018538
mov rcx, qword [rsp + 0x38]
call fcn.14001edb8
mov rcx, rbx
test dil, dil
lea rdx, str.TencentDeskUpdate
jne 0x14001854e
lea rdx, str.TencentDesktop
call fcn.14000fb00
mov rcx, rbx
call fcn.1400185a0
test al, al
jne 0x140018567
mov rcx, rbx
call fcn.140018778
lea rdx, str.Global.db
mov rcx, rbx
call fcn.14000fb00
mov rax, rbx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14001edd0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop r14
pop rdi
pop rbp
ret

Function at 0x14001c7cc
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0xf50]
mov eax, 0x1050
call fcn.140035940
sub rsp, rax
mov rax, qword [0x14004f0c0]
xor rax, rsp
mov qword [rbp + 0xf40], rax
mov rcx, qword [rcx + 8]
xor ebx, ebx
mov rdi, r8
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 0x800
test rcx, rcx
je 0x14001c8ce
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001c8ce
cmp dword [rsp + 0x30], 1
jne 0x14001c86c
cmp word [rsp + 0x40], bx
je 0x14001c865
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x14001c859
mov rbx, rax
lea rdx, [rsp + 0x40]
jmp 0x14001c8bf
cmp dword [rsp + 0x30], 2
jne 0x14001c8ce
lea rdx, [rbp + 0x740]
lea rcx, [rsp + 0x40]
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x34], eax
dec eax
cmp eax, 0x3ff
ja 0x14001c8ce
cmp word [rbp + 0x740], bx
je 0x14001c8b8
lea rcx, [rbp + 0x740]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x14001c8ac
mov rbx, rax
lea rdx, [rbp + 0x740]
mov r8, rbx
mov rcx, rdi
call fcn.140001f78
mov al, 1
jmp 0x14001c8d0
xor al, al
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.14001edd0
add rsp, 0x1050
pop rdi
pop rbx
pop rbp
ret
Function at 0x14001ca74
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x78]
sub rsp, 0x170
mov rax, qword [0x14004f0c0]
xor rax, rsp
mov qword [rbp + 0x60], rax
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x48]
mov rdi, rcx
mov ebx, 3
lea r14d, [rbx - 2]
lea rdx, str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x38], 0x104
mov dword [rsp + 0x34], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001cc36
mov r9, rdi
mov edi, 0x103
lea r8, str._sConnection
lea rcx, [rsp + 0x50]
mov edx, edi
call fcn.14000f17c
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001cc2b
mov rcx, qword [rsp + 0x40]
lea eax, [rbx + 1]
lea r9, [rsp + 0x34]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea rdx, str.MediaSubType
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001cc20
lea r8d, [rdi + 1]
lea rcx, [rsp + 0x50]
xor edx, edx
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x38], edi
call fcn.140021140
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.PnpInstanceID
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001cc20
mov eax, dword [rsp + 0x30]
cmp eax, r14d
jne 0x14001cc19
lea rdx, [0x140047780]
lea rcx, [rsp + 0x50]
mov r8d, ebx
call fcn.140021fc0
test eax, eax
jne 0x14001cbed
xor ebx, ebx
jmp 0x14001cc20
mov eax, dword [rsp + 0x30]
cmp eax, r14d
jne 0x14001cc19
lea rdx, [0x140047780]
lea rcx, [rsp + 0x50]
mov r8, rbx
call fcn.140021fc0
test eax, eax
je 0x14001cc15
mov ebx, 2
jmp 0x14001cc20
mov eax, dword [rsp + 0x30]
cmp eax, 2
cmove ebx, r14d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14001edd0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001cf60
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2d78]
mov eax, 0x2e50
call fcn.140035940
sub rsp, rax
mov rax, qword [0x14004f0c0]
xor rax, rsp
mov qword [rbp + 0x2d40], rax
mov r14, rcx
lea rcx, [rbp + 0x2b32]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x2b30], bx
call fcn.140021140
mov edi, 0x104
lea rcx, [rbp + 0x2b30]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
or rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x2b30]
mov rax, rdx
inc rax
cmp word [rcx + rax*2], bx
jne 0x14001cfdf
test eax, eax
jle 0x14001d026
movsxd rcx, eax
mov r8d, 0x5c
cmp r8w, word [rbp + rcx*2 + 0x2b2e]
je 0x14001d026
inc eax
mov word [rbp + rcx*2 + 0x2b30], r8w
movsxd rcx, eax
add rcx, rcx
cmp rcx, 0x208
jae 0x14001d1bb
mov word [rbp + rcx + 0x2b30], bx
lea rax, [rbp + 0x2b30]
inc rdx
cmp word [rax + rdx*2], bx
jne 0x14001d02d
mov r9, rdi
lea r8, str.iphlpapi.dll
lea rcx, [rbp + 0x2b30]
sub r9, rdx
mov rdx, rdi
call fcn.1400222f8
lea rcx, [rbp + 0x2b30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r13, rax
test rax, rax
je 0x14001d18b
lea rdx, str.GetAdaptersInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 1
test rax, rax
je 0x14001d147
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x2c00
call rax
test eax, eax
jne 0x14001d147
lea rax, [rsp + 0x24]
mov r15, r14
lea rdi, [rsp + 0x30]
sub r15, rax
lea r12d, [rsi + 2]
lea rcx, [rdi + 0xc]
call fcn.14001ca74
mov edx, ebx
lea rcx, [rsp + 0x24]
mov r8d, eax
xor eax, eax
mov dword [rsp + 0x24], eax
mov word [rsp + 0x28], ax
mov al, byte [rcx]
cmp byte [r15 + rcx], al
jne 0x14001d0ef
add edx, esi
add rcx, rsi
movsxd rax, edx
cmp rax, 6
jb 0x14001d0d7
jmp 0x14001d0fd
cmp dword [rdi + 0x1a4], 6
jne 0x14001d13b
cmp r12d, r8d
jle 0x14001d13b
mov al, byte [rdi + 0x198]
mov r12d, r8d
mov byte [r14], al
mov al, byte [rdi + 0x199]
mov byte [r14 + 1], al
mov al, byte [rdi + 0x19a]
mov byte [r14 + 2], al
mov al, byte [rdi + 0x19b]
mov byte [r14 + 3], al
mov al, byte [rdi + 0x19c]
mov byte [r14 + 4], al
mov al, byte [rdi + 0x19d]
mov byte [r14 + 5], al
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14001d0b9
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov edx, ebx
mov dword [rsp + 0x24], eax
mov word [rsp + 0x28], ax
lea rax, [rsp + 0x24]
sub r14, rax
lea rcx, [rsp + 0x24]
mov al, byte [rcx]
cmp byte [r14 + rcx], al
jne 0x14001d182
add edx, esi
add rcx, rsi
movsxd rax, edx
cmp rax, 6
jb 0x14001d16a
jmp 0x14001d185
mov sil, bl
test sil, sil
sete al
mov rcx, qword [rbp + 0x2d40]
xor rcx, rsp
call fcn.14001edd0
lea r11, [rsp + 0x2e50]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140022248
int3
Function at 0x14001ea7c
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14004f0c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
and dword [rsp + 0x34], 0
and dword [rsp + 0x30], 0
mov rbx, r8
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x67452301
mov dword [rsp + 0x24], 0xefcdab89
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
call fcn.14001e00c
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001e0f0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14001edd0
add rsp, 0x90
pop rbx
ret

Function at 0x140021bfc
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140021c14
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140021c16
xor eax, eax
test eax, eax
je 0x140021c26
mov ecx, eax
call fcn.140022914
or eax, 0xffffffff
jmp 0x140021c28
xor eax, eax
add rsp, 0x28
ret

Function at 0x140022e10
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140022c78