joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005b60
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x150
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rdx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x104
call fcn.14000c770
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
or rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140005bc0
test eax, eax
je 0x140005be5
lea ecx, [rax - 1]
movsxd rdx, ecx
movzx r8d, byte [rsp + rdx + 0x30]
cmp r8b, 0x5c
je 0x140005bed
cmp r8b, 0x2f
je 0x140005bed
movsxd rdx, eax
mov byte [rsp + rdx + 0x30], 0x5c
lea r8, [rsp + 0x30]
mov edx, 0xff
mov rcx, rdi
call fcn.140013064
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140005c04
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140009290
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
Function at 0x140005c30
Capabilities:
Set registry value

Disassembly:
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov qword [rbp - 0x60], 0xf
xor ebx, ebx
mov qword [rbp - 0x68], rbx
mov byte [rbp - 0x78], bl
movzx eax, byte [str.USHUpgradeService]
neg al
sbb r8, r8
and r8d, 0x11
lea rcx, [rbp - 0x78]
call fcn.140006390
nop
lea r8, [rbp - 0x78]
lea rcx, [rsp + 0x68]
call fcn.140006bb0
nop
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140005d97
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp - 0x50]
call fcn.14000c770
lea rdx, [rbp - 0x50]
call fcn.140005b60
lea r8, str.BroadcomCV_binUSHUpgradeService.exe
mov edx, 0xff
lea rcx, [rbp - 0x50]
call fcn.140013230
mov dword [rsp + 0x50], 7
lea rcx, [rbp - 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140005d27
inc eax
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.EventMessageFile
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140005d8b
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.TypesSupported
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x140005dfc
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0xffffffffffffffff
jbe 0x140005db5
call fcn.140018d94
int3
cmp rax, 0x1000
jb 0x140005df7
test byte [rsp + 0x68], 0x1f
je 0x140005dca
call fcn.140018d94
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140005dd9
call fcn.140018d94
int3
sub rcx, rax
cmp rcx, 8
jae 0x140005de8
call fcn.140018d94
int3
cmp rcx, 0x27
jbe 0x140005df4
call fcn.140018d94
int3
mov rcx, rax
call fcn.14000958c
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], rbx
mov byte [rsp + 0x68], 0
mov rax, qword [rbp - 0x60]
cmp rax, 0x10
jb 0x140005e71
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, 0xffffffffffffffff
jbe 0x140005e2b
call fcn.140018d94
int3
cmp rax, 0x1000
jb 0x140005e6c
test byte [rbp - 0x78], 0x1f
je 0x140005e3f
call fcn.140018d94
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140005e4e
call fcn.140018d94
int3
sub rcx, rax
cmp rcx, 8
jae 0x140005e5d
call fcn.140018d94
int3
cmp rcx, 0x27
jbe 0x140005e69
call fcn.140018d94
int3
mov rcx, rax
call fcn.14000958c
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140009290
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1c0
pop rbp
ret
Function at 0x140005ea0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x50
movzx esi, dx
mov rbp, rcx
mov r8d, esi
sub r8d, 1
je 0x140005edc
sub r8d, 1
je 0x140005ed5
mov ebx, 0x60000000
jmp 0x140005ee1
mov ebx, 0xa0000001
jmp 0x140005ee1
mov ebx, 0xe0000002
lea rdx, str.USHUpgradeService
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov rdi, rax
test rax, rax
je 0x140005f3c
xor ecx, ecx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov edx, 1
mov dword [rsp + 0x30], ecx
xor r8d, r8d
mov word [rsp + 0x28], dx
mov r9d, ebx
mov qword [rsp + 0x20], rcx
movzx edx, si
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140009adc
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140009b6d
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140009b6d
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009b6d
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140009b51
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140009b4b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140009b53
add rdx, 0x28
jmp 0x140009b30
xor edx, edx
test rdx, rdx
jne 0x140009b5c
xor al, al
jmp 0x140009b73
test dword [rdx + 0x24], 0x80000000
je 0x140009b69
xor al, al
jmp 0x140009b73
mov al, 1
jmp 0x140009b73
xor al, al
jmp 0x140009b73
add rsp, 0x18
ret
Function at 0x140022e24
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x140022cc4
call fcn.14001b5c8
mov dword [rax], 0x16
call fcn.140018d74
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140022cac
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x140022cac
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x140022cf6
lock or dword [rax + 0x14], 0x10
jmp 0x140022cac
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x140022d13
mov rcx, qword [rbp + 0x10]
call fcn.140027688
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14001b7bc
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14001f334
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x140022d6a
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x140022cac
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x140022dd6
mov rcx, qword [rbp + 0x10]
call fcn.14001b7bc
cmp eax, 0xffffffff
je 0x140022dbd
mov rcx, qword [rbp + 0x10]
call fcn.14001b7bc
cmp eax, 0xfffffffe
je 0x140022dbd
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14001b7bc
movsxd rdi, eax
lea rsi, [0x14003e750]
mov rcx, rbx
sar rdi, 6
call fcn.14001b7bc
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x140022dc4
lea rax, [0x14003d320]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140022dd6
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x140022e0c
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x140022e08
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x140022e08
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x140022caf
jmp 0x140022c7c
Function at 0x14000d220
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x300], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x60], 7
xor eax, eax
mov qword [rsp + 0x58], rax
mov word [rsp + 0x48], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140006b90
nop
mov r8d, 3
lea rdx, [0x1400f72d8]
lea rcx, [rsp + 0x48]
call fcn.14000b750
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000d42f
lea r8, str.sgim_usr_v1.bin
nop dword [rax + rax]
test byte [rsp + 0x70], 0x10
je 0x14000d3b0
movzx edx, word [rbp - 0x64]
movzx ecx, word [rbp - 0x62]
cmp dx, word [0x1400f72e0]
jne 0x14000d316
cmp cx, word [0x1400f72e2]
jne 0x14000d316
movzx eax, word [rbp - 0x60]
cmp ax, word [0x1400f72e4]
je 0x14000d412
cmp dx, word [0x1400f72e8]
jne 0x14000d32c
cmp cx, word [0x1400f72ea]
je 0x14000d412
mov qword [rsp + 0x40], 7
xor eax, eax
mov qword [rsp + 0x38], rax
mov word [rsp + 0x28], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140006b90
nop
cmp word [rbp - 0x64], 0
jne 0x14000d362
xor r8d, r8d
jmp 0x14000d37b
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d370
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.14000b750
mov r8d, 1
lea rdx, [0x1400f6034]
lea rcx, [rsp + 0x28]
call fcn.14000b750
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.14000d220
nop
jmp 0x14000d400
lea rdx, [rbp - 0x64]
xor eax, eax
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [r8 + rax*2]
jne 0x14000d412
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r8 + rax*2 + 2]
jne 0x14000d412
add rax, 2
cmp rax, 0x10
jne 0x14000d3c0
lea r8, [rbp - 0x64]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14000b440
nop
mov rdx, rax
mov rcx, rdi
call fcn.14000e9c0
nop
cmp qword [rsp + 0x40], 8
jb 0x14000d412
mov rcx, qword [rsp + 0x28]
call fcn.1400bd20c
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
lea r8, str.sgim_usr_v1.bin
jne 0x14000d2e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x60], 8
jb 0x14000d44b
mov rcx, qword [rsp + 0x48]
call fcn.1400bd20c
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2d0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d550
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x4c0], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov word [rbp + 0x170], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x172]
call fcn.1400c2130
lea rdx, [rbp + 0x170]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov word [rsp + 0x60], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.1400c2130
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x1400f7348]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x38], bx
cmp word [rsp + 0x60], bx
jne 0x14000d61f
mov r8d, ebx
jmp 0x14000d63a
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x14000d630
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140006900
nop
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140079010
nop
cmp qword [rsp + 0x50], 8
jb 0x14000d66a
mov rcx, qword [rsp + 0x38]
call fcn.1400bd20c
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x38], bx
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x60], 0
je 0x14000d6aa
lea rax, [rsp + 0x60]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000d6a0
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140006900
mov dword [rsp + 0x20], 1
mov rax, rdi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0x4c0]
add rsp, 0x490
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000df60
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x280
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x298], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
mov word [rsp + 0x60], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.1400c2130
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000dff1
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
mov word [rbx], di
xor r8d, r8d
lea rdx, [0x1400f50d8]
mov rcx, rbx
call fcn.140006900
jmp 0x14000e0b8
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x40], di
cmp word [rsp + 0x60], di
jne 0x14000e010
mov r8, rdi
jmp 0x14000e02a
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x14000e020
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140006900
nop
mov r8d, 0x12
lea rdx, str.TencentQQPinyin_
lea rcx, [rsp + 0x40]
call fcn.14000b750
mov r8d, 0xa
lea rdx, str.user2.dict
lea rcx, [rsp + 0x40]
call fcn.14000b750
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
mov word [rbx], di
mov rcx, qword [rsp + 0x58]
cmp rcx, 8
jae 0x14000e0a3
mov r8, qword [rsp + 0x50]
inc r8
je 0x14000e0ab
add r8, r8
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400bcb10
mov rcx, qword [rsp + 0x58]
jmp 0x14000e0ab
mov rax, qword [rsp + 0x40]
mov qword [rbx], rax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
Function at 0x14000e0e0
Capabilities:
Get common file path

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 qword [rax + 0x20], rsi
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov word [rsp + 0x60], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.1400c2130
lea rdx, [rsp + 0x60]
mov edi, 0x104
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, edi
lea rax, [rsp + 0x60]
cmp word [rax], bx
je 0x14000e168
add rax, 2
dec rcx
jne 0x14000e158
jmp 0x14000e1c1
test rcx, rcx
je 0x14000e1c1
mov rdx, rdi
sub rdx, rcx
sub rdi, rdx
lea rax, [rsp + 0x60]
lea rax, [rax + rdx*2]
je 0x14000e1ba
lea rcx, [rdx + 0x7ffffefb]
add rcx, rdi
lea r8, str.user2.dict
sub r8, rax
test rcx, rcx
je 0x14000e1b5
movzx edx, word [r8 + rax]
test dx, dx
je 0x14000e1b5
mov word [rax], dx
add rax, 2
dec rcx
dec rdi
jne 0x14000e195
jmp 0x14000e1ba
test rdi, rdi
jne 0x14000e1be
sub rax, 2
mov word [rax], bx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x38], bx
cmp word [rsp + 0x60], bx
jne 0x14000e1ea
mov r8, rbx
jmp 0x14000e1fd
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x14000e1f3
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140006900
nop
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.140079010
nop
cmp qword [rsp + 0x50], 8
jb 0x14000e22d
mov rcx, qword [rsp + 0x38]
call fcn.1400bd20c
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x38], bx
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], rbx
mov word [rsi], bx
cmp word [rsp + 0x60], 0
je 0x14000e26a
lea rax, [rsp + 0x60]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000e260
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140006900
mov dword [rsp + 0x20], 1
mov rax, rsi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400bcae0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000e5b0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x30
xor ebx, ebx
mov rbp, rdx
mov rsi, rcx
mov r9, rcx
lea rcx, [rsp + 0x20]
lea edx, [rbx + 2]
lea r8d, [rbx + 1]
mov word [rsp + 0x20], bx
call fcn.1400bd7f8
lea edx, [rbx + 2]
lea r8d, [rbx + 1]
lea rcx, [rsp + 0x24]
mov r9, rsi
mov word [rsp + 0x24], bx
call fcn.1400bd7f8
lea edx, [rbx + 4]
lea r8d, [rbx + 1]
lea rcx, [rsp + 0x28]
mov r9, rsi
mov dword [rsp + 0x28], ebx
call fcn.1400bd7f8
lea edx, [rbx + 4]
lea r8d, [rbx + 1]
lea rcx, [rsp + 0x2c]
mov r9, rsi
mov dword [rsp + 0x2c], ebx
call fcn.1400bd7f8
mov edx, 1
lea rcx, [rsp + 0x68]
mov r8d, edx
mov r9, rsi
mov byte [rsp + 0x68], bl
mov byte [rsp + 0x60], bl
call fcn.1400bd7f8
mov edx, 1
lea rcx, [rsp + 0x60]
mov r8d, edx
mov r9, rsi
call fcn.1400bd7f8
movzx eax, byte [rsp + 0x68]
cmp al, byte [rsp + 0x60]
je 0x14000e669
xor al, al
add rsp, 0x30
pop rsi
pop rbp
pop rbx
ret
movzx edx, al
mov r8d, 1
mov rcx, rsi
add edx, edx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
call fcn.1400bdcd8
movzx eax, byte [rsp + 0x60]
mov r14, 0xffffffffffffffff
inc eax
movsxd rcx, eax
mov eax, 2
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.1400bbc88
movzx ecx, byte [rsp + 0x60]
xor edx, edx
inc ecx
mov rdi, rax
movsxd r8, ecx
mov rcx, rax
add r8, r8
call fcn.1400c2130
movzx r8d, byte [rsp + 0x60]
lea edx, [r14 + 3]
mov r9, rsi
mov rcx, rdi
call fcn.1400bd7f8
cmp word [rdi], bx
je 0x14000e6ec
mov rbx, r14
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14000e6e2
mov r8, rbx
mov rdx, rdi
mov rcx, rbp
call fcn.140006900
mov rcx, rdi
call fcn.1400bd2dc
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov al, 1
add rsp, 0x30
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000e720
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
xor ebx, ebx
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbp, rcx
mov r9, rcx
lea r8d, [rbx + 1]
lea edx, [rbx + 2]
lea rcx, [rsp + 0x24]
mov word [rsp + 0x24], bx
call fcn.1400bd7f8
lea edx, [rbx + 4]
lea r8d, [rbx + 1]
mov r9, rbp
mov rcx, rdi
call fcn.1400bd7f8
lea edx, [rbx + 4]
lea r8d, [rbx + 1]
lea rcx, [rsp + 0x28]
mov r9, rbp
mov dword [rsp + 0x28], ebx
call fcn.1400bd7f8
lea edx, [rbx + 4]
lea r8d, [rbx + 1]
mov r9, rbp
mov rcx, rsi
call fcn.1400bd7f8
lea edx, [rbx + 2]
lea r8d, [rbx + 1]
lea rcx, [rsp + 0x2c]
mov r9, rbp
mov dword [rsp + 0x2c], ebx
call fcn.1400bd7f8
mov edx, 1
lea rcx, [rsp + 0x30]
mov r8d, edx
mov r9, rbp
mov dword [rsp + 0x30], ebx
call fcn.1400bd7f8
mov edx, 1
lea rcx, [rsp + 0x20]
mov r8d, edx
mov r9, rbp
mov byte [rsp + 0x20], bl
call fcn.1400bd7f8
movzx eax, byte [rsp + 0x20]
mov rsi, 0xffffffffffffffff
inc eax
movsxd rcx, eax
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400bbc88
movzx ecx, byte [rsp + 0x20]
xor edx, edx
inc ecx
mov rdi, rax
movsxd r8, ecx
mov rcx, rax
add r8, r8
call fcn.1400c2130
movzx r8d, byte [rsp + 0x20]
lea edx, [rbx + 2]
mov r9, rbp
mov rcx, rdi
call fcn.1400bd7f8
cmp word [rdi], bx
je 0x14000e84c
mov rbx, rsi
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14000e842
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.140006900
mov rcx, rdi
call fcn.1400bd2dc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140012780
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x30], ebx
mov word [rsp + 0x40], bx
call fcn.1400c2130
lea rax, [rsp + 0x40]
lea edx, [rbx + 0x23]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
test eax, eax
jns 0x1400127f9
xor r8d, r8d
lea rdx, [0x1400f50d8]
jmp 0x140012822
cmp word [rsp + 0x40], bx
je 0x14001281a
lea rax, [rsp + 0x40]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140012810
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140006900
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret

Function at 0x140012850
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x40], ebx
mov word [rsp + 0x50], bx
call fcn.1400c2130
lea rax, [rsp + 0x38]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400128f9
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.Common_AppData
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x50], bx
je 0x14001292a
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140012920
lea rdx, [rsp + 0x50]
mov r8, rbx
mov rcx, rdi
call fcn.140006900
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret