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

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140026464
xor eax, eax
jmp 0x140026527
mov rbp, rbx
cmp word [rax], si
je 0x140026489
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140026470
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002646c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400200bc
movsxd r14, eax
test eax, eax
jne 0x1400264c7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002645d
mov rcx, r14
call fcn.14001f42c
mov rdi, rax
test rax, rax
jne 0x1400264e0
xor ecx, ecx
call fcn.14001efa8
jmp 0x1400264bc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400200bc
test eax, eax
jne 0x140026511
mov rcx, rdi
call fcn.14001efa8
jmp 0x14002651b
xor ecx, ecx
call fcn.14001efa8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400293f0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14001dbec
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140029491
cmp ebx, dword [rsp + 0x30]
je 0x14002948a
test esi, esi
je 0x14002948a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140029465
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140029472
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002944f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140029476
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140029493
mov eax, 1
jmp 0x140029493
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002c78c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140016b88
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002c816
cmp byte [rbp - 0x21], r15b
je 0x14002c811
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002c84c
call fcn.14001f7e4
test eax, eax
jne 0x14002c838
cmp byte [rbp - 0x21], r15b
je 0x14002c830
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002c84c
cmp byte [rbp - 0x21], r15b
je 0x14002c849
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140016a0c
test eax, eax
jne 0x14002c8ec
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140016b88
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002c88b
cmp byte [rbp - 0x21], r15b
je 0x14002c8c0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002c8c0
call fcn.14001f7e4
test eax, eax
jne 0x14002c8ac
cmp byte [rbp - 0x21], r15b
je 0x14002c8a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002c8c0
cmp byte [rbp - 0x21], r15b
je 0x14002c8bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140016a0c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002c8ec
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002c8ef
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002c8fd
mov rcx, rdi
call fcn.14001efa8
cmp byte [rbp + 0x3f], r15b
je 0x14002c90c
mov rcx, qword [rbp + 0x27]
call fcn.14001efa8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14002ce28
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.14002271c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002271c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002cf78
cmp rax, 0xffffffffffffffff
je 0x14002cf78
xor edi, edi
test rbp, rbp
jle 0x14002cf23
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140021230
mov rbx, rax
test rax, rax
jne 0x14002ceb0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002cf19
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aca8
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.14001eca0
cmp eax, 0xffffffff
je 0x14002cef9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002cec0
mov edx, r15d
mov ecx, r14d
call fcn.14001aca8
jmp 0x14002cf19
cmp byte [rsi + 0x38], dil
je 0x14002cf10
cmp dword [rsi + 0x34], 5
jne 0x14002cf10
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002cf19
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001efa8
jmp 0x14002cf8c
jns 0x14002cf8c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002271c
cmp rax, 0xffffffffffffffff
jne 0x14002cf44
cmp byte [rsi + 0x30], dil
je 0x14002cf8c
mov edi, dword [rsi + 0x2c]
jmp 0x14002cf8c
mov ecx, r14d
call fcn.140026e9c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002cf8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14002cf8c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002cf85
mov eax, dword [rsi + 0x2c]
jmp 0x14002cf8a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002271c
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 0x1400a3520
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400d48f0], rbx
je 0x1400a3587
cmp rax, rbx
jne 0x1400a357a
mov ebx, 1
mov esi, ebx
jmp 0x1400a358c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400a355f
mov ebx, 1
mov eax, dword [0x1400d48f8]
cmp eax, ebx
jne 0x1400a35a4
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x1400a3610
mov eax, dword [0x1400d48f8]
test eax, eax
jne 0x1400a3605
mov dword [0x1400d48f8], ebx
lea r15, [0x1400ac580]
lea rdi, [0x1400ac568]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400a35f7
test eax, eax
jne 0x1400a35fb
cmp qword [rdi], r14
je 0x1400a35ec
mov rax, qword [rdi]
mov rcx, qword [case.0x1400688bc.0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400a35ce
test eax, eax
je 0x1400a360b
mov eax, 0xff
jmp 0x1400a3766
mov dword [0x1400d26f0], ebx
mov edi, 0x1f
mov eax, dword [0x1400d48f8]
cmp eax, ebx
jne 0x1400a3637
lea rdx, [0x1400ac560]
lea rcx, [0x1400ac3f8]
call sub.msvcrt.dll__initterm
mov dword [0x1400d48f8], 2
test esi, esi
jne 0x1400a3645
mov rax, r14
xchg qword [0x1400d48f0], rax
cmp qword [0x1400d4910], r14
je 0x1400a3678
lea rcx, [0x1400d4910]
call fcn.1400a4070
test eax, eax
je 0x1400a3678
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400d4910]
mov r9, qword [case.0x1400688bc.0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400a3691
mov eax, 0xff
jmp 0x1400a3766
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x1400a3717
test ax, ax
je 0x1400a36ac
test edx, edx
jne 0x1400a3717
sub ax, bx
cmp ax, di
ja 0x1400a36c2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400a36ac
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000386c
mov dword [0x1400d26ec], eax
cmp dword [0x1400d2710], r14d
jne 0x1400a3700
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400d26f0], r14d
jne 0x1400a3715
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400d26ec]
jmp 0x1400a3766
cmp ax, 0x22
jne 0x1400a372b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400a369a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14017a000
add rsp, 0x28
jmp 0x1400a3520
Function at 0x14002934c
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.14001ca14
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ca14
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002949c
cmp rax, 0xffffffffffffffff
je 0x14002949c
xor edi, edi
test rbp, rbp
jle 0x140029447
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f340
mov rbx, rax
test rax, rax
jne 0x1400293d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002943d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a348
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.14001d6f0
cmp eax, 0xffffffff
je 0x14002941d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400293e4
mov edx, r15d
mov ecx, r14d
call fcn.14001a348
jmp 0x14002943d
cmp byte [rsi + 0x38], dil
je 0x140029434
cmp dword [rsi + 0x34], 5
jne 0x140029434
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002943d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b0dc
jmp 0x1400294b0
jns 0x1400294b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ca14
cmp rax, 0xffffffffffffffff
jne 0x140029468
cmp byte [rsi + 0x30], dil
je 0x1400294b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400294b0
mov ecx, r14d
call fcn.140018804
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400294b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400294b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400294a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400294ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ca14
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 0x1400017fc
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x140927160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409272e7
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 0x140927191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140927177
add dl, dl
jne 0x14092719e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409271fe
xor eax, eax
add dl, dl
jne 0x1409271ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409272b5
add dl, dl
jne 0x1409271be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409271cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409271d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409271e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409271f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140927186
mov eax, 1
add dl, dl
jne 0x14092720e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14092721b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140927203
sub eax, ebx
mov ebx, 1
jne 0x140927254
mov ecx, 1
add dl, dl
jne 0x140927236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140927243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14092722b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140927186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140927270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14092727d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140927265
cmp eax, 0x7d00
jae 0x1409272a3
cmp eax, 0x500
jb 0x14092729e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140927186
cmp eax, 0x7f
ja 0x1409272a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140927186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409272da
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 0x140927186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000b120
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14000b154
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14000b140
ret
Function at 0x140013de0
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 0x140013eac
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140013eac
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 0x140013ec5
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 0x140013e9c
cmp byte [rax], 0x5c
jne 0x140013e96
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140013e96
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140013e82
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140013e93
test r8b, 0x10
jne 0x140013e96
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140013e96
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14000d180
test edi, edi
jne 0x140013e00
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.14000d170
int3
Function at 0x1400500f0
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 0x140050112
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 0x14005018c
mov rdi, r14
mov rcx, rbx
call fcn.140053180
test rax, rax
jle 0x140050164
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.140208d60
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 0x14005017c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x140050184
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140050126
sub r14, rdi
jmp 0x14005026f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400501a3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400501a5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400501d7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140208d60
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 0x14005026c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140050212
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 0x14005024d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1401d5960
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14005026c
cmp rbp, rax
ja 0x140050220
test rbp, rbp
je 0x14005026c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1401d5960
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 0x1400613c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov r13, r9
mov qword [rsp + 0x30], r9
mov rax, r8
mov qword [rsp + 0x38], rax
mov r14, rcx
mov qword [rsp + 0x28], rdx
mov r15, rdx
lea rbp, [r8 - 1]
mov qword [rsp + 0x40], rbp
mov r12, rbp
sar r12, 1
cmp rdx, r12
jge 0x1400614c3
mov r13, rdx
nop word [rax + rax]
lea rdi, [r15 + r15]
lea rax, [rdi + 2]
lea rax, [rax + rax*4]
lea rsi, [r14 + rax*8]
lea rbp, [rsi - 0x28]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.1400082d0
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0x70], eax
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.1400082d0
mov eax, dword [rsi + 0x20]
mov dword [rsp + 0x98], eax
cmp eax, dword [rsp + 0x70]
setl bl
lea rcx, [rsp + 0x78]
call fcn.1400086c0
lea rcx, [rsp + 0x50]
call fcn.1400086c0
movzx r15d, bl
xor r15, 1
inc r15
add r15, rdi
test bl, bl
cmove rbp, rsi
lea rax, [r13*4]
add rax, r13
lea rbx, [r14 + rax*8]
mov rdx, rbp
mov rcx, rbx
call fcn.140008210
mov eax, dword [rbp + 0x20]
mov dword [rbx + 0x20], eax
mov r13, r15
cmp r15, r12
jl 0x140061410
mov r13, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, r15
cmp r15, r12
jne 0x1400614f4
test al, 1
jne 0x1400614f4
lea rax, [rax + rax*4]
lea rdi, [r14 + rax*8]
lea rax, [r15 + r15*4]
lea rbx, [r14 + rax*8]
lea rdx, [rdi - 0x28]
mov rcx, rbx
call fcn.140008210
mov eax, dword [rdi - 8]
mov dword [rbx + 0x20], eax
mov rsi, rbp
mov r15, qword [rsp + 0x28]
cmp r15, rsi
jge 0x14006159b
nop dword [rax]
nop word [rax + rax]
lea rbx, [rsi - 1]
sar rbx, 1
lea rax, [rbx + rbx*4]
lea rbp, [r14 + rax*8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.1400082d0
mov eax, dword [r13 + 0x20]
mov dword [rsp + 0x70], eax
mov rdx, rbp
lea rcx, [rsp + 0x78]
call fcn.1400082d0
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0x98], eax
cmp eax, dword [rsp + 0x70]
setl dil
lea rcx, [rsp + 0x78]
call fcn.1400086c0
lea rcx, [rsp + 0x50]
call fcn.1400086c0
test dil, dil
je 0x14006159b
lea rax, [rsi + rsi*4]
lea rdi, [r14 + rax*8]
mov rdx, rbp
mov rcx, rdi
call fcn.140008210
mov eax, dword [rbp + 0x20]
mov dword [rdi + 0x20], eax
mov rsi, rbx
cmp r15, rbx
jl 0x140061510
lea rax, [rsi + rsi*4]
lea rbx, [r14 + rax*8]
mov rdx, r13
mov rcx, rbx
call fcn.140008210
mov eax, dword [r13 + 0x20]
mov dword [rbx + 0x20], eax
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400663f0
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 0x14006644d
lea rbx, [0x1402a01a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140066434
cmp r10, 2
jb 0x140066434
cmp byte [r9], r8b
jne 0x140066434
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 0x140066410
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14006648f
lea rbx, [0x1402a01a0]
cmp r8b, 0x23
jne 0x140066473
cmp byte [r9], r8b
jne 0x140066473
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 0x140066460
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400665d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400665ea
mov qword [r8], 0
lea rdx, [0x1402a4774]
call fcn.1400664a0
mov rbx, rax
test rax, rax
jne 0x14006660a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1401dbc1c
mov esi, eax
cmp eax, 0xffffffff
je 0x1400666d8
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1401db220
test eax, eax
jne 0x1400666d8
mov rcx, rbx
call fcn.1401dbc1c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400666d8
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1401db220
test eax, eax
jne 0x1400666d8
cmp rdi, 0xffffffffffffffff
je 0x1400666d8
mov rax, qword [0x1402d9c50]
test rax, rax
je 0x14006667a
inc dword [rax + 0xf4]
mov rcx, rdi
call fcn.1401cfb70
mov rsi, rax
test rax, rax
je 0x1400666d8
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1401d5960
mov rcx, rbx
cmp rax, rdi
je 0x1400666c6
call fcn.1401d033c
mov rax, qword [0x1402d9c50]
test rax, rax
je 0x1400666bc
dec dword [rax + 0xf4]
mov rcx, rsi
call fcn.1401cf740
jmp 0x1400666e0
call fcn.1401d033c
test r14, r14
je 0x1400666d3
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400666e2
mov rcx, rbx
call fcn.1401d033c
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret