joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b500
Capabilities:
Encode data using xor

Disassembly:
movdqa xmm2, xmmword [0x1402abb80]
xor eax, eax
cmp dword [reloc.WS2_32.dll_accept], 5
mov r8, rcx
jl 0x14000b63c
movdqa xmm3, xmmword [0x1402aba50]
lea rdx, [rcx + 4]
movdqa xmm4, xmmword [reloc.WS2_32.dll_getsockopt]
mov r9, 0xfffffffffffffffe
movdqa xmm5, xmmword [0x1402abab0]
sub r9, rcx
mov r10d, 2
sub r10, rcx
nop dword [rax]
movzx ecx, word [rdx - 4]
movq xmm0, rax
punpcklqdq xmm0, xmm0
add rax, 8
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [r9 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, r8
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [r10 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp rax, 0x10
jb 0x14000b550
cmp rax, 0x14
jae 0x14000b66c
movabs r9, 0x27a1e58fc977dd93
nop word [rax + rax]
movzx ecx, al
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc rax
cmp rax, 0x14
jb 0x14000b650
ret

Function at 0x14000b8e0
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1402dac00]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rbx, rcx
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000b940
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14003c280
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401ebf40
add rsp, 0x50
pop rbx
ret

Function at 0x14000b970
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1402dac00]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rbx, rcx
mov dword [rsp + 0x28], 0x101
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000b9d0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14003c280
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401ebf40
add rsp, 0x150
pop rbx
ret
Function at 0x14000cde0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1402dac00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [0x14025f210]
xor r8d, r8d
lea r9, [rsp + 0x28]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rdx, qword [rsp + 0x28]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000ce40
mov rcx, rbx
call fcn.14003bb80
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401ebf40
add rsp, 0x40
pop rbx
ret
Function at 0x140011f10
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140011f33
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
add rsp, 0x28
ret
mov al, 1
add rsp, 0x28
ret
Function at 0x140014ba0
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x98]
sub rsp, 0x198
movaps xmmword [rsp + 0x180], xmm6
mov rax, qword [0x1402dac00]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r14, r9
mov rdi, r8
mov r13, rdx
mov r12, rcx
mov qword [rbp], rcx
mov qword [rbp + 8], rdx
mov qword [rbp + 0x10], r8
mov r15, qword [rbp + 0x100]
mov qword [rbp + 0x18], r15
mov rbx, qword [r15]
mov rsi, qword [r15 + 8]
cmp rbx, rsi
je 0x140014d9c
lea rax, str.local_extension_settings
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], Ordinal_30
movaps xmm6, xmmword [rsp + 0x20]
nop
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.140033ec0
nop
call fcn.1401c83c0
movdqa xmmword [rbp + 0x20], xmm6
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140006c30
nop
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rax, qword [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x38], rax
call fcn.1401c83c0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x20], xmm0
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140006c30
nop
lea r8, [rsp + 0x70]
mov rdx, r12
lea rcx, [rbp - 0x20]
call fcn.1400079b0
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1400079b0
nop
mov r8, r13
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.1400079b0
nop
lea rcx, [rbp - 0x40]
call fcn.1400366f0
nop
lea rcx, [rbp - 0x20]
call fcn.1400366f0
nop
lea rcx, [rsp + 0x70]
call fcn.1400366f0
nop
lea rcx, [rbp - 0x70]
call fcn.1400366f0
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.14000a190
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x40], ecx
lea rax, [0x1402dc558]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x20], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140014d78
cmp eax, 1
je 0x140014d7c
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14000a190
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x60]
test edx, edx
je 0x140014d50
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x140014de7
cmp ecx, 3
jne 0x140014d7c
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140014d6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.140014630
jmp 0x140014d7c
test ecx, ecx
jne 0x140014df8
lea rcx, [rbp + 0x30]
call fcn.1400366f0
nop
lea rcx, [rbp + 0x50]
call fcn.140036800
add rbx, 0x20
cmp rbx, rsi
jne 0x140014c20
mov rcx, r12
call fcn.1400366f0
nop
mov rcx, r13
call fcn.1400366f0
nop
mov rcx, rdi
call fcn.1400366f0
nop
mov rcx, r15
call fcn.140036570
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1401ebf40
movaps xmm6, xmmword [rsp + 0x180]
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r8, [rbp + 0x30]
lea rcx, str.status
call fcn.1400091e0
int3
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x20]
lea rcx, str.exists
call fcn.1400092d0
int3
Function at 0x140016c60
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1402dac00]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140016d33
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140016d2a
cmp qword [rbx + 0x18], 7
mov r8, rbx
jbe 0x140016cc3
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140016ce4
add rax, 2
test ecx, ecx
jne 0x140016cd0
test edx, edx
je 0x140016cfc
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140016cb6
jmp 0x140016d2a
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140016d2a
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401ebf40
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x140017660
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1402dac00]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x40], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001786f
mov edi, esi
mov dword [rbp - 0x80], 0xff
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x90]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x140017864
nop word [rax + rax]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x90]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140017824
mov dword [rbp - 0x7c], 0xff
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140017819
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400177b3
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.14003c280
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140017801
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
add qword [rbx + 8], 0x20
jmp 0x14001780f
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.140040c80
nop
lea rcx, [rsp + 0x48]
call fcn.140036800
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 0x80], 0xff
inc edi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x90]
mov edx, edi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x140017730
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1401ebf40
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140030290
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x1400302b4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x140030342
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140030310
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140030310
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.14023fcb0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14003032d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x140030335
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x1400302d1
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x140030420
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140030359
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003035b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003038d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.14023fcb0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14003041d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400303c8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x1400303fe
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.140204028
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14003041d
cmp rsi, rax
ja 0x1400303d1
test rsi, rsi
je 0x14003041d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140204028
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret

Function at 0x14003d640
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14003d674
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14003d660
ret
Function at 0x1400445b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140044611
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400445d0
mov ecx, dword [r9]
jmp 0x1400446fb
cmp ecx, 0x4e0
jb 0x1400446fb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140044630
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140044680
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1400491a0
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 0x140049265
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140049265
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 0x14004927e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x140049255
cmp byte [rcx], 0x5c
jne 0x14004924e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14004924e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14004923c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14004924b
test r8b, 0x10
jne 0x14004924e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14004924e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140041f40
test edi, edi
jne 0x1400491c0
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.140041f30
int3
Function at 0x14005b9b0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x20
mov rbp, rdx
mov ebx, ecx
call fcn.14011e510
test eax, eax
jne 0x14005bbb5
cmp byte [reloc.WS2_32.dll_accept], al
mov qword [rsp + 0x38], rdi
jne 0x14005b9dd
xor edi, edi
jmp 0x14005b9f9
mov ecx, 5
call qword [0x1402dc850]
mov rdi, rax
test rax, rax
je 0x14005b9f9
mov rcx, rax
call qword [0x1402dc860]
test ebx, ebx
jle 0x14005bb98
test rbp, rbp
je 0x14005bb98
cmp dword [0x1402eecd0], 0
mov qword [rsp + 0x30], rsi
jne 0x14005bb1f
call fcn.14011e510
test eax, eax
je 0x14005ba35
movups xmm0, xmmword [str.expand_32_byte_k]
movaps xmmword [0x1402eecd0], xmm0
jmp 0x14005ba99
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x14005ba47
mov rsi, qword [0x1402eea18]
jmp 0x14005ba86
mov ecx, 2
mov qword [rsp + 0x40], r14
call qword [0x1402dc850]
mov r14, rax
test rax, rax
je 0x14005ba7a
mov rcx, rax
call qword [0x1402dc860]
mov rsi, qword [0x1402eea18]
mov rcx, r14
call qword [0x1402dc870]
jmp 0x14005ba81
mov rsi, qword [0x1402eea18]
mov r14, qword [rsp + 0x40]
movups xmm0, xmmword [str.expand_32_byte_k]
movaps xmmword [0x1402eecd0], xmm0
test rsi, rsi
jne 0x14005babb
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1402eece0], xmm0
mov qword [0x1402eed00], rax
movups xmmword [0x1402eecf0], xmm0
mov dword [0x1402eed08], eax
jmp 0x14005baff
mov eax, dword [0x1402dc990]
test eax, eax
je 0x14005baed
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [0x1402eece0], xmm0
mov dword [0x1402eece0], eax
movups xmmword [0x1402eecf0], xmm0
mov qword [0x1402eed00], rcx
mov dword [0x1402eed08], ecx
jmp 0x14005baff
lea r8, [0x1402eece0]
mov edx, Ordinal_46
mov rcx, rsi
call qword [rsi + 0x68]
mov eax, dword [0x1402eed00]
xor cl, cl
mov byte [0x1402eed50], cl
mov dword [0x1402eed0c], eax
mov dword [0x1402eed00], 0
jmp 0x14005bb26
movzx ecx, byte [0x1402eed50]
movzx eax, cl
lea rsi, [0x1402eed10]
cmp ebx, eax
jle 0x14005bb75
test cl, cl
je 0x14005bb53
movzx r8d, cl
mov rdx, rsi
mov rcx, rbp
call fcn.14023fcb0
movzx ecx, byte [0x1402eed50]
sub ebx, ecx
add rbp, rcx
inc dword [0x1402eed00]
lea rdx, [0x1402eecd0]
mov rcx, rsi
call fcn.14005b600
mov cl, 0x40
mov byte [0x1402eed50], cl
cmp ebx, 0x40
jg 0x14005bb34
movzx eax, cl
mov rcx, rbp
sub eax, ebx
movsxd r8, ebx
movsxd rdx, eax
add rdx, rsi
call fcn.14023fcb0
sub byte [0x1402eed50], bl
mov rsi, qword [rsp + 0x30]
jmp 0x14005bba2
mov dword [0x1402eecd0], 0
test rdi, rdi
je 0x14005bbb0
mov rcx, rdi
call qword [0x1402dc870]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
Function at 0x1400773d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [rcx + 0x11], 0
mov r9, rcx
jne 0x140077427
movzx eax, byte [rcx + 0x10]
test al, al
je 0x140077427
cmp al, 1
jne 0x1400773e9
test edx, edx
jne 0x140077427
mov r10, qword [rcx + 8]
test r8, r8
je 0x140077402
mov rax, qword [r10 + 0x18]
mov rcx, qword [rax + 0x50]
mov eax, dword [rcx + 0x28]
bswap eax
mov dword [r8], eax
test edx, edx
je 0x140077424
mov rax, qword [r9]
mov rcx, qword [r10]
mov edx, dword [rax + 0x2f0]
cmp edx, dword [rcx + 0x80]
jle 0x140077424
cmp byte [rcx + 0xa], 0
jne fcn.14006e5e0
xor eax, eax
ret
jmp fcn.140077010
Function at 0x14008b210
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
test rax, rax
je 0x14008b23f
lea r8d, [rdx + 1]
nop dword [rax]
mov ecx, dword [rax + 0xc8]
mov edx, r8d
xor edx, ecx
and edx, 3
xor edx, ecx
mov dword [rax + 0xc8], edx
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14008b220
ret
Function at 0x1400cea30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x38
mov rsi, qword [rcx + 0xa8]
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx]
test rsi, rsi
je 0x1400cec24
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x60], rbp
nop dword [rax + rax]
movsxd r14, dword [rsi + 0x10]
movzx eax, byte [rbx + 0x1f]
mov r15d, dword [rsi + 0x14]
shl r14, 5
add r14, qword [r12 + 0x20]
test al, al
jne 0x1400cea91
inc dword [rbx + 0x38]
mov ebp, dword [rbx + 0x38]
jmp 0x1400ceaa0
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov ebp, dword [rbx + rax*4 + 0xe8]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x1400ceacd
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, gethostname
mov rcx, rdi
call fcn.1400860e0
jmp 0x1400ceafb
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], gethostname
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r13
mov r9, qword [r14 + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], WSAStartup
mov r9, qword [r9 + 0x68]
call fcn.1400cdd30
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x1400ceb3a
mov rcx, rdi
call fcn.140085fa0
test eax, eax
jne 0x1400cec10
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r13d
lea rax, [rax + rcx*8]
mov ecx, dword [rdi + 0x90]
mov dword [rax + 0xc], r13d
add ecx, 2
mov dword [rax + 8], ecx
mov byte [rax + 1], r13b
mov qword [rax + 0x10], r13
mov word [rax + 2], r13w
mov qword [rax + 0x18], 0x7f
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
mov qword [rax + 0x30], 0x61
mov qword [rax + 0x38], 2
mov qword [rax + 0x40], r13
mov qword [rax + 0x48], 0x80
mov qword [rax + 0x50], r13
mov qword [rax + 0x58], r13
mov qword [rax + 0x60], 0x7a
mov qword [rax + 0x68], r13
mov qword [rax + 0x70], r13
add dword [rdi + 0x90], 5
test rax, rax
je 0x1400cec10
mov dword [rax + 0x3c], ebp
lea edx, [r15 + 1]
mov dword [rax + 4], edx
lea ecx, [r15 - 1]
mov dword [rax + 0x20], edx
mov dword [rax + 0x34], ecx
mov dword [rax + 0x54], edx
mov dword [rax + 0x50], ebp
mov word [rax + 0x4a], 8
test ebp, ebp
je 0x1400cec04
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1400cec04
mov dword [rbx + rax*4 + 0xe8], ebp
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1400cea70
mov rbp, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x30]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret