joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a8b4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001a8ca
mov al, 1
jmp 0x14001a92a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001a8db
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001a928
mov ecx, dword [rcx + 0x18]
nop
call fcn.140020af4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001a928
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001a928
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001a928
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001a92a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001a9fc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14003e570]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001aa53
cmp word [rdx], r13w
jne 0x14001aa53
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001aa58
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001ab7d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001ab9e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001aa91
mov rdx, r9
mov word [rbx], cx
jmp 0x14001aab8
cmp r9, r8
jae 0x14001aac8
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001aa72
jmp 0x14001ab7d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001ab72
cmp dword [rsp + 0x80], esi
je 0x14001ab72
lea r8, [0x14003e570]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001ab4a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001ab1a
mov word [rbx], r13w
jmp 0x14001ab7a
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001ab27
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001ab7a
cmp word [rsp + 0x70], r13w
jne 0x14001ab57
cmp rbx, r14
je 0x14001ab14
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001b664
cmp word [rsp + 0x70], r13w
je 0x14001ab7d
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14003e570]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001ab77
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001ab7d
Function at 0x14002008c
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 0x1400200bc
xor eax, eax
jmp 0x14002017f
mov rbp, rbx
cmp word [rax], si
je 0x1400200e1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400200c8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400200c4
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.14001e68c
movsxd r14, eax
test eax, eax
jne 0x14002011f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400200b5
mov rcx, r14
call fcn.140018250
mov rdi, rax
test rax, rax
jne 0x140020138
xor ecx, ecx
call fcn.140018214
jmp 0x140020114
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.14001e68c
test eax, eax
jne 0x140020169
mov rcx, rdi
call fcn.140018214
jmp 0x140020173
xor ecx, ecx
call fcn.140018214
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 0x140023048
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.140017eb4
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 0x1400230e9
cmp ebx, dword [rsp + 0x30]
je 0x1400230e2
test esi, esi
je 0x1400230e2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400230bd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400230ca
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400230a7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400230ce
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400230eb
mov eax, 1
jmp 0x1400230eb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140026e24
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.140013858
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140026eae
cmp byte [rbp - 0x21], r15b
je 0x140026ea9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140026ee4
call fcn.1400185f0
test eax, eax
jne 0x140026ed0
cmp byte [rbp - 0x21], r15b
je 0x140026ec8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140026ee4
cmp byte [rbp - 0x21], r15b
je 0x140026ee1
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.140013e3c
test eax, eax
jne 0x140026f84
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140013858
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140026f23
cmp byte [rbp - 0x21], r15b
je 0x140026f58
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140026f58
call fcn.1400185f0
test eax, eax
jne 0x140026f44
cmp byte [rbp - 0x21], r15b
je 0x140026f3d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140026f58
cmp byte [rbp - 0x21], r15b
je 0x140026f55
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.140013e3c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140026f84
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140026f87
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140026f95
mov rcx, rdi
call fcn.140018214
cmp byte [rbp + 0x3f], r15b
je 0x140026fa4
mov rcx, qword [rbp + 0x27]
call fcn.140018214
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 0x140027240
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.14001b664
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b664
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027390
cmp rax, 0xffffffffffffffff
je 0x140027390
xor edi, edi
test rbp, rbp
jle 0x14002733b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400182b0
mov rbx, rax
test rax, rax
jne 0x1400272c8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027331
mov edx, 0x8000
mov ecx, r14d
call fcn.140015214
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.14001a34c
cmp eax, 0xffffffff
je 0x140027311
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400272d8
mov edx, r15d
mov ecx, r14d
call fcn.140015214
jmp 0x140027331
cmp byte [rsi + 0x38], dil
je 0x140027328
cmp dword [rsi + 0x34], 5
jne 0x140027328
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027331
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140018214
jmp 0x1400273a4
jns 0x1400273a4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b664
cmp rax, 0xffffffffffffffff
jne 0x14002735c
cmp byte [rsi + 0x30], dil
je 0x1400273a4
mov edi, dword [rsi + 0x2c]
jmp 0x1400273a4
mov ecx, r14d
call fcn.140020af4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400273a4
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 0x1400273a4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002739d
mov eax, dword [rsi + 0x2c]
jmp 0x1400273a2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b664
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 0x140028b20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028b48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028b48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140004ff0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14009b020]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x20]
call fcn.140003460
cmp qword [rax + 0x18], 8
jb 0x140005019
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rsp + 0x38]
test eax, eax
setne bl
cmp rdx, 8
jb 0x140005065
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005060
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000507b
call fcn.140014b60
movzx eax, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140014b40
add rsp, 0x50
pop rbx
ret
call fcn.140025408
int3
Function at 0x140006700
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r12
push r14
mov eax, 0x1080
call fcn.140015440
sub rsp, rax
mov rax, qword [0x14009b020]
xor rax, rsp
mov qword [rsp + 0x1050], rax
xor ebp, ebp
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r8
mov r12, rdx
mov r14, rcx
test rdx, rdx
jne 0x140006744
mov rcx, rbp
jmp 0x140006840
mov rdx, qword [0x1400a9f28]
lea r8, [rsp + 0x50]
mov r9, r12
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], 0x1000
call fcn.140010530
test al, al
je 0x14000673c
mov qword [rsp + 0x1078], rsi
mov qword [rsp + 0x1070], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1068], r13
mov qword [rsp + 0x1060], r15
inc rdi
cmp byte [r14 + rdi], bpl
jne 0x140006796
movsxd rax, dword [rsp + 0x8c]
lea rcx, [rsp + 0x50]
add rcx, rax
mov qword [rsp + 0x10a0], rbx
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r13, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r13, rax
test r15d, r15d
je 0x140006815
nop
mov eax, esi
mov r8, rdi
mov rdx, r14
lea rcx, [rax + rax*4]
lea rbx, [rcx*8]
add rbx, r13
mov rcx, rbx
call fcn.14001b960
test eax, eax
jne 0x14000680e
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], bpl
jne 0x140006800
cmp rdi, rax
je 0x14000686e
inc esi
cmp esi, r15d
jb 0x1400067d0
mov rcx, rbp
mov rbx, qword [rsp + 0x10a0]
mov rdi, qword [rsp + 0x1070]
mov rsi, qword [rsp + 0x1078]
mov r13, qword [rsp + 0x1068]
mov r15, qword [rsp + 0x1060]
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov edx, ebp
call fcn.140006650
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140014b40
add rsp, 0x1080
pop r14
pop r12
pop rbp
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x140006815
mov ecx, dword [rbx + 8]
mov edx, eax
lea rax, [rsp + 0x50]
add rax, rdx
je 0x140006815
test ecx, ecx
je 0x140006815
mov ebp, ecx
lea rcx, [rdx + r12]
jmp 0x140006818
Function at 0x14000c210
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx ebx, dl
movzx edi, r8b
mov rdx, rcx
call fcn.140011620
mov rcx, rax
call fcn.14000cf60
test bl, bl
je 0x14000c23a
call fcn.140004ff0
test dil, dil
je 0x14000c244
call fcn.140005090
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14000cae0
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x14009b020]
xor rax, rsp
mov qword [rbp - 8], rax
mov rcx, qword [0x1400a8110]
cmp rcx, 0xffffffffffffffff
je 0x14000cb15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400a8110], 0xffffffffffffffff
lea rcx, [0x1400a8158]
call fcn.140004820
test eax, eax
js 0x14000cb3f
call fcn.140004ff0
test al, al
je 0x14000cb3f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
movdqa xmm1, xmmword [0x140094e80]
mov dl, 0x2f
movd ecx, xmm1
movzx r11d, dl
movdqu xmmword [rbp - 0x20], xmm1
mov r8b, 0x34
mov byte [rbp - 0xb], 0
xor byte [rbp - 0x1e], cl
xor dl, cl
xor byte [rbp - 0x1d], cl
xor r8b, cl
xor byte [rbp - 0x1c], cl
xor r11b, cl
xor byte [rbp - 0x1b], cl
movdqa xmm0, xmm1
xor byte [rbp - 0x1a], cl
mov r9b, 0x2b
xor byte [rbp - 0x19], cl
xor r9b, cl
xor byte [rbp - 0x18], cl
mov r10b, 0x38
xor byte [rbp - 0x17], cl
xor r10b, cl
xor byte [rbp - 0x16], cl
xor byte [rbp - 0x15], cl
xor byte [rbp - 0x14], cl
xor byte [rbp - 0x13], cl
xor byte [rbp - 0x12], cl
xor byte [rbp - 0x11], cl
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 0x10], dl
mov dl, 1
mov byte [rbp - 0xf], r8b
xor r8d, r8d
xor al, cl
mov byte [rbp - 0xe], r9b
lea rcx, [rbp - 0x1f]
mov byte [rbp - 0x1f], al
mov byte [rbp - 0xd], r10b
mov byte [rbp - 0xc], r11b
call fcn.14000c210
int3
Function at 0x140013410
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1400135d2
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140012fd0
mov rcx, qword [rsi + 8]
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x140013597
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x140013503
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x140013586
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x140013540
mov r10, qword [rax]
cmp r10, rcx
je 0x14001353a
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x140013586
mov r8, rax
cmp r10, rax
je 0x140013562
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x1400135ac
cmp r10, rax
jne 0x140013550
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1400134b0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x140013586
lea rcx, str.invalid_hash_bucket_count
call fcn.140013c98
int3
Function at 0x140013820
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140013892
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140013850
mov ecx, dword [r10]
jmp 0x140013993
cmp ecx, 0x270
jb 0x140013993
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
mov rdx, qword [rbx + 8]
lea r8, [rbx + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx + 0x4e0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x1400138c0
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov rax, qword [rbx]
nop
mov rdx, rax
lea r8, [rbx + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx - 0xea0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x140013910
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
mov rdi, qword [rsp]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret

Function at 0x1400139f0
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x36
syscall
ret
Function at 0x140029890
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140029680
Function at 0x140030550
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 0x140030582
call fcn.1400262f4
mov dword [rax], 0x16
call fcn.1400253e8
jmp 0x1400306a1
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400306a1
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400306a1
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400305b1
lock or dword [rcx + 0x14], 0x10
jmp 0x1400306a1
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400305c5
call fcn.140030c4c
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14002c9dc
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140031164
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14003068f
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14003065a
mov rcx, rsi
call fcn.14002c9dc
cmp eax, edi
je 0x140030645
mov rcx, rsi
call fcn.14002c9dc
cmp eax, 0xfffffffe
je 0x140030645
mov rcx, rsi
call fcn.14002c9dc
movsxd rbx, eax
lea r14, [0x1400a9790]
mov rcx, rsi
sar rbx, 6
call fcn.14002c9dc
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14003064c
lea rdx, [0x14009b3f0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14003065a
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14003067e
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14003067e
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14003067e
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 0x1400306a4
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 0x1400309cc
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.140015440
sub rsp, rax
mov rax, qword [0x14009b020]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14002c9dc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140030a1b
mov rax, rbp
jmp 0x140030b23
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 + 0xa9790]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14003193c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xa9790]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140030b1f
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 0x140030b1f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14003193c
test rax, rax
js 0x140030b1f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140030b1f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140030b11
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140030b11
cmp byte [rcx], 0xd
jne 0x140030af7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140030b06
cmp byte [rcx + 1], 0xa
jne 0x140030b06
inc rcx
jmp 0x140030b06
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x9b440]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140030ad9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140030b23
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140014b40
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret