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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1400963a2
call fcn.140081fe8
mov dword [rax], SafeArrayUnaccessData
call fcn.140081b20
jmp 0x1400964c1
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400964c1
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400964c1
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400963d1
lock or dword [rcx + 0x14], 0x10
jmp 0x1400964c1
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400963e5
call fcn.1400979d4
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1400940c4
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140097150
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1400964af
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14009647a
mov rcx, rsi
call fcn.1400940c4
cmp eax, edi
je 0x140096465
mov rcx, rsi
call fcn.1400940c4
cmp eax, 0xfffffffe
je 0x140096465
mov rcx, rsi
call fcn.1400940c4
movsxd rbx, eax
lea r14, [0x1400ed620]
mov rcx, rsi
sar rbx, 6
call fcn.1400940c4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14009646c
lea rdx, [0x1400e9770]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14009647a
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14009649e
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14009649e
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14009649e
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x1400964c4
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x1400967ec
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14007aff0
sub rsp, rax
mov rax, qword [0x1400e9380]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400940c4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14009683b
mov rax, rbp
jmp 0x140096943
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xed620]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140097928
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xed620]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14009693f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14009693f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140097928
test rax, rax
js 0x14009693f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14009693f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140096931
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140096931
cmp byte [rcx], 0xd
jne 0x140096917
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140096926
cmp byte [rcx + 1], 0xa
jne 0x140096926
inc rcx
jmp 0x140096926
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xe97c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400968f9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140096943
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14007afc0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140096ca4
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400ed620]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x140096d02
cmp word [rdx], r12w
jne 0x140096d02
or byte [rax + r8*8 + 0x38], cl
jmp 0x140096d08
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x140096e63
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140096e3e
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140096d41
mov rcx, r9
jmp 0x140096d64
cmp r9, rdx
jae 0x140096d7b
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x140096d25
jmp 0x140096e63
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140096e38
cmp dword [rsp + 0x80], edi
je 0x140096e38
mov rdx, r14
lea r11, [0x1400ed620]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140096e11
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x140096de4
mov word [rbx], r12w
jmp 0x140096e5f
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x140096ded
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140096e5f
cmp word [rsp + 0x70], r12w
jne 0x140096e1e
cmp rbx, rsi
je 0x140096dde
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140097930
cmp word [rsp + 0x70], r12w
je 0x140096e63
mov word [rbx], r13w
jmp 0x140096e5f
lea r11, [0x1400ed620]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140096e5b
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140096e63
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14009ea7c
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 0x14009eb03
mov rsi, rbx
cmp word [rax], bp
je 0x14009eac2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14009eaac
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14009eaa8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140092f24
mov rdi, rax
test rax, rax
je 0x14009eaf0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400a4290
mov rbp, rdi
xor ecx, ecx
call fcn.140092ce4
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 0x1400a33f0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140097930
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140097930
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400a3540
cmp rax, 0xffffffffffffffff
je 0x1400a3540
xor edi, edi
test rbp, rbp
jle 0x1400a34eb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400944c4
mov rbx, rax
test rax, rax
jne 0x1400a3478
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400a34e1
mov edx, 0x8000
mov ecx, r14d
call fcn.140091df0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140096060
cmp eax, 0xffffffff
je 0x1400a34c1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400a3488
mov edx, r15d
mov ecx, r14d
call fcn.140091df0
jmp 0x1400a34e1
cmp byte [rsi + 0x38], dil
je 0x1400a34d8
cmp dword [rsi + 0x34], 5
jne 0x1400a34d8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayDestroy
cmp byte [rsi + 0x30], dil
je 0x1400a34e1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140092ce4
jmp 0x1400a3554
jns 0x1400a3554
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140097930
cmp rax, 0xffffffffffffffff
jne 0x1400a350c
cmp byte [rsi + 0x30], dil
je 0x1400a3554
mov edi, dword [rsi + 0x2c]
jmp 0x1400a3554
mov ecx, r14d
call fcn.14009f524
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400a3554
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, SafeArrayDestroy
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayDestroy
jmp 0x1400a3554
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400a354d
mov eax, dword [rsi + 0x2c]
jmp 0x1400a3552
mov eax, SafeArrayUnaccessData
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140097930
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400a3dc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a3de8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400a3de8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x141a32238
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0x3e9a43af
lea rsp, [rsp + 0x48]
jmp 0x141a7a331

Function at 0x141a3926d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x141a5bcc2
mov qword [rbp + riz], r11
jmp 0x141a5d4fc
lea rsp, [rsp + 0x18]
jmp 0x141a7a331

Function at 0x141a419eb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea rsp, [rsp + 0x18]
jmp 0x141a7a331

Function at 0x141a48e55
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0xffffffffd02c9a22
lea rsp, [rsp + 0x20]
jmp 0x141a7a331

Function at 0x141a4f135
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea rsp, [rsp + 0x18]
jmp 0x141a7a331

Function at 0x141a501a6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rbp, 4
not qword [rsp + 0x10]
push 0xffffffffd932802c
mov dword [rbp + riz], r11d
lea rsp, [rsp + 0x20]
jmp 0x141a7a331

Function at 0x141a54f1e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov word [rbp + riz], ax
lea rsp, [rsp + 0x40]
jmp 0x141a7a331

Function at 0x141a5913c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0x6a8a660a
lea rsp, [rsp + 0x20]
jmp 0x141a7a331
mov word [rbp + riz], r11w
jmp 0x141a3410b

Function at 0x141a5d08b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea rsp, [rsp + 0x28]
jmp 0x141a7a331

Function at 0x141a5da25
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp], rbp
jmp fcn.141a5215a

Function at 0x141a6572f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea rsp, [rsp + 0x30]
jmp 0x141a7a331
sub rbp, 2
jmp 0x141a679b4
push 0xffffffffb40e060f
push 0xffffffffc6a27bb8
mov word [rbp + riz], bx
push 0x25b31bb8
push 0xffffffffc4ba461f
jmp 0x141a5af11

Function at 0x141a69c26
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov word [rbp + riz], cx
push 0x208a3613
lea rsp, [rsp + 0x40]
jmp 0x141a7a331

Function at 0x141a6f5da
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea rsp, [rsp + 0x18]
jmp 0x141a7a331

Function at 0x141a6f815
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rbp, qword [rsp + rdi - 0x2ff55ec1]
call fcn.141a50494

Function at 0x141a6f822
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea rsp, [rsp + 0x18]
jmp 0x141a7a331

Function at 0x141a71d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rbp + riz], r11d
push 0x1ba51c30
lea rsp, [rsp + 0x10]
jmp 0x141a7a331
jmp 0x141a63f94

Function at 0x141a7553c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x141a75e63
mov dword [rbp + riz], r11d
jmp 0x141a69514
lea rsp, [rsp + 0x10]
jmp 0x141a7a331
Function at 0x140004ed0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
movzx esi, dl
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor edi, edi
mov eax, dword [rcx + rax]
cmp dword [0x1400f33b8], eax
jle 0x140005020
lea rcx, [0x1400f33b8]
call fcn.140084070
cmp dword [0x1400f33b8], 0xffffffff
jne 0x140005020
xorps xmm0, xmm0
movups xmmword [0x1400f33f0], xmm0
movups xmmword [0x1400f3400], xmm0
movups xmmword [0x1400f3410], xmm0
movups xmmword [0x1400f3420], xmm0
mov dword [rsp + 0x30], 0x4010000
mov dword [rsp + 0x34], 0x1040202
mov dword [rsp + 0x38], 0x50c0306
mov dword [rsp + 0x3c], 0x4130510
mov dword [rsp + 0x40], 0x1180317
mov dword [0x1400f33f0], edi
mov qword [0x1400f33f8], rdi
mov qword [0x1400f3400], rdi
mov ecx, 0x18
call fcn.140083d10
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x1400f33f8], rax
mov qword [0x1400f3408], rdi
xorps xmm0, xmm0
movdqa xmmword [0x1400f3410], xmm0
mov qword [0x1400f3420], 7
mov qword [0x1400f3428], 8
mov dword [0x1400f33f0], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [0x1400f3408]
call fcn.140005f70
nop
lea rbx, [rsp + 0x30]
nop dword [rax]
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.140006a10
add rbx, 2
lea rax, [rsp + 0x44]
cmp rbx, rax
jne 0x140004fe0
lea rcx, [0x140088260]
call fcn.140083f74
nop
lea rcx, [0x1400f33b8]
call fcn.140084004
nop dword [rax]
nop dword [rax + rax]
mov rcx, rsi
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
and rcx, qword [0x1400f3420]
add rcx, rcx
mov r8, qword [0x1400f3408]
mov rax, qword [r8 + rcx*8 + 8]
mov rdx, qword [0x1400f33f8]
cmp rax, rdx
je 0x140005082
mov rcx, qword [r8 + rcx*8]
cmp sil, byte [rax + 0x10]
je 0x14000507f
nop word [rax + rax]
cmp rax, rcx
je 0x140005082
mov rax, qword [rax + 8]
cmp sil, byte [rax + 0x10]
jne 0x140005070
mov rdi, rax
mov rax, rdx
test rdi, rdi
cmovne rax, rdi
cmp rax, rdx
je 0x1400050a5
movzx eax, byte [rax + 0x11]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov al, 6
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140006cf0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140006d21
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400f33f8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400f3408]
lea rdx, [rdi + rdi]
call fcn.140005f70
mov rax, qword [0x1400f33f8]
lea rdx, [rdi - 1]
mov qword [0x1400f3420], rdx
mov qword [0x1400f3428], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140006e72
mov qword [rsp + 0x40], rsi
movabs rdi, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rsi
and r11, rdx
shl r11, 4
add r11, qword [0x1400f3408]
mov r8, qword [r11]
cmp r8, rbx
jne 0x140006dc2
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140006e33
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x140006dfb
mov r10, qword [rdx]
cmp r10, rax
je 0x140006df5
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 0x140006e33
cmp r8, rdx
je 0x140006e0f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x140006e47
cmp r8, rdx
jne 0x140006e00
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 0x140006e6d
mov rdx, qword [0x1400f3420]
jmp 0x140006d91
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 0x140006e33
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14002de70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14002dea4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14002de90
ret
Function at 0x140033cf0
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 0x140033db5
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140033db5
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 0x140033dce
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 0x140033da5
cmp byte [rcx], 0x5c
jne 0x140033d9e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x140033d9e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140033d8c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x140033d9b
test r8b, 0x10
jne 0x140033d9e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x140033d9e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140031fd0
test edi, edi
jne 0x140033d10
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.140031fc0
int3
Function at 0x14003c320
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1400a2040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1400f3ce8]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003c53e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003c53e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1400f3ce8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14003c3f4
movsx rdx, word [r8 + 0x60e0]
lea rax, [r8 + 0x60e4]
mov r9d, dword [r8 + 0x3f68]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14003c3e9
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60e4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60d8]
test rdi, rdi
je 0x14003c411
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14003c414
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1400911d8]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14003c457
mov rsi, qword [r8 + 0x90]
jmp 0x14003c45a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14003c485
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400f3ce8]
mov rcx, qword [rax + 0x4b28]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14003c4fe
inc rbx
cmp rbx, 5
jl 0x14003c4e0
jmp 0x14003c52a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x14003c540
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140083cf0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140040880
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400408dd
lea rbx, [0x14008ad30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400408c4
cmp r10, 2
jb 0x1400408c4
cmp byte [r9], r8b
jne 0x1400408c4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400408a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14004091f
lea rbx, [0x14008ad30]
cmp r8b, 0x23
jne 0x140040903
cmp byte [r9], r8b
jne 0x140040903
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400408f0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140040ae0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x140040afe
mov qword [r8], r14
lea rdx, [0x140092144]
call fcn.140040930
mov rbx, rax
test rax, rax
jne 0x140040b23
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140040c4f
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140040c4f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140040c4f
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140040c4f
cmp rdi, 0xffffffffffffffff
je 0x140040c4f
mov rcx, rdi
call fcn.140044e00
mov rbp, rax
test rax, rax
je 0x140040c4f
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140040c3c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400f3ce8]
test r8, r8
je 0x140040c31
movsx rdx, word [r8 + 0x60e0]
lea rcx, [r8 + 0x60e4]
mov r9d, dword [r8 + 0x3f68]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140040c26
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e0], cx
movsx rax, cx
lea rcx, [r8 + 0x60e4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60dc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140040c58
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140040c4a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140040c5a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret