joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140028974
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c284
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c284
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028ac4
cmp rax, 0xffffffffffffffff
je 0x140028ac4
xor edi, edi
test rbp, rbp
jle 0x140028a6f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001eb98
mov rbx, rax
test rax, rax
jne 0x1400289fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028a65
mov edx, 0x8000
mov ecx, r14d
call fcn.140019be8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001cf60
cmp eax, 0xffffffff
je 0x140028a45
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028a0c
mov edx, r15d
mov ecx, r14d
call fcn.140019be8
jmp 0x140028a65
cmp byte [rsi + 0x38], dil
je 0x140028a5c
cmp dword [rsi + 0x34], 5
jne 0x140028a5c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028a65
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a948
jmp 0x140028ad8
jns 0x140028ad8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c284
cmp rax, 0xffffffffffffffff
jne 0x140028a90
cmp byte [rsi + 0x30], dil
je 0x140028ad8
mov edi, dword [rsi + 0x2c]
jmp 0x140028ad8
mov ecx, r14d
call fcn.14001871c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028ad8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028ad8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028ad1
mov eax, dword [rsi + 0x2c]
jmp 0x140028ad6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c284
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029bd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029bf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029bf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001960
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ade0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ae08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ae08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14000191c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001966
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001966
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001966
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001966
cmp dword [rcx + 0x84], 0xe
jbe 0x140001966
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001968
xor al, al
add rsp, 0x28
ret
Function at 0x140001118
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
cpuid
mov eax, 1
cpuid
movabs r9, 0xb2d05e00
cpuid
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
fldpi
frndint
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, r9
jb 0x14000113b
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0xffffffff9f345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x140001166
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x14000115f
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret

Function at 0x140003380
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x80004005
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x30], 0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov edx, 0x104
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0x104
jae 0x1400033f4
cmp dword [rsp + 0x48], 0
jne 0x1400033fe
mov eax, 0x80004005
jmp 0x1400034d6
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140003418
mov eax, 0x80004005
jmp 0x1400034d6
lea rax, [rsp + 0x60]
mov qword [rsp + 0x290], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, str.newdev.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000344e
jmp 0x1400034bf
lea rdx, str.UpdateDriverForPlugAndPlayDevicesW
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140003471
jmp 0x1400034bf
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x290]
mov rdx, qword [rsp + 0x298]
xor ecx, ecx
call qword [rsp + 0x50]
test eax, eax
jne 0x14000349e
jmp 0x1400034bf
cmp dword [rsp + 0x4c], 0
je 0x1400034af
mov dword [rsp + 0x34], 1
jmp 0x1400034b7
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
cmp qword [rsp + 0x40], 0
je 0x1400034d2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140004320
add rsp, 0x288
ret
Function at 0x140003f80
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xab0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xaa0], rax
mov dword [rsp + 0x40], 0x80004005
xor eax, eax
mov word [rsp + 0x120], ax
lea rax, [rsp + 0x122]
mov rdi, rax
xor eax, eax
mov ecx, 0x18e
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x80], ax
lea rax, [rsp + 0x82]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
cmp qword [rsp + 0xac8], 0
jne 0x140003ffd
mov eax, 0x80004005
jmp 0x140004185
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x48], 0
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x350]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x48]
lea r8, [0x1400036e0]
mov rdx, qword [rsp + 0xac8]
mov ecx, 2
call fcn.140003cc0
mov dword [rsp + 0x40], eax
xor r9d, r9d
lea r8, [rsp + 0x490]
mov edx, 0x104
mov rcx, qword [rsp + 0xac0]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp eax, 0x104
jb 0x140004083
mov dword [rsp + 0x40], 0x80004005
mov qword [rsp + 0x20], 0
mov r9d, 0x20
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x490]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetINFClassW]
test eax, eax
jne 0x1400040b9
mov dword [rsp + 0x40], 0x80004005
mov r8d, 0x28
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, str.SYSTEMCurrentControlSetControlClass_
lea r8, str._s_s
mov edx, 0xc8
lea rcx, [rsp + 0x120]
call fcn.1400030c0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x120]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140004160
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x400
lea rax, [rsp + 0x6a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x44]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov dword [rsp + 0x40], 0x80004005
cmp dword [rsp + 0x40], 0
jne 0x140004181
cmp dword [rsp + 0x48], 0
jne 0x140004170
jmp 0x140004181
cmp dword [rsp + 0x50], 0
jne 0x140004179
jmp 0x140004181
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xaa0]
xor rcx, rsp
call fcn.140004320
add rsp, 0xab0
pop rdi
ret
Function at 0x1400041a0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea rax, str.amppal.inf
mov qword [rsp + 0x48], rax
lea rax, str.root_amppal
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
lea rdx, str.install
mov rcx, qword [rsp + 0x50]
call fcn.1400043e8
test eax, eax
jne 0x140004277
cmp qword [rsp + 0x48], 0
je 0x14000426d
cmp qword [rsp + 0x40], 0
je 0x14000426d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.1400034f0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
jne 0x140004262
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [0x140012ee0]
lea rdx, [0x140012f18]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
jmp 0x140004301
mov eax, dword [rsp + 0x30]
jmp 0x140004301
mov eax, 0x80004005
jmp 0x140004301
lea rdx, str.remove
mov rcx, qword [rsp + 0x50]
call fcn.1400043e8
test eax, eax
jne 0x1400042fc
cmp qword [rsp + 0x40], 0
je 0x1400042f5
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.140003f80
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 1
jne 0x1400042ed
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.InstallHsBluetoothReboot
lea rdx, str.SoftwareIntel
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
jmp 0x140004301
mov eax, dword [rsp + 0x34]
jmp 0x140004301
mov eax, 0x80004005
jmp 0x140004301
mov eax, 0x80004005
add rsp, 0x68
ret

