joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017fcd8
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
cmp dword [rdx + 8], 0x100
jne 0x14017fe0e
mov ebx, dword [rdx + 0x10]
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14017fe0e
cmp ebx, 0x43
je 0x14017fd26
cmp ebx, 0x2d
jne 0x14017fe0e
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14017fe0e
call qword [sym.imp.USER32.dll_EmptyClipboard]
nop
call fcn.140023e68
mov rcx, rax
test rax, rax
je 0x14017fe2d
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14003defe.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
movzx eax, byte [rsi + 0x196]
movzx r9d, byte [rsi + 0x195]
movzx r8d, byte [rsi + 0x194]
mov dword [rsp + 0x20], eax
lea rdx, str.RGB__d___d___d_
lea rcx, [rsp + 0x48]
call fcn.14000aaf4
mov rbx, qword [rsp + 0x48]
mov eax, dword [rbx - 0x10]
inc eax
movsxd rdx, eax
add rdx, rdx
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
je 0x14017fde6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14017fde6
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbp
mov ecx, recv
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14017fe0e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14003defe.0]
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp method.CDialogEx.virtual_536
mov ecx, 0x80004005
call fcn.140009fb5
int3
Function at 0x1401927fc
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x310
mov rax, qword [0x140292580]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov qword [rsp + 0x38], rdx
mov rax, r8
mov rbx, rdx
test r8, r8
je 0x14019287b
mov rcx, qword [rax + 8]
lea r8, [rsp + 0x40]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x208
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, rbx
lea rdx, [rsp + 0x50]
test rax, rax
jne 0x14019285a
lea rdx, [0x140269cf8]
call fcn.14001afcc
mov rax, rbx
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140048370
add rsp, 0x310
pop rbx
ret
call fcn.14002482c
int3

Function at 0x140198ecc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140198f8d
mov ebx, 0x811c9dc5
xor esi, esi
mov rcx, rdx
call fcn.1401d4eec
mov r8, rax
mov eax, 0xcccccccd
mul r8d
shr edx, 3
inc edx
test r8d, r8d
je 0x140198f30
movzx ecx, word [rdi + rsi*2]
imul ebx, ebx, 0x1000193
xor ebx, ecx
add esi, edx
cmp esi, r8d
jb 0x140198f1d
mov dword [r14], ebx
xor edx, edx
mov eax, ebx
div dword [rbp + 0x10]
mov dword [r15], edx
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x140198f6d
mov rbx, qword [rbx + rdx*8]
jmp 0x140198f68
mov eax, dword [r14]
cmp dword [rbx + 8], eax
jne 0x140198f65
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call fcn.1401d4ce8
nop
test eax, eax
je 0x140198f88
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140198f4c
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov rax, rbx
jmp 0x140198f6f
call fcn.14002482c
int3

Function at 0x1401cba54
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401cbb9c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401cbc0b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401cbc0b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401cbc0b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401cbc0b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401cbc0b
cmp dword [rcx + 0x84], 0xe
jbe 0x1401cbc0b
cmp dword [rcx + 0xf8], 0
je 0x1401cbc0b
mov ecx, ebx
call fcn.1401cbad4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401cbd30
nop
cmp dword [rbp + 0x20], 0
je 0x1401cbc59
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401cbb68
int3
Function at 0x1401cbb9c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401cbb9c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401cbc0b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401cbc0b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401cbc0b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401cbc0b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401cbc0b
cmp dword [rcx + 0x84], 0xe
jbe 0x1401cbc0b
cmp dword [rcx + 0xf8], 0
je 0x1401cbc0b
mov ecx, ebx
call fcn.1401cbad4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401cbd30
nop
cmp dword [rbp + 0x20], 0
je 0x1401cbc59
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401cbb68
int3

