joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400097f0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x140031920]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea r8, [0x140022780]
mov rdi, rdx
mov rbx, rcx
call fcn.140008d10
test al, al
jne 0x14000984d
mov r9d, 0x200
lea r8, [rsp + 0x20]
mov rdx, rdi
mov rcx, rbx
call fcn.140009c78
test al, al
je 0x14000984d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.14000bfa0
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret

Function at 0x140009870
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x140031920]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
call fcn.140008d10
test al, al
jne 0x1400098f6
mov r9d, 0x200
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, rbx
call fcn.140009c78
test al, al
je 0x1400098f6
lea rax, [rsp + 0x30]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400098f6
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.140008be0
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14000bfa0
add rsp, 0x450
pop rdi
pop rsi
pop rbx
ret

Function at 0x140009914
Capabilities:
Delete registry value

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140009870

Function at 0x140009944
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
movsxd rdi, r9d
lea rax, [r11 - 0x10]
mov r9, rdi
mov qword [r11 - 0x28], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
call fcn.1400090b4
mov r9, qword [rsp + 0x38]
mov dword [rsp + 0x30], r9d
test al, al
je 0x140009987
mov eax, r9d
jmp 0x1400099e8
mov rdx, rbx
mov rcx, rsi
call fcn.140009cdc
mov dword [rsp + 0x68], 4
mov rsi, rax
test rax, rax
je 0x1400099e6
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, rsi
sete bl
call fcn.140008be0
test bl, bl
je 0x1400099e6
cmp dword [rsp + 0x68], 0
je 0x1400099e6
mov edi, dword [rsp + 0x30]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x140009944
Function at 0x140009a00
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
movsxd rdi, r9d
lea rax, [r11 - 0x10]
mov r9, rdi
mov qword [r11 - 0x28], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
call fcn.1400090b4
mov r9, qword [rsp + 0x38]
mov dword [rsp + 0x30], r9d
test al, al
je 0x140009987
mov eax, r9d
jmp 0x1400099e8
mov rdx, rbx
mov rcx, rsi
call fcn.140009cdc
mov dword [rsp + 0x68], 4
mov rsi, rax
test rax, rax
je 0x1400099e6
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, rsi
sete bl
call fcn.140008be0
test bl, bl
je 0x1400099e6
cmp dword [rsp + 0x68], 0
je 0x1400099e6
mov edi, dword [rsp + 0x30]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x140009944

Function at 0x140009a18
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x858
mov rax, qword [0x140031920]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov r14, qword [rsp + 0x8c0]
mov rbx, r9
mov esi, dword [rsp + 0x8c8]
lea r9, [rsp + 0x40]
mov r12, r8
mov qword [rsp + 0x20], 0x400
mov rbp, rdx
mov rdi, rcx
call fcn.140009420
xor r13d, r13d
test al, al
jne 0x140009a8d
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call fcn.140008340
cmp byte [0x1400312a9], r13b
sete al
jmp 0x140009aae
lea rcx, [rsp + 0x40]
call fcn.140009140
test rax, rax
mov r8, rsi
mov rcx, rbx
cmove rax, r14
mov rdx, rax
call fcn.140008340
mov al, 1
test al, al
je 0x140009ab9
mov al, 1
jmp 0x140009b3c
mov rdx, rbp
mov rcx, rdi
call fcn.140009cdc
mov rbp, rax
mov dil, r13b
test rax, rax
je 0x140009b2b
lea ecx, [rsi + rsi]
xor r8d, r8d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov rcx, rbp
mov qword [rsp + 0x20], rbx
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, rbp
sete dil
call fcn.140008be0
test dil, dil
je 0x140009b2b
mov ecx, dword [rsp + 0x30]
shr ecx, 1
test esi, esi
jne 0x140009b1c
mov word [rbx], r13w
jmp 0x140009b39
lea eax, [rsi - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rbx + rax*2], r13w
jmp 0x140009b39
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.140008340
mov al, dil
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000bfa0
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140009d88
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x858
mov rax, qword [0x140031920]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rbx, r9
mov qword [rsp + 0x20], 0x400
lea r9, [rsp + 0x40]
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
call fcn.140009420
test al, al
jne 0x140009dd4
cmp byte [0x1400312a9], al
sete al
jmp 0x140009de9
mov r8d, 1
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.140008c50
mov al, 1
test al, al
je 0x140009df1
xor eax, eax
jmp 0x140009e48
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call fcn.14000953c
mov rdi, rax
test rax, rax
je 0x140009e42
mov rcx, rbx
call fcn.14000fc28
mov r9d, 1
xor r8d, r8d
mov rdx, rbp
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140008be0
jmp 0x140009e46
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000bfa0
add rsp, 0x858
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140009e64
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov r9d, r9d
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.1400094b8
test al, al
je 0x140009e91
xor eax, eax
jmp 0x140009edf
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14000953c
mov rdi, rax
test rax, rax
je 0x140009ed9
mov r9d, 4
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140008be0
jmp 0x140009edd
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140009ef0
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140009d88

Function at 0x140009f08
Capabilities:
Set registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140009e64

Function at 0x14000a3dc
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14000a594
Capabilities:
Copy file
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1030
call fcn.14000bf30
sub rsp, rax
mov rax, qword [0x140031920]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
mov esi, 0x800
mov edx, esi
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.140005da0
mov r9d, esi
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140006110
lea rcx, [rsp + 0x20]
call fcn.140004cf0
xor edi, edi
test al, al
jne 0x14000a651
mov r8d, esi
mov word [rsp + 0x20], di
lea rdx, [rsp + 0x20]
lea rcx, str.sfxname
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14000a651
cmp word [rsp + 0x20], di
je 0x14000a651
mov r8d, esi
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140006250
lea rcx, [rsp + 0x20]
call fcn.140004cf0
test al, al
je 0x14000a653
mov r8d, 1
lea rcx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov al, 1
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000bfa0
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14000a678
Capabilities:
Copy file
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str.rarreg.key
call fcn.14000a594
test al, al
jne 0x14000a698
lea rcx, str.rarreg.txt
call fcn.14000a594
lea rcx, str.winrar.ini
add rsp, 0x28
jmp fcn.14000a594
Function at 0x14000b868
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.14000fc28
mov rbx, rax
lea rcx, [rax*2 + 4]
call fcn.1400126dc
mov rdi, rax
test rax, rax
je 0x14000b8d4
lea r8, [rbx + 1]
mov rdx, rax
mov rcx, rsi
call fcn.1400088e8
mov rcx, rdi
call fcn.1400128b0
mov r8, rax
mov r9, rbp
mov edx, 1
mov rcx, rdi
call fcn.140012658
mov rcx, rdi
call fcn.14000fc20
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b8ec
Capabilities:
Accept command line arguments
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x890
mov rax, qword [0x140031920]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov rbx, rcx
mov cl, 1
call fcn.1400085a8
xor r8d, r8d
lea rcx, [0x1400344d0]
mov rdx, rbx
call fcn.140007c64
lea rdx, str.uninstall.lng
lea rcx, [0x1400344e0]
call fcn.140006cdc
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
lea rcx, str.riched20.dll
call fcn.140008530
mov rcx, qword [0x140034490]
lea rdx, str.RARICON
mov rbx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
xor edi, edi
mov qword [0x14003a7d0], rax
test rax, rax
jne 0x14000b997
mov rcx, qword [0x140034498]
cmp rcx, qword [0x140034490]
je 0x14000b997
lea rdx, str.RARICON
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [0x14003a7d0], rax
mov ecx, 0xfffffff4
call fcn.14000a3a4
mov ecx, eax
xor r9d, r9d
lea rax, str.MS_Shell_Dlg
xor r8d, r8d
mov qword [rsp + 0x68], rax
xor edx, edx
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x2bc
call qword [sym.imp.GDI32.dll_CreateFontW]
mov r8d, 0x400
mov byte [rsp + 0x70], dil
lea rdx, [rsp + 0x80]
mov qword [0x14003a7d8], rax
lea rcx, str.sfxcmd
mov byte [rsp + 0x71], dil
mov word [rsp + 0x80], di
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r9, [rsp + 0x71]
mov cl, 1
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x80]
call fcn.14000aa58
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r9, [rsp + 0x71]
xor ecx, ecx
mov rdx, rax
lea r8, [rsp + 0x70]
call fcn.14000aa58
cmp byte [rsp + 0x70], dil
je 0x14000bb17
mov rcx, qword [0x140034490]
lea r9, [0x14000acf0]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.SETUPDLG
call qword [sym.imp.USER32.dll_DialogBoxParamW]
test rax, rax
je 0x14000bb17
call fcn.14000a678
mov al, byte [0x14003b831]
test al, al
jne 0x14000babb
mov rcx, qword [0x140034490]
lea r9, [0x14000a7b0]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.DONEDLG
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov al, byte [0x14003b831]
cmp word [0x14003a7e0], di
je 0x14000bb17
cmp byte [0x14003b830], dil
jne 0x14000bb17
test al, al
jne 0x14000bb17
cmp byte [0x14003b832], dil
jne 0x14000bb17
lea rcx, [0x14003a7e0]
call fcn.140004cf0
test al, al
je 0x14000bb17
lea rax, [0x140022780]
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [0x14003a7e0]
xor ecx, ecx
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp byte [rsp + 0x71], dil
je 0x14000bb23
call fcn.14000b1b8
test rbx, rbx
je 0x14000bb31
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.ole32.dll_OleUninitialize]
mov rcx, qword [0x14003a7d8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14003a7d0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x14003b834]
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.14000bfa0
mov rbx, qword [rsp + 0x8a8]
add rsp, 0x890
pop rdi
ret
Function at 0x1400194cc
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1400194a9
call fcn.140015f98
mov dword [rax], 0x16
call fcn.140015e04
or eax, 0xffffffff
jmp 0x1400194c6
sub dword [rcx + 0x10], 1
jns 0x1400194b8
add rsp, 0x28
jmp 0x14001f164
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140019488
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 0x14001f004
call fcn.140015f98
mov dword [rax], 0x16
call fcn.140015e04
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 0x14001efec
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14001efec
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14001f036
lock or dword [rax + 0x14], 0x10
jmp 0x14001efec
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14001f053
mov rcx, qword [rbp + 0x10]
call fcn.14001e324
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140017518
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14001f69c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14001f0aa
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 0x14001efec
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14001f116
mov rcx, qword [rbp + 0x10]
call fcn.140017518
cmp eax, 0xffffffff
je 0x14001f0fd
mov rcx, qword [rbp + 0x10]
call fcn.140017518
cmp eax, 0xfffffffe
je 0x14001f0fd
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140017518
movsxd rdi, eax
lea rsi, [0x14003c1a0]
mov rcx, rbx
sar rdi, 6
call fcn.140017518
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14001f104
lea rax, [0x140031c00]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001f116
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14001f14c
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14001f148
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14001f148
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 0x14001efef
jmp 0x14001efbc
Function at 0x14000139c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140014fc0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rcx, qword [0x140015058]
test rcx, rcx
je 0x1400013f3
mov rdi, qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rsi, [rsp + 0x2c]
mov edx, 8
mov r8d, 0x40
mov r9, rsi
call rdi
mov qword [0x140015058], 0
mov r8d, dword [rsi]
mov edx, 8
xor ecx, ecx
mov r9, rsi
call rdi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14000b560
nop
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x140001408
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rax, qword [0x140014fc0]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.VirtualAlloc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140015058], rax
lea rsi, [0x140015058]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rdi, [rsp + 0x24]
mov edx, 8
mov rcx, rsi
mov r8d, 0x40
mov r9, rdi
call rbx
lea rax, [0x140001392]
mov qword [0x140015058], rax
mov r8d, dword [rdi]
mov edx, 8
mov rcx, rsi
mov r9, rdi
call rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14000b560
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140001d4f
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x128
mov rsi, rcx
mov rax, qword [0x140014fc0]
xor rax, rsp
mov qword [rsp + 0x120], rax
lea rdi, [rsp + 0x20]
mov ecx, 0x100
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov rcx, rsi
mov rdx, rdi
call fcn.140001250
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14000b560
mov rax, rsi
add rsp, 0x128
pop rdi
pop rsi
ret
Function at 0x140004019
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r8, rdx
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x14000402e
test r8, r8
je 0x140004058
xor r9d, r9d
movabs r10, 0x100000001b3
movzx eax, byte [rdx + r9]
xor rax, rcx
imul rax, r10
inc r9
mov rcx, rax
cmp r8, r9
jne 0x140004040
ret
mov rax, rcx
ret