Function at 0x1400078a4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000770c
Function at 0x140001e70
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x1b8
mov rax, qword [0x1400f1290]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
lea rax, str.ENCWCHAR_SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_firefox.exe
mov qword [rsp + 0x188], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x1a0], 0
jmp 0x140001ec2
mov eax, dword [rsp + 0x1a0]
inc eax
mov dword [rsp + 0x1a0], eax
movsxd rax, dword [rsp + 0x1a0]
cmp rax, 1
jae 0x140001f13
movsxd rax, dword [rsp + 0x1a0]
movsxd rcx, dword [rsp + 0x1a0]
mov dword [rsp + 0x28], 0x96
mov rax, qword [rsp + rax*8 + 0x180]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 8
mov edx, dword [0x1400f36f4]
mov rcx, qword [rsp + rcx*8 + 0x188]
call fcn.14000e1b0
jmp 0x140001eb2
mov dword [rsp + 0x190], 0xfffe
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x198], rax
cmp qword [rsp + 0x198], 0
je 0x140001f9f
lea rax, [rsp + 0x190]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x10000002
lea r8, [0x1400d6918]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140001f91
mov rax, qword [rsp + 0x198]
jmp 0x140001fa1
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1400c2a80
add rsp, 0x1b8
ret
Function at 0x140001fc0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub rsp, 0x188
mov rax, qword [0x1400f1290]
xor rax, rsp
mov qword [rsp + 0x178], rax
lea rax, [0x1400d6928]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x138], 0
jmp 0x14000200f
mov eax, dword [rsp + 0x138]
inc eax
mov dword [rsp + 0x138], eax
movsxd rax, dword [rsp + 0x138]
cmp rax, 1
jae 0x14000205d
movsxd rax, dword [rsp + 0x138]
movsxd rcx, dword [rsp + 0x138]
mov dword [rsp + 0x28], 0x64
mov rax, qword [rsp + rax*8 + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 8
mov edx, dword [0x1400f36f4]
mov rcx, qword [rsp + rcx*8 + 0x120]
call fcn.14000e1b0
jmp 0x140001fff
mov dword [rsp + 0x128], 0
call fcn.140001e70
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 0
je 0x140002276
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x140], rax
cmp qword [rsp + 0x140], 0
je 0x140002268
mov r9, qword [rsp + 0x130]
lea r8, [rsp + 0x50]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x140]
call fcn.1400c2880
mov qword [rsp + 0x148], 0xffffffffffffffff
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x80000000
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0x148], 0xffffffffffffffff
je 0x14000225a
mov edx, 0x148
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x150], 0
je 0x14000224c
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x158]
mov r8d, 0x148
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x158]
cmp rax, 0x148
jne 0x14000223e
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x14000223e
mov rax, qword [rsp + 0x160]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
cmp dword [rax], 0x4550
jne 0x14000223e
mov rax, qword [rsp + 0x168]
add rax, 0x18
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
movzx eax, word [rax]
cmp eax, 0x20b
jne 0x140002214
mov dword [rsp + 0x128], 0x40
jmp 0x14000223e
mov rax, qword [rsp + 0x170]
movzx eax, word [rax]
cmp eax, 0x10b
jne 0x140002233
mov dword [rsp + 0x128], 0x20
jmp 0x14000223e
mov dword [rsp + 0x128], 0
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rsp + 0x128]
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1400c2a80
add rsp, 0x188
ret
Function at 0x1400022a0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x368
mov rax, qword [0x1400f1290]
xor rax, rsp
mov qword [rsp + 0x358], rax
lea rax, str.ENCCHAR_NSS_Init
mov qword [rsp + 0x120], rax
lea rax, str.ENCCHAR_NSS_Shutdown
mov qword [rsp + 0x128], rax
lea rax, str.ENCCHAR_PK11_GetInternalKeySlot
mov qword [rsp + 0x130], rax
lea rax, str.ENCCHAR_PK11_FreeSlot
mov qword [rsp + 0x138], rax
lea rax, str.ENCCHAR_PK11_Authenticate
mov qword [rsp + 0x140], rax
lea rax, str.ENCCHAR_PK11SDR_Decrypt
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x1c8], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x1d0], rax
lea rax, [rsp + 0x200]
mov qword [rsp + 0x1d8], rax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x1e0], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x1e8], rax
lea rax, [rsp + 0x270]
mov qword [rsp + 0x1f0], rax
mov dword [rsp + 0x350], 0
jmp 0x140002392
mov eax, dword [rsp + 0x350]
inc eax
mov dword [rsp + 0x350], eax
movsxd rax, dword [rsp + 0x350]
cmp rax, 6
jae 0x1400023e3
movsxd rax, dword [rsp + 0x350]
movsxd rcx, dword [rsp + 0x350]
mov dword [rsp + 0x28], 0x64
mov rax, qword [rsp + rax*8 + 0x1c8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 7
mov edx, dword [0x1400f36f8]
mov rcx, qword [rsp + rcx*8 + 0x120]
call fcn.14000e6a0
jmp 0x140002382
mov rcx, qword [rsp + 0x370]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x1c0], rax
cmp qword [rsp + 0x1c0], 0
je 0x1400024c8
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f2af8], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f3648], rax
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f2ae0], rax
lea rdx, [rsp + 0x2e0]
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f2af0], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f3640], rax
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f2ae8], rax
mov eax, 1
jmp 0x1400024ca
xor eax, eax
mov rcx, qword [rsp + 0x358]
xor rcx, rsp
call fcn.1400c2a80
add rsp, 0x368
ret
Function at 0x140003e70
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x2058
call fcn.1400c2ab0
sub rsp, rax
mov rax, qword [0x1400f1290]
xor rax, rsp
mov qword [rsp + 0x2040], rax
mov dword [rsp + 0x58], 0x1fa0
mov qword [rsp + 0x60], 0
lea rax, [0x1400d66fe]
mov qword [rsp + 0x2020], rax
mov r8d, 0x1fa0
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.1400c2980
mov rcx, qword [rsp + 0x2060]
call fcn.1400c3040
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x80]
mov r8d, 1
mov edx, eax
mov rcx, qword [rsp + 0x2060]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x14000401b
call qword [0x1400f2ae0]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x14000400c
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x60]
call qword [0x1400f3640]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x140003ff0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x2030], 0
mov qword [rsp + 0x2038], 0
xor r8d, r8d
lea rdx, [rsp + 0x2028]
lea rcx, [rsp + 0x40]
call qword [0x1400f2ae8]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x140003fdf
mov r8, qword [rsp + 0x2038]
mov rdx, qword [rsp + 0x2030]
lea rcx, [rsp + 0x80]
call fcn.1400c2b10
mov rax, qword [rsp + 0x2038]
mov byte [rsp + rax + 0x80], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x2020], rax
jmp 0x140003fee
lea rax, str.PKllSDRDecrypt___error
mov qword [rsp + 0x2020], rax
jmp 0x140003fff
lea rax, str.PKllAuthenticate___error
mov qword [rsp + 0x2020], rax
mov rcx, qword [rsp + 0x60]
call qword [0x1400f2af0]
jmp 0x14000401b
lea rax, str.PKllGetInternalKeySlot___error
mov qword [rsp + 0x2020], rax
mov rax, qword [rsp + 0x2020]
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.1400c2a80
add rsp, 0x2058
ret
Function at 0x1400040d0
Capabilities:
Copy file
Get common file path

