joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140041360
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140041382
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400413fc
mov rdi, r14
mov rcx, rbx
call fcn.14004c850
test rax, rax
jle 0x1400413d4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14029ebf0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400413ec
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x1400413f4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140041396
sub r14, rdi
jmp 0x1400414df
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140041413
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140041415
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140041447
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14029ebf0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400414dc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140041482
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 rbp, 0xfff
jbe 0x1400414bd
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14027cdf8
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400414dc
cmp rbp, rax
ja 0x140041490
test rbp, rbp
je 0x1400414dc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14027cdf8
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x14005e230
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
movzx r15d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rcx, 0x100000001b3
imul r15, rcx
movzx eax, byte [r8 + 1]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 2]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 3]
xor r15, rax
imul r15, rcx
mov rcx, qword [0x14035d6e0]
and rcx, r15
add rcx, rcx
mov rax, qword [0x14035d6c8]
mov rbx, qword [rax + rcx*8 + 8]
mov r14, qword [0x14035d6b8]
cmp rbx, r14
jne 0x14005e2ba
mov rbx, r14
mov rbp, r14
jmp 0x14005e2f9
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x14005e2d4
cmp rbx, rcx
je 0x14005e2f3
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14005e2c6
mov qword [rdx], rbx
mov byte [rdx + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0x492492492492492
cmp qword [0x14035d6c0], rax
je 0x14005e48b
lea rax, [0x14035d6b8]
mov qword [rsp + 0x20], rax
xor r13d, r13d
mov qword [rsp + 0x28], r13
lea ecx, [r13 + 0x38]
call fcn.14025e8a8
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r12]
mov dword [rdi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [rdi + 0x18], xmm0
mov qword [rdi + 0x28], r13
mov qword [rdi + 0x30], 7
mov word [rdi + 0x18], r13w
mov rdx, qword [0x14035d6c0]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14005e36e
cvtsi2ss xmm0, rcx
jmp 0x14005e383
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x14035d6e8]
xorps xmm1, xmm1
test rcx, rcx
js 0x14005e399
cvtsi2ss xmm1, rcx
jmp 0x14005e3ae
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x14035d6b0]
seta al
test al, al
je 0x14005e41e
call fcn.1400691b0
mov rcx, qword [0x14035d6e0]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x14035d6c8]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x14035d6b8]
cmp rax, rbx
je 0x14005e40a
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14005e407
mov rbx, rax
cmp rax, rdx
je 0x14005e461
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14005e3f6
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov rdx, qword [0x14035d6c0]
mov r8, qword [rbx + 8]
inc rdx
mov qword [0x14035d6c0], rdx
mov qword [rdi], r14
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [0x14035d6c8]
mov rax, qword [0x14035d6e0]
and rax, r15
add rax, rax
mov rdx, qword [rcx + rax*8]
cmp rdx, qword [0x14035d6b8]
jne 0x14005e468
mov qword [rcx + rax*8], rdi
jmp 0x14005e47a
mov qword [rsp + 0x20], rax
jmp 0x14005e40f
cmp rdx, rbp
jne 0x14005e473
mov qword [rcx + rax*8], rdi
jmp 0x14005e47f
cmp qword [rcx + rax*8 + 8], r8
jne 0x14005e47f
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x14005e2db
lea rcx, str.unordered_map_set_too_long
call fcn.140241da0
int3
Function at 0x140065700
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140065734
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140065720
ret
Function at 0x1400691b0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x14035d6c0]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x14035d6e8]
js 0x1400691d4
cvtsi2ss xmm0, rcx
jmp 0x1400691e9
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x14035d6b0]
call fcn.14029eaf4
movss xmm1, dword [0x1402f99a8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14006921b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14006921b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14006924d
cmp rbx, 0x200
jae 0x14006924a
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14006924d
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x14006b230
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14006b3de
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x14035d6b8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14035d6c8]
lea rdx, [rdi + rdi]
call fcn.14004e950
mov rax, qword [0x14035d6b8]
lea r9, [rdi - 1]
mov qword [0x14035d6e0], r9
mov qword [0x14035d6e8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14006b3d3
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x14035d6c8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14006b31f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14006b394
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14006b35c
mov r10, qword [rdx]
cmp r10, rax
je 0x14006b356
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14006b394
cmp r9, rdx
je 0x14006b370
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14006b3a8
cmp r9, rdx
jne 0x14006b361
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14006b3ce
mov r9, qword [0x14035d6e0]
jmp 0x14006b2d0
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14006b394
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.140241da0
int3
Function at 0x14006b230
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x14035d6c0]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x14035d6e8]
js 0x1400691d4
cvtsi2ss xmm0, rcx
jmp 0x1400691e9
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x14035d6b0]
call fcn.14029eaf4
movss xmm1, dword [0x1402f99a8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14006921b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14006921b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14006924d
cmp rbx, 0x200
jae 0x14006924a
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14006924d
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x14006b230
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14006b3de
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x14035d6b8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14035d6c8]
lea rdx, [rdi + rdi]
call fcn.14004e950
mov rax, qword [0x14035d6b8]
lea r9, [rdi - 1]
mov qword [0x14035d6e0], r9
mov qword [0x14035d6e8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14006b3d3
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x14035d6c8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14006b31f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14006b394
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14006b35c
mov r10, qword [rdx]
cmp r10, rax
je 0x14006b356
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14006b394
cmp r9, rdx
je 0x14006b370
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14006b3a8
cmp r9, rdx
jne 0x14006b361
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14006b3ce
mov r9, qword [0x14035d6e0]
jmp 0x14006b2d0
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14006b394
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.140241da0
int3
Function at 0x140075c60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
movzx r15d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rcx, 0x100000001b3
imul r15, rcx
movzx eax, byte [r8 + 1]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 2]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 3]
xor r15, rax
imul r15, rcx
mov rcx, qword [0x14035d6e0]
and rcx, r15
add rcx, rcx
mov rax, qword [0x14035d6c8]
mov rbx, qword [rax + rcx*8 + 8]
mov r14, qword [0x14035d6b8]
cmp rbx, r14
jne 0x140075cec
mov rbx, r14
mov rbp, r14
jmp 0x140075d2d
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x140075d06
cmp rbx, rcx
je 0x140075d27
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x140075cf8
mov qword [rdx], rbx
mov byte [rdx + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0x492492492492492
cmp qword [0x14035d6c0], rax
je 0x140075ece
lea rax, [0x14035d6b8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov ecx, gethostname
call fcn.14025e8a8
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r12]
mov dword [rdi + 0x10], eax
lea rcx, [rdi + 0x18]
lea rdx, [r12 + 8]
call fcn.1400399f0
nop
mov rdx, qword [0x14035d6c0]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140075d9b
cvtsi2ss xmm0, rcx
jmp 0x140075db0
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x14035d6e8]
xorps xmm1, xmm1
test rcx, rcx
js 0x140075dc6
cvtsi2ss xmm1, rcx
jmp 0x140075ddb
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x14035d6b0]
seta al
test al, al
je 0x140075e58
call fcn.1400691b0
mov rcx, qword [0x14035d6e0]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x14035d6c8]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x14035d6b8]
cmp rax, rbx
jne 0x140075e22
mov qword [rsp + 0x28], 0
jmp 0x140075e44
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x140075e41
nop
mov rbx, rax
cmp rax, rdx
je 0x140075e9b
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140075e30
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov rdx, qword [0x14035d6c0]
mov r8, qword [rbx + 8]
inc rdx
mov qword [0x14035d6c0], rdx
mov qword [rdi], r14
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [0x14035d6c8]
mov rax, qword [0x14035d6e0]
and rax, r15
add rax, rax
mov rdx, qword [rcx + rax*8]
cmp rdx, qword [0x14035d6b8]
jne 0x140075eab
mov qword [rcx + rax*8], rdi
jmp 0x140075ebd
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x140075e49
cmp rdx, rbp
jne 0x140075eb6
mov qword [rcx + rax*8], rdi
jmp 0x140075ec2
cmp qword [rcx + rax*8 + 8], r8
jne 0x140075ec2
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x140075d0d
lea rcx, str.unordered_map_set_too_long
call fcn.140241da0
int3
Function at 0x1400817e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
sar rdi, 2
test rdi, rdi
je 0x1400819c3
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x14035eba0]
sub rbx, qword [0x14035eb98]
mov qword [rsp + 0x50], r13
sar rbx, 2
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x140081833
mov eax, ntohs
jmp 0x140081861
cmp rdi, 0x44
jb 0x140081840
mov eax, 7
jmp 0x140081861
cmp rdi, 0x27
jb 0x14008184d
mov eax, 5
jmp 0x140081861
cmp rdi, 7
jb 0x14008185a
mov eax, 3
jmp 0x140081861
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x14008187a
mov r15, rdi
mov r8, rdi
mov qword [rsp + 0x48], rbp
shl r8, 2
mov edx, 0x8b8b8b8b
mov rcx, rsi
call fcn.14029f290
xor ecx, ecx
test r15, r15
je 0x14008192d
nop
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea rbp, [rsi + rdx*4]
mov r8d, r11d
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
xor r8d, dword [rsi + rdx*4]
xor r8d, dword [rbp]
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x1400818ed
mov rax, rbx
jmp 0x140081905
cmp rcx, rbx
ja 0x140081902
mov rax, qword [0x14035eb98]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x140081905
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [rbp], r8d
cmp rcx, r15
jb 0x1400818a0
add r15, rdi
cmp rcx, r15
jae 0x1400819aa
inc r14
lea rbp, [rcx - 1]
inc r13
nop
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, dword [rsi + r9*4]
add ecx, r10d
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x140081940
mov rbp, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14008a810
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 0x14008a8dc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14008a8dc
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 0x14008a8f5
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 0x14008a8cc
cmp byte [rax], 0x5c
jne 0x14008a8c6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14008a8c6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14008a8b2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14008a8c3
test r8b, 0x10
jne 0x14008a8c6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14008a8c6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140081200
test edi, edi
jne 0x14008a830
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.1400811f0
int3

