joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180389058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1803891df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180389089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18038906f
add dl, dl
jne 0x180389096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1803890f6
xor eax, eax
add dl, dl
jne 0x1803890a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1803891ad
add dl, dl
jne 0x1803890b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1803890c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1803890d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1803890dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1803890ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18038907e
mov eax, 1
add dl, dl
jne 0x180389106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180389113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1803890fb
sub eax, ebx
mov ebx, 1
jne 0x18038914c
mov ecx, 1
add dl, dl
jne 0x18038912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18038913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180389123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18038907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180389168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180389175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18038915d
cmp eax, 0x7d00
jae 0x18038919b
cmp eax, 0x500
jb 0x180389196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18038907e
cmp eax, 0x7f
ja 0x18038919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18038907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1803891d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18038907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000b340
Capabilities:
Encode data using xor

Disassembly:
movdqa xmm2, xmmword [0x1402a5890]
xor eax, eax
cmp dword [reloc.WS2_32.dll_accept], 5
mov r8, rcx
jl 0x14000b47c
movdqa xmm3, xmmword [0x1402a5770]
lea rdx, [rcx + 4]
movdqa xmm4, xmmword [reloc.WS2_32.dll_getsockopt]
mov r9, 0xfffffffffffffffe
movdqa xmm5, xmmword [0x1402a57d0]
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 0x14000b390
cmp rax, 0x14
jae 0x14000b4ac
movabs r9, 0x63af77038dbd1fd1
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 0x14000b490
ret

Function at 0x14000bb40
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1402d4c40]
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 0x14000bba0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140034570
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401e2e90
add rsp, 0x50
pop rbx
ret

