joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800032d0
Capabilities:
Set registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov esi, r8d
mov edi, r9d
mov r14, qword [rbp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.180053040
nop
mov qword [rbp - 0x50], r14
test rbx, rbx
jne 0x18000332d
xor edx, edx
jmp 0x180003331
lea rdx, [rbx + 0xc]
mov qword [rbp - 0x58], rdx
mov rcx, qword [rbp - 0x48]
mov qword [rsp + 0x20], r14
mov ebx, dword [rbp + 0x38]
mov dword [rsp + 0x28], ebx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x90], rcx
mov qword [rbp - 0x98], rdx
mov r8d, esi
mov dword [rbp - 0x84], r8d
mov r9d, edi
mov dword [rbp - 0x88], r9d
lea rcx, [rbp - 0x80]
call fcn.1800e0750
mov rcx, qword [rbp - 0x90]
mov rdx, qword [rbp - 0x98]
mov r8d, dword [rbp - 0x84]
mov r9d, dword [rbp - 0x88]
call sub.ADVAPI32.dll_RegSetValueExW
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.1800e07a0
nop
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1800033c0
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.180053080
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x180003460
Capabilities:
Set registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov esi, r8d
mov edi, r9d
mov r14, qword [rbp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.180053040
nop
test r14, r14
jne 0x1800034b9
xor ecx, ecx
jmp 0x1800034bd
lea rcx, [r14 + 0xc]
mov qword [rbp - 0x50], rcx
test rbx, rbx
jne 0x1800034ca
xor edx, edx
jmp 0x1800034ce
lea rdx, [rbx + 0xc]
mov qword [rbp - 0x58], rdx
mov r8, qword [rbp - 0x48]
mov qword [rsp + 0x20], rcx
mov ebx, dword [rbp + 0x38]
mov dword [rsp + 0x28], ebx
mov rcx, qword [r8 + 8]
mov qword [rbp - 0x90], rcx
mov qword [rbp - 0x98], rdx
mov r8d, esi
mov dword [rbp - 0x84], r8d
mov r9d, edi
mov dword [rbp - 0x88], r9d
lea rcx, [rbp - 0x80]
call fcn.1800e0750
mov rcx, qword [rbp - 0x90]
mov rdx, qword [rbp - 0x98]
mov r8d, dword [rbp - 0x84]
mov r9d, dword [rbp - 0x88]
call sub.ADVAPI32.dll_RegSetValueExW
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.1800e07a0
nop
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x18000355d
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.180053080
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x180005740
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
xor ecx, ecx
mov dword [r9], ecx
mov qword [rbp - 0x40], r9
mov r14, r9
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x74], rcx
mov rdx, rsi
mov qword [rbp - 0x7c], rdx
mov r8d, edi
mov dword [rbp - 0x6c], r8d
mov r9, r14
mov qword [rbp - 0x84], r9
lea rcx, [rbp - 0x68]
call fcn.1800e0750
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8d, dword [rbp - 0x6c]
mov r9, qword [rbp - 0x84]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.1800e07a0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1802083fc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x18000580c
mov dword [rdi + 0x98], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x180059750]
call rax
mov rdi, rax
jmp 0x1800057f3

