joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140089a98
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x140089b0b
cmp word [rcx], si
je 0x140089b0b
lea rdx, [0x1400dbab8]
call fcn.140099334
test eax, eax
je 0x140089b0b
lea rdx, [0x1400dbad0]
mov rcx, rbx
call fcn.140099334
test eax, eax
jne 0x140089b01
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140089b28
mov eax, dword [rsp + 0x30]
jmp 0x140089b3a
mov rcx, rbx
call fcn.1400690a0
jmp 0x140089b3a
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140089b2c
xor eax, eax
jmp 0x140089b3a
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x140089b3a
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140089b70
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.14007f410
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140089c13
cmp edi, dword [rsp + 0x30]
je 0x140089c0c
test ebp, ebp
je 0x140089c0c
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x140089be8
sub dx, 0x61
cmp dx, 0x19
ja 0x140089bf4
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x140089bd5
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x140089bf8
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x140089c15
mov eax, 1
jmp 0x140089c15
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14008b900
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 0x14008b930
xor eax, eax
jmp 0x14008b9f3
mov rbp, rbx
cmp word [rax], si
je 0x14008b955
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14008b93c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14008b938
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.14008b798
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x14008b996
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14008b929
call fcn.140081f20
mov rdi, rax
test rax, rax
jne 0x14008b9ac
xor ecx, ecx
call fcn.140081150
jmp 0x14008b98b
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.14008b798
test eax, eax
jne 0x14008b9dd
mov rcx, rdi
call fcn.140081150
jmp 0x14008b9e7
xor ecx, ecx
call fcn.140081150
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 0x14008ba10
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 0x14008ba97
mov rsi, rbx
cmp word [rax], bp
je 0x14008ba56
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14008ba40
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14008ba3c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140081f20
mov rdi, rax
test rax, rax
je 0x14008ba84
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400a0710
mov rbp, rdi
xor ecx, ecx
call fcn.140081150
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 0x14008dca8
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
mov rbp, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ebx, eax
test eax, eax
je 0x14008dcf0
test rdi, rdi
je 0x14008dcdf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140085acc
cmp eax, 1
je 0x14008dcf0
mov eax, 4
jmp 0x14008dd35
call fcn.140085a88
cmp eax, 2
jne 0x14008dd2c
call fcn.14007dfe8
test al, al
je 0x14008dd2c
call fcn.14007e304
test al, al
jne 0x14008dd22
bts esi, 0x15
xor ecx, ecx
mov rdx, rdi
mov r8, rbp
mov r9d, esi
call fcn.14007dcb0
jmp 0x14008dd35
call fcn.14007e26c
mov rcx, rax
jmp 0x14008dd12
neg ebx
sbb eax, eax
neg eax
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14008e5a4
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.140066de8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14008e62e
cmp byte [rbp - 0x21], r15b
je 0x14008e629
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14008e664
call fcn.14007d31c
test eax, eax
jne 0x14008e650
cmp byte [rbp - 0x21], r15b
je 0x14008e648
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14008e664
cmp byte [rbp - 0x21], r15b
je 0x14008e661
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.14006887c
test eax, eax
jne 0x14008e704
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140066de8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14008e6a3
cmp byte [rbp - 0x21], r15b
je 0x14008e6d8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14008e6d8
call fcn.14007d31c
test eax, eax
jne 0x14008e6c4
cmp byte [rbp - 0x21], r15b
je 0x14008e6bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14008e6d8
cmp byte [rbp - 0x21], r15b
je 0x14008e6d5
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.14006887c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14008e704
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14008e707
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14008e715
mov rcx, rdi
call fcn.140081150
cmp byte [rbp + 0x3f], r15b
je 0x14008e724
mov rcx, qword [rbp + 0x27]
call fcn.140081150
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 0x140090708
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
xor edi, edi
mov rax, r15
lea rcx, [0x1400f3e60]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x14009075e
cmp word [rdx], r9w
jne 0x14009075e
or byte [rax + rbp*8 + 0x38], 4
jmp 0x140090763
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x1400908e2
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x1400908ad
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x1400907ab
cmp rcx, r8
jae 0x1400907cb
cmp word [rcx], r9w
jne 0x1400907ab
add rax, 4
mov edx, r9d
jmp 0x1400907ae
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x140090780
jmp 0x1400908e2
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400908a6
cmp dword [rsp + 0x80], edi
je 0x1400908a6
lea r9, [0x1400f3e60]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x140090880
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x140090833
mov word [rbx], bp
jmp 0x1400908df
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x14009084e
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x1400908df
cmp word [rsp + 0x70], bp
jne 0x14009088c
cmp rbx, rsi
je 0x14009082b
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140090fc4
cmp word [rsp + 0x70], bp
je 0x1400908e2
mov word [rbx], 0xd
jmp 0x1400908df
mov rcx, r15
lea r9, [0x1400f3e60]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400908dc
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400908e2
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
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
Function at 0x140091698
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400916ae
mov al, 1
jmp 0x14009171a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400916bf
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140091718
mov ecx, dword [rcx + 0x18]
nop
call fcn.14008def8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140091718
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140091718
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140091718
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14009171a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14009dd58
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.140090fc4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140090fc4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14009dea5
cmp rax, 0xffffffffffffffff
je 0x14009dea5
xor edi, edi
test rbp, rbp
jle 0x14009de53
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140081db0
mov rbx, rax
test rax, rax
jne 0x14009dde0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14009de49
mov edx, 0x8000
mov ecx, r14d
call fcn.140065e00
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.140093a60
cmp eax, 0xffffffff
je 0x14009de29
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14009ddf0
mov edx, r15d
mov ecx, r14d
call fcn.140065e00
jmp 0x14009de49
cmp byte [rsi + 0x38], dil
je 0x14009de40
cmp dword [rsi + 0x34], 5
jne 0x14009de40
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14009de49
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140081150
jmp 0x14009deb7
jns 0x14009deb7
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140090fc4
cmp rax, 0xffffffffffffffff
jne 0x14009de71
cmp byte [rsi + 0x30], dil
je 0x14009deb7
jmp 0x14009dead
mov ecx, r14d
call fcn.14008def8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14009deb7
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 0x14009deb7
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14009deb2
mov edi, dword [rsi + 0x2c]
jmp 0x14009deb7
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140090fc4
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 0x1400072a0
Capabilities:
Reference processor manufacturer constants