Function at 0x14000bbd0
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1402d4c40]
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 0x14000bc30
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140034570
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401e2e90
add rsp, 0x150
pop rbx
ret
Function at 0x14000cfd0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1402d4c40]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [0x140256250]
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 0x14000d030
mov rcx, rbx
call fcn.140033f50
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.1401e2e90
add rsp, 0x40
pop rbx
ret
Function at 0x140011f80
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140011fa3
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 [0x1402d4c40]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r14, r9
mov rdi, r8
mov r12, rdx
mov r15, rcx
mov qword [rbp], rcx
mov qword [rbp + 8], rdx
mov qword [rbp + 0x10], r8
mov r13, qword [rbp + 0x100]
mov qword [rbp + 0x18], r13
mov rbx, qword [r13]
mov rsi, qword [r13 + 8]
cmp rbx, rsi
je 0x140014d8e
lea rax, str.local_extension_settings
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], Ordinal_30
movaps xmm6, xmmword [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.14002c8e0
nop
movdqa xmmword [rbp + 0x20], xmm6
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.14003b020
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
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.14003b020
nop
lea r8, [rsp + 0x70]
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.140007600
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140007600
nop
mov r8, r12
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140007600
nop
lea rcx, [rbp - 0x40]
call fcn.14002f1a0
nop
lea rcx, [rbp - 0x20]
call fcn.14002f1a0
nop
lea rcx, [rsp + 0x70]
call fcn.14002f1a0
nop
lea rcx, [rbp - 0x70]
call fcn.14002f1a0
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.140009f90
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x40], ecx
lea rax, [0x1402d6598]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x20], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140014d6a
cmp eax, 1
je 0x140014d6e
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140009f90
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x60]
test edx, edx
je 0x140014d42
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x140014dd9
cmp ecx, 3
jne 0x140014d6e
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140014d5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.140014670
jmp 0x140014d6e
test ecx, ecx
jne 0x140014dea
lea rcx, [rbp + 0x30]
call fcn.14002f1a0
nop
lea rcx, [rbp + 0x50]
call fcn.14002f2b0
add rbx, 0x20
cmp rbx, rsi
jne 0x140014c20
mov rcx, r15
call fcn.14002f1a0
nop
mov rcx, r12
call fcn.14002f1a0
nop
mov rcx, rdi
call fcn.14002f1a0
nop
mov rcx, r13
call fcn.14002f020
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1401e2e90
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.140008e30
int3
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x20]
lea rcx, str.exists
call fcn.140008f20
int3
Function at 0x140016c50
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1402d4c40]
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 0x140016d23
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140016d1a
cmp qword [rbx + 0x18], 7
mov r8, rbx
jbe 0x140016cb3
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 0x140016cd4
add rax, 2
test ecx, ecx
jne 0x140016cc0
test edx, edx
je 0x140016cec
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140016ca6
jmp 0x140016d1a
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 0x140016d1a
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.1401e2e90
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x140017630
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 [0x1402d4c40]
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 0x14001783f
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 0x140017834
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 0x1400177f4
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 0x1400177e9
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 0x140017783
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.140034570
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x1400177d1
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 0x1400177df
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.140039210
nop
lea rcx, [rsp + 0x48]
call fcn.14002f2b0
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 0x140017700
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.1401e2e90
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 0x140018880
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1180]
mov eax, 0x1280
call fcn.1401e3930
sub rsp, rax
mov rax, qword [0x1402d4c40]
xor rax, rsp
mov qword [rbp + 0x1170], rax
mov r14, rcx
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140018a60
mov eax, dword [rsp + 0x20]
shr eax, 2
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x28], xmm1
xor r15d, r15d
mov qword [rsp + 0x38], r15
test eax, eax
je 0x1400189e2
lea rbx, [rsp + 0x60]
mov esi, eax
mov r8d, dword [rbx]
test r8d, r8d
je 0x1400189d4
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400189d4
mov r9d, 0x104
lea r8, [rbp + 0xf60]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x1400189cb
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea rax, [rbp + 0xf60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140018970
lea rdx, [rbp + 0xf60]
lea rcx, [rsp + 0x40]
call fcn.140033f50
nop
mov rax, qword [rsp + 0x30]
cmp rax, qword [rsp + 0x38]
je 0x1400189ae
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14002c390
add qword [rsp + 0x30], 0x20
jmp 0x1400189c1
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140038830
nop
lea rcx, [rsp + 0x40]
call fcn.14002f1a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x140018901
mov r8, qword [rsp + 0x28]
mov r10, qword [rsp + 0x30]
cmp r8, r10
je 0x140018a51
mov r11, qword [r14 + 0x18]
mov rbx, qword [r14 + 0x10]
nop dword [rax]
mov rax, r14
cmp r11, 7
jbe 0x140018a0c
mov rax, qword [r14]
mov rdx, qword [r8 + 0x10]
mov r9, r8
cmp qword [r8 + 0x18], 7
jbe 0x140018a1d
mov r9, qword [r8]
cmp rdx, rbx
jne 0x140018a48
test rdx, rdx
je 0x140018a44
sub r9, rax
nop word [rax + rax]
movzx ecx, word [r9 + rax]
cmp cx, word [rax]
jne 0x140018a48
add rax, 2
sub rdx, 1
jne 0x140018a30
mov bl, 1
jmp 0x140018a53
add r8, 0x20
cmp r8, r10
jne 0x140018a00
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.14002e010
movzx eax, bl
mov rcx, qword [rbp + 0x1170]
xor rcx, rsp
call fcn.1401e2e90
lea r11, [rsp + 0x1280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140028a50
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 0x140028a74
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 0x140028b02
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 0x140028ad0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140028ad0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1402361f0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140028aed
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x140028af5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140028a91
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x140028be0
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140028b19
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140028b1b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140028b4d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1402361f0
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 0x140028bdd
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140028b88
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 0x140028bbe
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1401fb3f4
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x140028bdd
cmp rsi, rax
ja 0x140028b91
test rsi, rsi
je 0x140028bdd
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1401fb3f4
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 0x140035970
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400359a4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140035990
ret
Function at 0x14003c630
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 0x14003c691
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 0x14003c650
mov ecx, dword [r9]
jmp 0x14003c77b
cmp ecx, 0x4e0
jb 0x14003c77b
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 0x14003c6b0
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 0x14003c700
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 0x140041170
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 0x140041235
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140041235
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 0x14004124e
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 0x140041225
cmp byte [rcx], 0x5c
jne 0x14004121e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14004121e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14004120c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14004121b
test r8b, 0x10
jne 0x14004121e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14004121e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.14003a330
test edi, edi
jne 0x140041190
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.14003a320
int3