Function at 0x180005910
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
xor ecx, ecx
mov dword [r9], ecx
mov qword [rbp - 0x40], r9
mov r14, r9
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x74], rcx
mov rdx, rsi
mov qword [rbp - 0x7c], rdx
mov r8d, edi
mov dword [rbp - 0x6c], r8d
mov r9, r14
mov qword [rbp - 0x84], r9
lea rcx, [rbp - 0x68]
call fcn.1800e0750
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8d, dword [rbp - 0x6c]
mov r9, qword [rbp - 0x84]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.1800e07a0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1802083fc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1800059dc
mov dword [rdi + 0x98], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x180059750]
call rax
mov rdi, rax
jmp 0x1800059c3
Function at 0x180007400
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbx], edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.180053040
nop
mov qword [rbp - 0x50], rbx
lea r14, [rsi + 0x10]
xor ecx, ecx
test rsi, rsi
cmove r14, rcx
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r15d
mov rcx, rsi
mov qword [rbp - 0x8c], rcx
mov rdx, r14
mov qword [rbp - 0x94], rdx
mov r8d, edi
mov dword [rbp - 0x84], r8d
mov r9, rbx
mov qword [rbp - 0x9c], r9
lea rcx, [rbp - 0x80]
call fcn.1800e0750
mov rcx, qword [rbp - 0x8c]
mov rdx, qword [rbp - 0x94]
mov r8d, dword [rbp - 0x84]
mov r9, qword [rbp - 0x9c]
call sub.KERNEL32.dll_K32EnumProcessModulesEx
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.1800e07a0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x180007508
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.180053080
mov rax, qword gs:[0x58]
mov ecx, dword [0x1802083fc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x180007545
mov dword [rdi + 0x98], esi
movzx eax, bl
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x180059750]
call rax
mov rdi, rax
jmp 0x180007528

Function at 0x180009860
Capabilities:
Enumerate process modules

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x180226a20]
cmp qword [rcx - 8], 0
jne 0x18000989e
mov rcx, rbx
call fcn.180009610
test eax, eax
jne 0x18000988c
add rsp, 0x20
pop rbx
jmp fcn.18000a8c0
mov rcx, rbx
mov edx, 1
add rsp, 0x20
pop rbx
jmp fcn.18000a840
call fcn.1800daf96
jmp 0x180009876
Function at 0x18000a8c0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
lea rcx, [0x180226e10]
cmp qword [rcx - 8], 0
jne 0x18000aa62
mov rbx, qword [0x1801fb8e8]
mov qword [rbp - 0x80], rbx
mov rcx, qword [rbx + 8]
mov edx, pe_nt_image_headers64
cmp dword [rcx], ecx
call fcn.1800adca0
mov rsi, rax
mov rcx, qword gs:[0x58]
mov eax, dword [0x1802083fc]
mov edx, 0x10
add rdx, qword [rcx + rax*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x18000aa6c
mov qword [rbp - 0x88], rdi
jmp 0x18000a968
add r14d, r14d
mov rbx, qword [rbp - 0x80]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp - 0x78]
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.1800adf00
mov rcx, qword [rbx + 8]
mov edx, r14d
cmp dword [rcx], ecx
call fcn.1800adca0
mov rsi, rax
mov r14d, dword [rsi + 8]
lea r15d, [r14*4]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
lea r13, [rbp - 0x3c]
mov qword [rbp - 0x78], rsi
lea r12, [rsi + 0x10]
mov qword [rbp - 0x48], r12
call sub.KERNEL32.dll_SetLastError
mov rcx, r12
mov qword [rbp - 0x94], rcx
mov edx, r15d
mov dword [rbp - 0x8c], edx
mov r8, r13
mov qword [rbp - 0x9c], r8
lea rcx, [rbp - 0x70]
call fcn.1800e0750
mov rcx, qword [rbp - 0x94]
mov edx, dword [rbp - 0x8c]
mov r8, qword [rbp - 0x9c]
call sub.KERNEL32.dll_K32EnumProcesses
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.1800e07a0
call sub.KERNEL32.dll_GetLastError
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov rdi, qword [rbp - 0x88]
mov dword [rdi + 0x98], eax
test ebx, ebx
je 0x18000aa80
cmp dword [rbp - 0x3c], r15d
je 0x18000a93e
mov rsi, qword [rbp - 0x78]
mov edx, dword [rbp - 0x3c]
sar edx, 0x1f
and edx, 3
add edx, dword [rbp - 0x3c]
sar edx, 2
movsxd rdx, edx
lea rcx, [0x180249880]
call fcn.1800deb60
mov rdi, rax
mov r8d, dword [rdi + 8]
mov rcx, rsi
mov rdx, rdi
call fcn.1800163c0
mov rbx, qword [rbp - 0x80]
mov rcx, qword [rbx + 8]
mov rdx, rsi
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.1800adf00
mov rax, rdi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1800dba34
jmp 0x18000a8f3
mov rcx, rdx
lea rax, [0x180059750]
call rax
mov rdi, rax
jmp 0x18000a935
lea rcx, [0x18022cc68]
call fcn.1800dea40
mov rbx, rax
mov rcx, rbx
call fcn.180026640
mov rcx, rbx
call fcn.1800defc0
int3
Function at 0x18000c950
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x64], r8d
mov rdx, rcx
mov qword [rbp - 0x70], rdx
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov r9d, 2
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0x60]
call fcn.1800e0750
mov r8d, dword [rbp - 0x64]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov r9d, dword [rbp - 0x68]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.1800e07a0
test ebx, ebx
jne 0x18000c9c4
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
je 0x18000c9ec
lea rcx, [0x18022b3e8]
call fcn.1800dea40
mov rbx, rax
mov rcx, rbx
call fcn.18001b710
mov rcx, rbx
call fcn.1800defc0
int3
lea rcx, [0x18022bb40]
call fcn.1800dea40
mov rbx, rax
mov rcx, rbx
call fcn.18001f3f0
mov rcx, rbx
call fcn.1800defc0
int3

Function at 0x18000cec0
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rbx, rcx
mov eax, dword [rbx + 0x38]
cmp eax, 0xffffffff
jne 0x18000cf67
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.18005f0b0
mov ecx, eax
test ecx, ecx
jne 0x18000cf6e
xor eax, eax
mov ecx, 0x40000000
test byte [rbp - 0x10], 0x30
cmove eax, ecx
mov ecx, eax
or ecx, 0x80000000
test byte [rbp - 0x10], 2
cmovne eax, ecx
mov ecx, eax
or ecx, 0x10000000
test dword [rbp - 0x10], 0x800
cmovne eax, ecx
mov ecx, eax
or ecx, 0x8000000
test byte [rbp - 0x10], 4
cmovne eax, ecx
mov ecx, eax
or ecx, 0x4000000
test dword [rbp - 0x10], 0x1000
cmovne eax, ecx
mov ecx, eax
or ecx, 0x20000000
test byte [rbp - 0x10], 8
cmovne eax, ecx
mov dword [rbx + 0x38], eax
add rsp, 0x48
pop rbx
pop rbp
ret
add rsp, 0x48
pop rbx
pop rbp
ret
call fcn.18005ef80
mov ecx, eax
lea rdx, [0x180209720]
xor r8d, r8d
call fcn.18004a840
mov rcx, rax
call fcn.1800defc0
int3

Function at 0x18000ffc0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x18000ffd2
add rsp, 0x28
jmp fcn.180010820
lea rcx, [0x18021f0f0]
call fcn.180019470
int3