Disassembly:
mov r11, rsp
push rbx
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400ab900]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [r11 + 8], rbp
xor ecx, ecx
xorps xmm0, xmm0
cpuid
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x40], eax
mov r8, 0xffffffffffffffff
xor eax, eax
mov dword [rsp + 0x40], ebx
movups xmmword [rsp + 0x20], xmm0
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
lea rax, [r11 - 0x38]
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x48], ecx
mov byte [rsp + 0x4c], 0
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140007300
mov qword [rsp + 0x88], rsi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x90], r15
call fcn.14000d040
mov r14, qword [rsp + 0x38]
lea rbx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
cmp r14, 0xf
mov rbp, qword [rsp + 0x30]
cmova rbx, rdi
cmp rbp, 6
jb 0x1400073a3
lea rsi, [rbx + rbp]
mov edx, 0x56
lea r8, [rsi - 5]
mov rcx, rbx
sub r8, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400073a3
cmp dword [rax], 0x61774d56
jne 0x140007378
cmp word [rax + 4], 0x6572
je 0x140007396
inc rax
lea r8, [rsi - 5]
sub r8, rax
mov rcx, rax
mov edx, 0x56
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140007368
jmp 0x1400073a3
sub rax, rbx
cmp rax, 0xffffffffffffffff
jne 0x1400074cf
cmp r14, 0xf
lea rbx, [rsp + 0x20]
cmova rbx, rdi
cmp rbp, 9
jb 0x140007416
lea rsi, [rbx + rbp]
mov edx, 0x4b
lea r8, [rsi - 8]
mov rcx, rbx
sub r8, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140007416
movabs r15, 0x564b4d564b4d564b
nop dword [rax]
cmp qword [rax], r15
jne 0x1400073eb
cmp byte [rax + 8], 0x4d
je 0x140007409
inc rax
lea r8, [rsi - 8]
sub r8, rax
mov rcx, rax
mov edx, 0x4b
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400073e0
jmp 0x140007416
sub rax, rbx
cmp rax, 0xffffffffffffffff
jne 0x1400074cf
cmp r14, 0xf
lea rbx, [rsp + 0x20]
cmova rbx, rdi
cmp rbp, 0xc
jb 0x14000747a
lea rsi, [rbx + rbp]
mov edx, 0x4d
lea r8, [rsi - 0xb]
mov rcx, rbx
sub r8, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14000747a
movabs rbp, 0x666f736f7263694d
cmp qword [rax], rbp
jne 0x14000745e
cmp dword [rax + 8], 0x76482074
je 0x1400074c6
inc rax
lea r8, [rsi - 0xb]
sub r8, rax
mov rcx, rax
mov edx, 0x4d
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140007450
mov bl, 1
mov r15, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
cmp r14, 0xf
jbe 0x1400074db
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400074d3
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400074d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rax, rbx
cmp rax, 0xffffffffffffffff
je 0x14000747a
xor bl, bl
jmp 0x14000747c
mov rcx, rdi
call fcn.140082040
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140081950
add rsp, 0x60
pop r14
pop rdi
pop rbx
ret
Function at 0x140007500
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x1400ab900]
xor rax, rsp
mov qword [rbp + 0x240], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x40], xmm1
mov r8d, listen
lea rdx, str.vmtoolsd.exe
lea rcx, [rsp + 0x30]
call fcn.14000cc30
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x60], xmm1
mov r8d, select
lea rdx, str.vmwaretray.exe
lea rcx, [rsp + 0x50]
call fcn.14000cc30
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x80], xmm1
mov r8d, select
lea rdx, str.vmwareuser.exe
lea rcx, [rsp + 0x70]
call fcn.14000cc30
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x60], xmm1
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.VBoxService.exe
lea rcx, [rbp - 0x70]
call fcn.14000cc30
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm1
mov r8d, listen
lea rdx, str.VBoxTray.exe
lea rcx, [rbp - 0x50]
call fcn.14000cc30
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov ecx, 0xa0
call fcn.140081cf4
mov rbx, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea rcx, [rax + 0xa0]
mov qword [rbp - 0x20], rcx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
lea rax, [rbp - 0x30]
mov qword [rbp - 8], rax
mov rdx, rdi
mov rcx, rbx
call fcn.14000a330
add rbx, 0x20
mov qword [rbp - 0x10], rbx
add rdi, 0x20
lea rax, [rbp - 0x30]
cmp rdi, rax
jne 0x140007655
mov rdx, rbx
mov rcx, rbx
call fcn.14000d140
mov qword [rbp - 0x28], rbx
lea r9, [fcn.140002160]
mov edx, 0x20
mov r8d, 5
lea rcx, [rsp + 0x30]
call fcn.140081d30
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000771e
mov dword [rbp], 0x238
lea rdx, [rbp]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140007715
nop
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
cmp rbx, rdi
je 0x140007704
nop dword [rax]
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400076ed
mov rdx, qword [rbx]
lea rcx, [rbp + 0x2c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140007754
add rbx, 0x20
cmp rbx, rdi
jne 0x1400076e0
lea rdx, [rbp]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400076d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea rcx, [rbp - 0x30]
call fcn.14000ab10
movzx eax, bl
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140081950
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x140007720
Function at 0x140018c60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140018cc1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140018c80
mov ecx, dword [r9]
jmp 0x140018dab
cmp ecx, 0x4e0
jb 0x140018dab
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140018ce0
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 0x140018d30
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 0x1400249f0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140024ad2
call fcn.140040b10
test al, al
jne 0x140024ad2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x140024a22
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.14004bf30
test rax, rax
je 0x140024a67
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.14004bf30
mov rsi, rax
test rax, rax
je 0x140024a67
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x140024a9b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.14003a980
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x140024a80
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret