joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002b130
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10090
call fcn.140057650
sub rsp, rax
mov rax, qword [0x14006f040]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x80], bp
mov word [rsp + 0x30], bp
lea edi, [rbp + 0x28]
test al, al
je 0x14002b1e2
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.14004b1dc
cmp rax, 1
jne 0x14002b23e
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14002b1bf
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14002b1b3
cmp rcx, 1
jb 0x14002b23e
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14002b180
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14002b213
lea rcx, [rsp + 0x80]
call fcn.14004c71c
jmp 0x14002b215
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.14003b8e0
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14003fed0
int3

Function at 0x14002b250
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14006f040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebp, ebp
lea rsi, str.NUITKA_PYTHONPATH
mov word [rsp + 0x30], bp
lea rbx, [rsp + 0x30]
mov al, 0x4e
lea edi, [rbp + 0x28]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.14004b1dc
cmp rax, 1
jne 0x14002b325
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14002b2cc
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14002b2c0
cmp rcx, 1
jb 0x14002b325
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14002b291
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14003b8e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14003fed0
int3
Function at 0x14003c2b4
Capabilities:
Parse pe header

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

Function at 0x140040230
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14004009b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004009b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004009b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004009b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004009b
cmp dword [rcx + 0x84], 0xe
jbe 0x14004009b
cmp dword [rcx + 0xf8], 0
je 0x14004009b
mov ecx, ebx
call fcn.14004014c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14003ff28
nop
cmp dword [rbp + 0x20], 0
je 0x1400400e9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400400f4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14004002c
Function at 0x140051130
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400511b7
mov rsi, rbx
cmp word [rax], bp
je 0x140051176
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140051160
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14005115c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14004ed38
mov rdi, rax
test rax, rax
je 0x1400511a4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140057cb0
mov rbp, rdi
xor ecx, ecx
call fcn.14004cd88
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400538bc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400538d2
mov al, 1
jmp 0x140053932
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400538e3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140053930
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400518d4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140053930
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140053930
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140053930
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140053932
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140057560
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140057588
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140057588
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x48], 0x6c64746e
mov dword [rsp + 0x4c], 0x6c642e6c
mov word [rsp + 0x50], 0x6c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
jne 0x1400010db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetModuleHandleA_failed_with_error:__d_n
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001280
add rsp, 0x60
pop rbx
ret
lea rdx, str.NtAllocateVirtualMemory
mov qword [rsp + 0x80], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x140001119
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetProcAddress_for_NtAllocateVirtualMemory_failed_with_error:__d_n
call fcn.140001010
mov eax, 1
jmp 0x140001252
lea rdx, str.NtProtectVirtualMemory
mov qword [rsp + 0x70], rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
jne 0x140001154
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetProcAddress_for_NtProtectVirtualMemory_failed_with_error:__d_n
call fcn.140001010
mov eax, 1
jmp 0x14000124d
xor ebx, ebx
mov qword [rsp + 0x38], 0x1000
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 4
lea r9, [rsp + 0x38]
mov rcx, rax
mov dword [rsp + 0x20], 0x3000
xor r8d, r8d
lea rdx, [rsp + 0x30]
call rdi
test eax, eax
je 0x1400011a8
mov edx, eax
lea rcx, str.NtAllocateVirtualMemory_failed:_0x_x_n
call fcn.140001010
mov eax, 1
jmp 0x14000124d
mov rdx, qword [rsp + 0x30]
lea rcx, str.Memory_allocated_at:__p_n
mov qword [rsp + 0x78], rsi
call fcn.140001010
mov rdi, qword [rsp + 0x30]
lea rsi, str.e48348fc_e8f0_00c0_0000_415141505251
nop word [rax + rax]
mov rcx, qword [rsi]
mov rdx, rdi
call qword [sym.imp.RPCRT4.dll_UuidFromStringA]
test eax, eax
jne 0x140001235
add rdi, 0x10
inc ebx
add rsi, 8
cmp ebx, 0x1d
jb 0x1400011d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x20
lea r8, [rsp + 0x38]
mov rcx, rax
lea rdx, [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call rbp
test eax, eax
je 0x140001221
lea rcx, str.NtProtectVirtualMemory_failed:_0x_x_n
jmp 0x14000123c
lea rcx, str.Memory_protection_changed_n
call fcn.140001010
call qword [rsp + 0x30]
xor eax, eax
jmp 0x140001248
lea rcx, str.UuidFromStringA_failed:__d_n
mov edx, eax
call fcn.140001010
mov eax, 1
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001280
add rsp, 0x60
pop rbx
ret
Function at 0x140001020
Capabilities:
Encode data using base64

Disassembly:
push rsi
push r15
sub rsp, 0x18
xor r15d, r15d
mov rsi, r8
mov r9, rcx
mov eax, r15d
mov r11d, r15d
test edx, edx
je 0x140001178
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
lea ebp, [r15 + 2]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x10], r14
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov edi, edx
movzx edx, byte [r9]
mov ecx, eax
inc eax
mov dword [rsp + rcx*4], edx
mov r10d, dword [rsp + 4]
mov r8d, dword [rsp]
cmp eax, 3
jne 0x1400010e8
mov rax, qword [rsp]
mov edx, r10d
shr rax, 2
and eax, 0x3f
shr edx, 4
mov ecx, r11d
and edx, 0xf
add r11d, 4
movzx eax, byte [rax + r14]
mov byte [rcx + rsi], al
lea ecx, [rbp - 1]
mov eax, r8d
and eax, 3
shl eax, 4
add edx, eax
movzx eax, byte [rdx + r14]
mov rdx, qword [rsp + 8]
mov byte [rcx + rsi], al
and edx, 0x3f
mov ecx, dword [rsp + 8]
mov eax, r10d
and eax, 0xf
shr ecx, 6
and ecx, 3
lea eax, [rcx + rax*4]
mov ecx, ebp
movzx eax, byte [rax + r14]
mov byte [rcx + rsi], al
lea ecx, [rbp + 1]
movzx eax, byte [rdx + r14]
add ebp, 4
mov byte [rcx + rsi], al
mov eax, r15d
inc r9
mov ebx, r11d
sub rdi, 1
jne 0x140001060
mov rdi, qword [rsp + 0x40]
mov r11d, ebx
mov rbp, qword [rsp + 0x38]
test eax, eax
je 0x14000116e
cmp eax, 1
lea edx, [rbx + 1]
cmove r10d, r15d
and r8d, 3
shl r8d, 4
mov dword [rsp + 4], r10d
mov rcx, qword [rsp]
shr rcx, 2
and ecx, 0x3f
movzx ecx, byte [rcx + r14]
mov byte [rbx + rsi], cl
mov ecx, r10d
shr ecx, 4
and ecx, 0xf
add ecx, r8d
movzx ecx, byte [rcx + r14]
mov byte [rdx + rsi], cl
lea edx, [rbx + 2]
cmp eax, 2
jne 0x14000115e
and r10d, 0xf
shl r10d, 2
movzx ecx, byte [r10 + r14]
jmp 0x140001160
mov cl, 0x3d
lea eax, [rbx + 3]
mov byte [rdx + rsi], cl
mov byte [rax + rsi], 0x3d
lea r11d, [rbx + 4]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x10]
mov ecx, r11d
mov eax, r11d
mov byte [rcx + rsi], r15b
add rsp, 0x18
pop r15
pop rsi
ret