Function at 0x18000ffe0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x180010000
cmp dword [rcx + 8], 0
je 0x18000fff8
add rsp, 0x28
jmp fcn.180010360
mov rax, rcx
add rsp, 0x28
ret
lea rcx, [0x18021e4e8]
call fcn.180019470
int3
Function at 0x180010220
Capabilities:
Get session user name

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rcx
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov rcx, qword gs:[0x58]
mov eax, dword [0x1802083fc]
mov edx, 0x10
add rdx, qword [rcx + rax*8]
mov rsi, qword [rdx]
test rsi, rsi
je 0x18001033f
mov qword [rbp - 0x78], rsi
jmp 0x18001027b
sub edx, dword [rbx + 8]
mov rcx, rbx
call fcn.180042fb0
mov qword [rbp + 0x10], rbx
mov rdi, qword [rbx + 0x10]
lea r14, [rbp - 0x3c]
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r8, r14
mov qword [rbp - 0x84], r8
mov rdx, rdi
mov qword [rbp - 0x8c], rdx
mov ecx, 2
mov dword [rbp - 0x7c], ecx
lea rcx, [rbp - 0x70]
call fcn.1800e0750
mov r8, qword [rbp - 0x84]
mov rdx, qword [rbp - 0x8c]
mov ecx, dword [rbp - 0x7c]
call sub.Secur32.dll_GetUserNameExW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.1800e07a0
movzx ebx, bl
call sub.KERNEL32.dll_GetLastError
xor edx, edx
mov qword [rbp - 0x48], rdx
mov rsi, qword [rbp - 0x78]
mov dword [rsi + 0x98], eax
test ebx, ebx
je 0x18001030f
mov edx, dword [rbp - 0x3c]
mov rbx, qword [rbp + 0x10]
mov dword [rbx + 8], edx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp dword [rsi + 0x98], 0xea
je 0x180010326
xor edx, edx
mov rbx, qword [rbp + 0x10]
mov dword [rbx + 8], edx
jmp 0x1800102fe
mov edx, dword [rbp - 0x3c]
test edx, edx
jl 0x180010353
mov rbx, qword [rbp + 0x10]
cmp edx, dword [rbx + 0x18]
jbe 0x18001027b
jmp 0x180010270
mov rcx, rdx
lea rax, [0x180059750]
call rax
mov rsi, rax
jmp 0x18001026a
call fcn.18005c1e0
int3
Function at 0x180010360
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp + 0x60], xmm4
movaps xmmword [rbp + 0x70], xmm4
mov qword [rbp + 0x80], rax
mov rax, qword [0x1801fc700]
mov qword [rbp + 0x20], rax
mov rbx, rcx
test dword [rsp], esp
sub rsp, 0x100
lea rcx, [rsp + 0x20]
mov qword [rbp + 0x78], rcx
mov dword [rbp + 0x80], 0x80
xor ecx, ecx
mov dword [rbp + 0x70], ecx
mov rcx, qword gs:[0x58]
mov eax, dword [0x1802083fc]
mov edx, 0x10
add rdx, qword [rcx + rax*8]
mov rsi, qword [rdx]
test rsi, rsi
je 0x1800104eb
mov qword [rbp + 0x28], rsi
jmp 0x1800103ff
mov edx, ebx
mov rbx, qword [rbp + 0xd0]
sub edx, dword [rbp + 0x70]
lea rcx, [rbp + 0x68]
call fcn.180042fb0
mov rdi, qword [rbp + 0x78]
mov r14d, dword [rbp + 0x80]
mov qword [rbp + 0x60], rdi
test rbx, rbx
je 0x180010420
mov qword [rbp + 0xd0], rbx
lea r15, [rbx + 0xc]
jmp 0x18001042a
xor r15d, r15d
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0x58], r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, r15
mov qword [rbp + 0x14], rcx
mov rdx, rdi
mov qword [rbp + 0xc], rdx
mov r8d, r14d
mov dword [rbp + 0x1c], r8d
lea rcx, [rbp + 0x30]
call fcn.1800e0750
mov rcx, qword [rbp + 0x14]
mov rdx, qword [rbp + 0xc]
mov r8d, dword [rbp + 0x1c]
call sub.KERNEL32.dll_ExpandEnvironmentStringsW
mov ebx, eax
lea rcx, [rbp + 0x30]
call fcn.1800e07a0
call sub.KERNEL32.dll_GetLastError
xor edx, edx
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], rdx
mov rsi, qword [rbp + 0x28]
mov dword [rsi + 0x98], eax
mov edx, ebx
movsxd rcx, dword [rbp + 0x80]
cmp rdx, rcx
jle 0x1800104ae
cmp ebx, dword [rbp + 0x80]
ja 0x1800103ea
mov rbx, qword [rbp + 0xd0]
jmp 0x1800103ff
test ebx, ebx
je 0x1800104ff
lea ecx, [rbx - 1]
mov dword [rbp + 0x70], ecx
lea rcx, [rbp + 0x68]
call fcn.180042d70
lea rcx, [0x1801fc700]
mov rcx, qword [rcx]
cmp qword [rbp + 0x20], rcx
je 0x1800104d6
call fcn.1800de270
nop
lea rsp, [rbp + 0x88]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x180059750]
call rax
mov rsi, rax
jmp 0x1800103e4
lea rcx, [0x180209720]
call fcn.18004a7e0
mov rcx, rax
call fcn.1800defc0
int3
Function at 0x180010820
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp + 0x60], xmm4
movaps xmmword [rbp + 0x70], xmm4
mov qword [rbp + 0x80], rax
mov rax, qword [0x1801fc700]
mov qword [rbp + 0x20], rax
mov rbx, rcx
test dword [rsp], esp
sub rsp, 0x100
lea rcx, [rsp + 0x20]
mov qword [rbp + 0x78], rcx
mov dword [rbp + 0x80], 0x80
xor ecx, ecx
mov dword [rbp + 0x70], ecx
mov rcx, qword gs:[0x58]
mov eax, dword [0x1802083fc]
mov edx, 0x10
add rdx, qword [rcx + rax*8]
mov rsi, qword [rdx]
test rsi, rsi
je 0x1800109f2
mov qword [rbp + 0x28], rsi
jmp 0x1800108bf
mov edx, ebx
mov rbx, qword [rbp + 0xd0]
sub edx, dword [rbp + 0x70]
lea rcx, [rbp + 0x68]
call fcn.180042fb0
mov rdi, qword [rbp + 0x78]
mov r14d, dword [rbp + 0x80]
mov qword [rbp + 0x60], rdi
test rbx, rbx
je 0x1800108e0
mov qword [rbp + 0xd0], rbx
lea r15, [rbx + 0xc]
jmp 0x1800108ea
xor r15d, r15d
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0x58], r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, r15
mov qword [rbp + 0x14], rcx
mov rdx, rdi
mov qword [rbp + 0xc], rdx
mov r8d, r14d
mov dword [rbp + 0x1c], r8d
lea rcx, [rbp + 0x30]
call fcn.1800e0750
mov rcx, qword [rbp + 0x14]
mov rdx, qword [rbp + 0xc]
mov r8d, dword [rbp + 0x1c]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov ebx, eax
lea rcx, [rbp + 0x30]
call fcn.1800e07a0
call sub.KERNEL32.dll_GetLastError
xor edx, edx
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], rdx
mov rsi, qword [rbp + 0x28]
mov dword [rsi + 0x98], eax
mov edx, ebx
movsxd rcx, dword [rbp + 0x80]
cmp rdx, rcx
jle 0x18001096e
cmp ebx, dword [rbp + 0x80]
ja 0x1800108aa
mov rbx, qword [rbp + 0xd0]
jmp 0x1800108bf
test ebx, ebx
jne 0x18001097e
cmp dword [rsi + 0x98], 0xcb
je 0x18001098c
mov dword [rbp + 0x70], ebx
lea rcx, [rbp + 0x68]
call fcn.180042d70
jmp 0x1800109c8
mov rbx, qword [rbp + 0x68]
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
test rbx, rbx
je 0x1800109c6
lea rcx, [0x180226e08]
cmp qword [rcx - 8], 0
jne 0x180010a06
mov rcx, qword [0x1801fb8d8]
mov rcx, qword [rcx + 8]
mov rdx, rbx
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.1800abc80
xor eax, eax
lea rcx, [0x1801fc700]
mov rcx, qword [rcx]
cmp qword [rbp + 0x20], rcx
je 0x1800109dd
call fcn.1800de270
nop
lea rsp, [rbp + 0x88]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x180059750]
call rax
mov rsi, rax
jmp 0x1800108a4
call fcn.1800dba14
jmp 0x1800109ae
Function at 0x180011a80
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x20]
xorps xmm4, xmm4
movaps xmmword [rbp + 0x10], xmm4
xor eax, eax
mov qword [rbp + 0x20], rax
mov rax, qword [0x1801fc700]
mov qword [rbp + 8], rax
mov esi, ecx
mov ebx, edx
mov rdi, r8
mov r14d, dword [rdi + 8]
xor r15d, r15d
cmp r14d, 0x100
jb 0x180011b06
lea rcx, [0x180226e08]
cmp qword [rcx - 8], 0
jne 0x180011bfd
mov rcx, qword [0x1801fb8d8]
mov rcx, qword [rcx + 8]
lea edx, [r14 + 1]
cmp dword [rcx], ecx
call fcn.1800aba20
mov r15, rax
test r15, r15
jne 0x180011afc
xor r13d, r13d
xor r12d, r12d
jmp 0x180011b04
lea r13, [r15 + 0x10]
mov r12d, dword [r15 + 8]
jmp 0x180011b1b
test dword [rsp], esp
sub rsp, 0x200
lea r13, [rsp + 0x20]
mov r12d, pe_nt_image_headers64
mov qword [rbp + 0x10], r13
mov dword [rbp + 0x18], r12d
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.1800262b0
cmp r14d, r12d
jae 0x180011c0e
mov ecx, r14d
mov word [r13 + rcx*2], 0
xor ecx, ecx
test r12d, r12d
cmovne rcx, r13
mov qword [rbp + 0x20], rcx
cmp r14d, 2
jle 0x180011b87
add r14d, 0xfffffffc
mov edx, esi
rol edx, 5
add esi, edx
mov edx, dword [rcx]
or edx, 0x200020
xor esi, edx
mov edx, ebx
rol edx, 5
add ebx, edx
mov edx, dword [rcx + 4]
or edx, 0x200020
xor ebx, edx
add rcx, 8
cmp r14d, 2
jg 0x180011b56
test r14d, r14d
jle 0x180011b9d
mov edx, ebx
rol edx, 5
add edx, ebx
mov ebx, dword [rcx]
or ebx, 0x200020
xor ebx, edx
xor ecx, ecx
mov qword [rbp + 0x20], rcx
test r15, r15
je 0x180011bce
lea rcx, [0x180226e08]
cmp qword [rcx - 8], 0
jne 0x180011c07
mov rcx, qword [0x1801fb8d8]
mov rcx, qword [rcx + 8]
mov rdx, r15
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.1800abc80
imul eax, ebx, 0x5d588b65
add eax, esi
lea rcx, [0x1801fc700]
mov rcx, qword [rcx]
cmp qword [rbp + 8], rcx
je 0x180011beb
call fcn.1800de270
nop
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1800dba14
jmp 0x180011ad6
call fcn.1800dba14
jmp 0x180011bb6
call fcn.18005c1b0
int3
Function at 0x18001afa0
Capabilities:
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, dword [rbx + 0x1c]
mov edi, esi
and edi, 3
cmp esi, 4
jae 0x18001afd4
lea rbp, [0x180226a68]
cmp qword [rbp - 8], 0
jne 0x18001b061
mov eax, dword [rbp]
add eax, 0x165667b1
jmp 0x18001aff0
mov eax, dword [rbx]
rol eax, 1
mov ecx, dword [rbx + 4]
rol ecx, 7
add eax, ecx
mov ecx, dword [rbx + 8]
rol ecx, 0xc
add eax, ecx
mov ecx, dword [rbx + 0xc]
rol ecx, 0x12
add eax, ecx
lea eax, [rax + rsi*4]
test edi, edi
je 0x18001b037
imul ecx, dword [rbx + 0x10], 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
cmp edi, 1
jbe 0x18001b037
imul ecx, dword [rbx + 0x14], 0xc2b2ae3d
add ecx, eax
rol ecx, 0x11
imul eax, ecx, 0x27d4eb2f
cmp edi, 2
jbe 0x18001b037
imul ecx, dword [rbx + 0x18], 0xc2b2ae3d
add ecx, eax
rol ecx, 0x11
imul eax, ecx, 0x27d4eb2f
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul eax, ecx, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0xc2b2ae3d
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
call fcn.1800dafd0
jmp 0x18001afca