Function at 0x1401d3038
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.14004a350
sub rsp, rax
mov rax, qword [0x140292580]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1401cdee4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1401d3087
mov rax, rbp
jmp 0x1401d318f
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 + 0x2a2310]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1401e106c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x2a2310]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1401d318b
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 0x1401d318b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1401e106c
test rax, rax
js 0x1401d318b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1401d318b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1401d317d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1401d317d
cmp byte [rcx], 0xd
jne 0x1401d3163
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1401d3172
cmp byte [rcx + 1], 0xa
jne 0x1401d3172
inc rcx
jmp 0x1401d3172
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x294690]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1401d3145
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1401d318f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140048370
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401d4400
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rcx
test rax, 7
je 0x1401d441d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401d4478
test al, 7
jne 0x1401d4410
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1401d4431
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401d44a2
test dh, dh
je 0x1401d449c
shr rdx, 0x10
test dl, dl
je 0x1401d4496
test dh, dh
je 0x1401d4490
shr rdx, 0x10
test dl, dl
je 0x1401d448a
test dh, dh
je 0x1401d4484
shr edx, 0x10
test dl, dl
je 0x1401d447e
test dh, dh
jne 0x1401d4431
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1401d5560
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401d5588
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401d5588
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1401e05fc
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.1401d8d0c
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 0x1401e069d
cmp ebx, dword [rsp + 0x30]
je 0x1401e0696
test esi, esi
je 0x1401e0696
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1401e0671
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1401e067e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1401e065b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1401e0682
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1401e069f
mov eax, 1
jmp 0x1401e069f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401e1240
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 0x1401e1270
xor eax, eax
jmp 0x1401e1333
mov rbp, rbx
cmp word [rax], si
je 0x1401e1295
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401e127c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401e1278
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.1401d8bcc
movsxd r14, eax
test eax, eax
jne 0x1401e12d3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401e1269
mov rcx, r14
call fcn.1401d8adc
mov rdi, rax
test rax, rax
jne 0x1401e12ec
xor ecx, ecx
call fcn.1401d8aa0
jmp 0x1401e12c8
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.1401d8bcc
test eax, eax
jne 0x1401e131d
mov rcx, rdi
call fcn.1401d8aa0
jmp 0x1401e1327
xor ecx, ecx
call fcn.1401d8aa0
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 0x1401e1350
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 0x1401e13d7
mov rsi, rbx
cmp word [rax], bp
je 0x1401e1396
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401e1380
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401e137c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1401d8adc
mov rdi, rax
test rax, rax
je 0x1401e13c4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1401eab00
mov rbp, rdi
xor ecx, ecx
call fcn.1401d8aa0
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 0x1401e33ac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401e33c2
mov al, 1
jmp 0x1401e3422
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401e33d3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1401e3420
mov ecx, dword [rcx + 0x18]
nop
call fcn.1401ce214
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401e3420
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401e3420
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401e3420
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1401e3422
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1401e3d58
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, [0x1402a2310]
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 0x1401e3daf
cmp word [rdx], r13w
jne 0x1401e3daf
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1401e3db4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1401e3ed9
mov r11d, recv
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1401e3efa
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1401e3ded
mov rdx, r9
mov word [rbx], cx
jmp 0x1401e3e14
cmp r9, r8
jae 0x1401e3e24
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 0x1401e3dce
jmp 0x1401e3ed9
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 0x1401e3ece
cmp dword [rsp + 0x80], esi
je 0x1401e3ece
lea r8, [0x1402a2310]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1401e3ea6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1401e3e76
mov word [rbx], r13w
jmp 0x1401e3ed6
mov ecx, recv
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 0x1401e3e83
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1401e3ed6
cmp word [rsp + 0x70], r13w
jne 0x1401e3eb3
cmp rbx, r14
je 0x1401e3e70
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1401e0fc8
cmp word [rsp + 0x70], r13w
je 0x1401e3ed9
mov ecx, recv
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, [0x1402a2310]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1401e3ed3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1401e3ed9
Function at 0x1401e7bcc
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.1401baba4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401e7c56
cmp byte [rbp - 0x21], r15b
je 0x1401e7c51
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401e7c8c
call fcn.1401d94c4
test eax, eax
jne 0x1401e7c78
cmp byte [rbp - 0x21], r15b
je 0x1401e7c70
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401e7c8c
cmp byte [rbp - 0x21], r15b
je 0x1401e7c89
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.1401bac40
test eax, eax
jne 0x1401e7d2c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1401baba4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401e7ccb
cmp byte [rbp - 0x21], r15b
je 0x1401e7d00
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401e7d00
call fcn.1401d94c4
test eax, eax
jne 0x1401e7cec
cmp byte [rbp - 0x21], r15b
je 0x1401e7ce5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401e7d00
cmp byte [rbp - 0x21], r15b
je 0x1401e7cfd
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.1401bac40
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401e7d2c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401e7d2f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401e7d3d
mov rcx, rdi
call fcn.1401d8aa0
cmp byte [rbp + 0x3f], r15b
je 0x1401e7d4c
mov rcx, qword [rbp + 0x27]
call fcn.1401d8aa0
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 0x10008490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x10008520
cmp r11, r10
ja 0x10008596
cmp r10, rdx
ja 0x100085a8
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x10008522
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x10008500
jmp 0x10008584
ja 0x1000852a
mov r11, r10
cmp rax, r8
jne 0x100084c4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x10008560
mov rdi, r8
sub ecx, edx
jns 0x1000857b
jmp 0x10008586
cmp r8, rsi
je 0x100085b7
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x10008586
xor al, 1
cmp rdi, rsi
jne 0x10008540
jmp 0x10008586
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.10006170
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.10005750
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.10006c60
int3

Function at 0x1000f290
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.10005270
cmp rax, rcx
je 0x1000f2b5
cmp rdx, 4
jae 0x1000f2b8
xor eax, eax
xor r8d, r8d
jmp 0x1000f350
xor eax, eax
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x100385a0]
movdqa xmm3, xmmword [0x100385b0]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1000f2e0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1000f367
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1000f350
ret
Function at 0x10010220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov r10, qword [rcx]
test r10, r10
je 0x1001029e
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x1001029e
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x100102b6
cmp eax, 0x42
jne 0x1001029e
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x100103dd
cmp byte [r10 + rsi], 0x5f
jne 0x1001036c
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x100103dd
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x10010437
mov dil, 1
xor r9d, r9d
jmp 0x100103df
xor edx, edx
call fcn.1000bd70
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.1000bd70
test al, al
jne 0x1001041d
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x100102f5
lea rdx, [0x104a2533]
mov r8d, 1
call fcn.100057e0
mov rdx, rbx
test al, al
jne 0x1001041d
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x100102aa
xor r14d, r14d
lea rdi, [0x104a2889]
nop word [rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x10010324
cmp byte [rax + rcx], 0x45
je 0x10010474
sub r14, 1
jb 0x1001034c
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x1001034c
mov r8d, 2
mov rdx, rdi
call fcn.100057e0
mov rdx, rbx
test al, al
jne 0x1001041d
mov rcx, rdx
call fcn.1000d550
test al, al
jne 0x1001041d
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x10010310
jmp 0x100102aa
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x100103cd
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x100103af
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x100103a1
add dl, 0xa9
jmp 0x100103ad
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x100103dd
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x100103dd
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x100103df
cmp rsi, r11
jb 0x10010380
jmp 0x100103df
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x10010279
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x10010425
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x104a2868]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.100057e0
mov rcx, rbx
test al, al
je 0x10010425
mov sil, 2
jmp 0x100102aa
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x100102aa
cmp qword [rcx + 0x20], 0
je 0x10010430
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.10010220
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x100102ac
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x100102aa