Function at 0x1400028b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov rdi, rdx
mov r11, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov esi, dword [r8 + 0x1c]
mov ebp, dword [r8 + 0x24]
add rsi, rcx
mov r10d, dword [r8 + 0x20]
add rbp, rcx
mov ebx, dword [r8 + 0x18]
add r10, rcx
test ebx, ebx
je 0x140002933
nop dword [rax]
mov r8d, dword [r10]
mov rax, rdi
add r8, r11
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140002923
inc rax
test ecx, ecx
jne 0x140002910
test edx, edx
je 0x14000294a
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x140002900
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x140002935
Function at 0x140002960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r13, rcx
xor ebx, ebx
lea rcx, str.ntdll.dll
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbp, rax
mov edi, ebx
movsxd rcx, dword [rax + 0x3c]
mov edx, dword [rcx + rax + 0x88]
add rdx, rax
mov r15d, dword [rdx + 0x1c]
mov r12d, dword [rdx + 0x24]
add r15, rax
mov esi, dword [rdx + 0x20]
add r12, rax
mov r14d, dword [rdx + 0x18]
add rsi, rax
test r14d, r14d
je 0x1400029f6
mov edx, dword [rsi]
lea rcx, str.RtlInitUnicodeString
add rdx, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140002a8c
inc edi
add rsi, 4
cmp edi, r14d
jb 0x1400029d2
mov rax, rbx
mov rdx, r13
lea rcx, [rsp + 0x28]
call rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
movsxd rcx, dword [rax + 0x3c]
mov edx, dword [rcx + rax + 0x88]
add rdx, rax
mov r14d, dword [rdx + 0x1c]
mov r15d, dword [rdx + 0x24]
add r14, rax
mov edi, dword [rdx + 0x20]
add r15, rax
mov ebp, dword [rdx + 0x18]
add rdi, rax
test ebp, ebp
je 0x140002a5f
nop dword [rax]
mov edx, dword [rdi]
lea rcx, str.LdrLoadDll
add rdx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140002a9f
inc ebx
add rdi, 4
cmp ebx, ebp
jb 0x140002a40
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140014650
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, edi
movzx ecx, word [r12 + rax*2]
mov eax, dword [r15 + rcx*4]
add rax, rbp
jmp 0x1400029f9
mov eax, ebx
movzx ecx, word [r15 + rax*2]
mov eax, dword [r14 + rcx*4]
add rax, rsi
je 0x140002a5f
lea r9, [rsp + 0x20]
xor edx, edx
lea r8, [rsp + 0x28]
xor ecx, ecx
call rax
mov rax, qword [rsp + 0x20]
jmp 0x140002a61
Function at 0x140003320
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r15, 0xffffffffffffffff
movsxd r14, r8d
mov r9, r15
lea rsi, str.SCIENTIAE
mov rbp, rdx
inc r9
cmp byte [rsi + r9], 0
jne 0x140003364
xor ebx, ebx
lea rcx, [rsp + 0x20]
mov r8d, ebx
mov eax, ebx
nop word [rax + rax]
mov byte [rcx], al
lea rcx, [rcx + 1]
inc eax
cmp eax, 0x100
jl 0x140003380
mov r10d, ebx
lea r11, [rsp + 0x20]
nop word [rax + rax]
movzx edi, byte [r11]
mov eax, r10d
cdq
idiv r9d
movsxd rax, edx
movsx ecx, byte [rax + rsi]
add r8d, ecx
add r8d, edi
and r8d, 0x800000ff
jge 0x1400033ce
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rax, r8d
lea rcx, [rsp + 0x20]
add rcx, rax
inc r10d
movzx eax, byte [rcx]
mov byte [r11], al
inc r11
mov byte [rcx], dil
cmp r10d, 0x100
jl 0x1400033a0
mov ecx, r14d
mov edi, ebx
add ecx, 1
cmovb rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea ecx, [r14 + 1]
xor edx, edx
movsxd r8, ecx
mov rsi, rax
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r10, r14
test r14d, r14d
je 0x14000348e
mov r9, rsi
sub rbp, rsi
inc ebx
and ebx, 0x800000ff
jge 0x140003439
dec ebx
or ebx, 0xffffff00
inc ebx
movsxd rax, ebx
lea rdx, [rsp + 0x20]
add rdx, rax
movzx r8d, byte [rdx]
add edi, r8d
and edi, 0x800000ff
jge 0x14000345d
dec edi
or edi, 0xffffff00
inc edi
movsxd rax, edi
lea rcx, [rsp + 0x20]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rdx], al
mov byte [rcx], r8b
movzx eax, byte [rdx]
add rax, r8
movzx eax, al
movzx ecx, byte [rsp + rax + 0x20]
xor cl, byte [r9 + rbp]
mov byte [r9], cl
inc r9
sub r10, 1
jne 0x140003425
mov rax, rsi
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140014650
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140009940
Capabilities:
Encode data using xor
Hash data using fnv

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14001012c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14001012c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140010145
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14001011c
cmp byte [rax], 0x5c
jne 0x140010116
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140010116
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140010102
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140010113
test r8b, 0x10
jne 0x140010116
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140010116
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14000c6f0
test edi, edi
jne 0x140010080
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14000c6e0
int3

Function at 0x140015414
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000131a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14000131a
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001316
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400012f0
jmp 0x14000131a
mov esi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140005a50
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140001350
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400013cd
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400013c4
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov rcx, rbx
test eax, eax
je 0x1400013f0
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400013a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140005a50
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400013cf
Function at 0x416920
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416acb
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433540
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x41698e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4169a1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4169c5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4169d9
cmp rbx, 0x1000
jae 0x416998
nop
jmp 0x416a49
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x4169ed
xor edx, edx
jmp 0x416a40
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433540
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x4169cf
jmp 0x4169b5
call fcn.00463d80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00437ca0
lea rax, [0x00501345]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.004385a0
mov rax, qword [rsp + 0x38]
call fcn.004382a0
lea rax, [0x0050141d]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004385a0
mov rax, qword [rsp + 0x30]
call fcn.004382a0
call fcn.00437f00
call fcn.00437d20
lea rax, [0x0050381c]
mov ebx, 0x21
call fcn.004363e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004601c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416920