Function at 0x140006912
Capabilities:
Parse credit card information

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov ebp, edx
mov rsi, rcx
mov edi, 1
cmp edx, 0x3a
je 0x140006941
xor edi, edi
cmp ebp, 0x3d
je 0x140006941
xor eax, eax
cmp ebp, 0x2e
mov edi, 0xe
cmove edi, eax
mov rbx, qword [rsi]
xor r14d, r14d
movabs r15, 0x4800800000000001
mov eax, dword [rsi + 0x7c]
lea ecx, [rax + 1]
cmp ecx, 0x3e
ja 0x140006962
bt r15, rcx
jb 0x14000696f
mov rcx, rsi
call fcn.1400052c4
inc r14
jmp 0x140006951
cmp eax, ebp
jne 0x1400069c1
cmp ebp, 0x3a
jne 0x1400069ef
mov r14, qword [rsi + 0x68]
mov ecx, dword [rsi + 0x70]
mov edx, 0x100
call fcn.140004416
test eax, eax
setne r9b
mov r8, qword [rsi]
mov rcx, r14
mov rdx, rbx
call fcn.140005e88
mov ebx, eax
test ax, ax
jne 0x1400069b1
mov rcx, rsi
mov edx, 1
call fcn.140004ea6
lea rcx, [rsi + 0x40]
mov edx, ebx
xor r8d, r8d
call fcn.140006000
jmp 0x1400069cb
mov rcx, rsi
mov edx, edi
call fcn.140004ea6
mov rcx, rsi
call fcn.1400052c4
mov rcx, rsi
mov edx, 0x5d
mov r8d, edi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140005544
cmp ebp, 0x2e
je 0x140006a12
cmp ebp, 0x3d
jne 0x1400069cb
mov r8, qword [rsi]
cmp rbx, r8
je 0x140006a2b
lea rcx, [rsi + 0x40]
mov rdx, rbx
mov r9, r14
call fcn.140006a32
jmp 0x1400069cb
mov r8, qword [rsi]
cmp rbx, r8
je 0x140006a2b
lea rcx, [rsi + 0x40]
mov rdx, rbx
mov r9, r14
call fcn.140006b2e
jmp 0x1400069cb
mov rcx, rsi
xor edx, edx
jmp 0x1400069c6