Disassembly:
sub rsp, 0x2f8
mov rax, qword [0x1400f1290]
xor rax, rsp
mov qword [rsp + 0x2e8], rax
lea rax, [0x1400d6e38]
mov qword [rsp + 0x2b0], rax
lea rax, str.ENCWCHAR_GoogleChromeUser_DataDefaultLogin_Data
mov qword [rsp + 0x2b8], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x2a0], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x2a8], rax
mov dword [rsp + 0x2c8], 0
jmp 0x140004141
mov eax, dword [rsp + 0x2c8]
inc eax
mov dword [rsp + 0x2c8], eax
movsxd rax, dword [rsp + 0x2c8]
cmp rax, 2
jae 0x140004192
movsxd rax, dword [rsp + 0x2c8]
movsxd rcx, dword [rsp + 0x2c8]
mov dword [rsp + 0x28], 0x96
mov rax, qword [rsp + rax*8 + 0x2a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 8
mov edx, dword [0x1400f36f4]
mov rcx, qword [rsp + rcx*8 + 0x2b0]
call fcn.14000e1b0
jmp 0x140004131
mov edx, 0x10000
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x2c0], rax
cmp qword [rsp + 0x2c0], 0
je 0x140004326
mov rdx, qword [rsp + 0x2c0]
mov ecx, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140004318
mov edx, 0x10000
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x2d0], rax
cmp qword [rsp + 0x2d0], 0
je 0x140004318
mov r9, qword [rsp + 0x2c0]
lea r8, [rsp + 0x170]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x2d0]
call fcn.1400c2880
mov qword [rsp + 0x2d8], 0
lea r9, [rsp + 0x2d8]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400df860]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x14000430a
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x2e0], rax
cmp qword [rsp + 0x2e0], 0
je 0x1400042fc
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x2d8]
lea r8, [0x1400d6ed0]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x2e0]
call fcn.1400c2880
xor r8d, r8d
mov rdx, qword [rsp + 0x2d0]
mov rcx, qword [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
jne 0x1400042ee
mov rcx, qword [rsp + 0x2d8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x2d0]
jmp 0x140004328
mov rcx, qword [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x2d8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rcx, qword [rsp + 0x2e8]
xor rcx, rsp
call fcn.1400c2a80
add rsp, 0x2f8
ret