Function at 0x1400c2930
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x1400c2991
lea r8, [r9 + 8]
nop dword [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 0x1400c2950
mov ecx, dword [r9]
jmp 0x1400c2a7b
cmp ecx, 0x4e0
jb 0x1400c2a7b
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]
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 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400c29b0
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 0x1400c2a00
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 0x1400c9050
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r12, rdx
mov r15, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
lea ecx, [rsi + 0x20]
call fcn.14025e8a8
mov rbx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x1400c9198
mov r13, qword [r15]
mov rdi, qword [r15 + 8]
sub rdi, r13
shr rdi, 1
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
movabs rbp, 0x7ffffffffffffffe
cmp rdi, rbp
ja 0x1400c922d
cmp rdi, 7
ja 0x1400c90eb
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
add rdi, rdi
mov r8, rdi
mov rdx, r13
mov rcx, rax
call fcn.14029ebf0
mov word [rdi + rbx], si
jmp 0x1400c919b
mov rax, rdi
or rax, 7
cmp rax, rbp
jbe 0x1400c9107
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400c9139
mov rbp, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbp, rcx
lea rcx, [rbp + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400c9239
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400c9165
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400c9239
mov rcx, rax
call fcn.14025e8a8
test rax, rax
je 0x1400c9233
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400c9172
test rcx, rcx
je 0x1400c9172
call fcn.14025e8a8
mov rsi, rax
mov qword [rbx], rsi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rbp
add rdi, rdi
mov r8, rdi
mov rdx, r13
mov rcx, rsi
call fcn.14029ebf0
xor eax, eax
mov word [rdi + rsi], ax
xor esi, esi
jmp 0x1400c919b
mov rbx, rsi
mov qword [r12], rbx
mov dword [rsp + 0x20], 1
mov rax, qword [r15]
mov rdx, qword [r15 + 8]
cmp rax, rdx
je 0x1400c920c
sub rdx, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400c91c3
mov rcx, qword [rbx]
xor r8d, r8d
call qword [sym.imp.CRYPT32.dll_CryptUnprotectMemory]
test eax, eax
je 0x1400c923f
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400c91dd
mov rdx, qword [rbx]
mov rax, qword [r15 + 0x18]
mov rcx, qword [rbx + 0x10]
sub rcx, rax
lea rdi, [rdx + rax*2]
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [r15 + 0x18]
cmp qword [rbx + 0x10], rax
jb 0x1400c9227
mov qword [rbx + 0x10], rax
cmp qword [rbx + 0x18], 7
jbe 0x1400c9208
mov rbx, qword [rbx]
mov word [rbx + rax*2], si
mov rax, r12
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14004fc20
nop
call fcn.1400034c0
int3
call fcn.14027aed0
int3
call fcn.140003420
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400c8f80
lea rdx, [0x14033aa60]
lea rcx, [rsp + 0x28]
call fcn.140260b78
int3