Function at 0x14000b23c
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx], 0
je 0x14000b26d
mov eax, 0x75776791
mov edx, 1
xor r8d, r8d
movzx r8d, word [r8 + rcx]
mov r9d, eax
rol r9d, 0x18
add r9d, r8d
xor eax, r9d
mov r8d, edx
inc edx
cmp byte [rcx + r8], 0
jne 0x14000b24e
ret
mov eax, 0x75776791
ret
Function at 0x14000b273
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov eax, 1
cmp dword [0x140015070], 0
jne 0x14000b42a
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14000b3a2
xor r8d, r8d
mov ecx, 0xdfdfdfdf
mov rbx, rdx
movsxd rdx, dword [rdx + 0x3c]
mov edx, dword [rdx + rbx + 0x88]
test rdx, rdx
je 0x14000b2ff
mov r8d, dword [rdx + rbx + 0xc]
add rdx, rbx
mov r9d, dword [r8 + rbx]
and r9d, ecx
cmp r9d, 0x4c44544e
jne 0x14000b2fc
mov r9d, dword [r8 + rbx + 4]
and r9d, ecx
mov r8, rdx
cmp r9d, 0x4c440e4c
jne 0x14000b2ff
jmp 0x14000b317
mov r8, rdx
mov rax, qword [rax]
mov rdx, qword [rax + 0x30]
test rdx, rdx
jne 0x14000b2bb
mov rdx, r8
test r8, r8
je 0x14000b3a2
mov r14d, dword [rdx + 0x18]
mov r15d, dword [rdx + 0x1c]
add r15, rbx
mov r12d, dword [rdx + 0x20]
add r12, rbx
mov r13d, dword [rdx + 0x24]
add r13, rbx
lea ebp, [r14 - 1]
xor edi, edi
lea rsi, [0x140015070]
mov ecx, dword [r12 + rbp*4]
movzx eax, word [rcx + rbx]
cmp eax, 0x775a
jne 0x14000b37f
add rcx, rbx
call fcn.14000b23c
mov ecx, edi
shl rcx, 4
mov dword [rcx + rsi + 8], eax
movzx eax, word [r13 + rbp*2]
mov eax, dword [r15 + rax*4]
mov dword [rcx + rsi + 0xc], eax
mov qword [rcx + rsi + 0x10], 0
inc edi
cmp edi, 0x258
je 0x14000b3a9
dec r14d
dec rbp
test r14d, r14d
jne 0x14000b33d
mov dword [0x140015070], edi
mov r15d, edi
dec r15d
mov eax, 1
jne 0x14000b3c3
jmp 0x14000b42a
xor eax, eax
jmp 0x14000b42a
mov dword [0x140015070], 0x258
mov edi, 0x258
mov r15d, 0x257
mov eax, 1
xor ecx, ecx
lea rdx, [0x140015090]
mov r8d, r15d
mov r8d, r8d
inc ecx
cmp edi, ecx
je 0x14000b422
mov r10d, dword [0x14001507c]
mov r9, r8
mov r11, rdx
mov esi, dword [r11 - 4]
cmp r10d, esi
jbe 0x14000b416
mov ebx, dword [r11 - 0x18]
mov r14, qword [r11 - 0x10]
mov ebp, dword [r11 - 8]
mov dword [r11 - 0x18], ebp
mov dword [r11 - 0x14], esi
mov rsi, qword [r11]
mov qword [r11 - 0x10], rsi
mov dword [r11 - 8], ebx
mov dword [r11 - 4], r10d
mov qword [r11], r14
jmp 0x14000b419
mov r10d, esi
add r11, 0x10
dec r9
jne 0x14000b3e5
dec r8d
cmp ecx, r15d
jne 0x14000b3cf
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14000b490
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x8395cb5a
call fcn.14000b43b
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret