joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035090
Capabilities:
Encode data using xor

Disassembly:
test rcx, rcx
je 0x1400352f0
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x820
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
je 0x1400352e0
mov r10d, dword [rdx + 0x18]
mov r11, qword [rdx]
mov eax, r10d
shl rax, 0xa
mov edx, 8
add rax, 0xfffffffffffffc00
mov qword [rsp + 0x830], rdi
add rax, r11
lea rdi, [rsp + 0x20]
nop
lea rdi, [rdi + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdi - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdi - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdi - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdi - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdi - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdi - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdi - 0x20], xmm0
movups xmmword [rdi - 0x10], xmm1
sub rdx, 1
jne 0x1400350e0
mov r9d, dword [rbx + 0x1c]
mov r8d, 1
cmp r9d, r8d
jbe 0x140035227
nop word [rax + rax]
inc r8d
lea rdi, [rsp + 0x20]
mov edx, r8d
xor eax, eax
imul edx, r10d
dec edx
shl rdx, 0xa
add rdx, r11
lea rcx, [rdx + 0x3f8]
cmp rdi, rcx
ja 0x14003519c
lea rcx, [rsp + 0x418]
cmp rcx, rdx
jb 0x14003519c
mov rcx, qword [rdx + rax*8]
xor qword [rsp + rax*8 + 0x20], rcx
inc rax
cmp rax, 0x80
jl 0x140035183
jmp 0x14003521e
lea rcx, [rsp + 0x20]
sub rcx, rdx
lea rdi, [rsp + 0x30]
sub rdi, rdx
lea rax, [rdx + 0x20]
mov edx, 0x10
nop word [rax + rax]
movdqu xmm0, xmmword [rcx + rax - 0x20]
movdqu xmm1, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rcx + rax - 0x60], xmm1
movdqu xmm0, xmmword [rdi + rax - 0x60]
movdqu xmm1, xmmword [rax - 0x50]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rdi + rax - 0x60], xmm1
movdqu xmm1, xmmword [rax + rcx - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax + rcx - 0x40], xmm1
movdqu xmm0, xmmword [rax + rdi - 0x40]
movdqu xmm1, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax + rdi - 0x40], xmm1
sub rdx, 1
jne 0x1400351c0
cmp r8d, r9d
jb 0x140035150
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x420]
call fcn.140035790
mov edx, dword [rsi + 8]
lea r8, [rsp + 0x420]
mov rcx, qword [rsi]
mov r9d, 0x400
call fcn.14003c7c0
mov edx, dword [0x1400983b8]
test edx, edx
je 0x140035279
xor eax, eax
lea rdi, [rsp + 0x20]
mov ecx, 0x400
rep stosb byte [rdi], al
lea rdi, [rsp + 0x420]
mov ecx, 0x400
rep stosb byte [rdi], al
cmp dword [rbx + 0x28], 0
je 0x140035290
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
call fcn.14003ce10
mov edx, dword [0x1400983b8]
mov r8d, dword [rbx + 0x10]
shl r8d, 0xa
test edx, edx
je 0x1400352ab
mov rdi, qword [rbx]
test rdi, rdi
je 0x1400352ab
xor eax, eax
mov ecx, r8d
rep stosb byte [rdi], al
cmp dword [rbx + 0x2c], 0
mov rdi, qword [rsp + 0x830]
jne 0x1400352e0
mov rax, qword [rsi + 0x68]
mov rcx, qword [rbx]
test rax, rax
je 0x1400352db
mov rdx, r8
mov rbx, qword [rsp + 0x838]
add rsp, 0x820
pop rsi
jmp rax
call fcn.140044724
mov rbx, qword [rsp + 0x838]
add rsp, 0x820
pop rsi
ret
Function at 0x140035c00
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rdx + 0x3f8]
mov r8d, 0x80
lea r10, [rcx + 0x3f8]
cmp rcx, rax
ja 0x140035c21
xor r9d, r9d
cmp r10, rdx
jae 0x140035c91
mov r9, rdx
lea rax, [rcx + 0x10]
sub r9, rcx
mov r10d, 0x10
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [r9 + rax - 0x10]
movdqu xmm2, xmmword [r9 + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [r9 + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r9 + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
sub r10, 1
jne 0x140035c31
mov r9, r8
cmp r9, r8
jae 0x140035cb1
sub rdx, rcx
lea rax, [rcx + r9*8]
sub r8, r9
mov rcx, qword [rax + rdx]
xor qword [rax], rcx
lea rax, [rax + 8]
sub r8, 1
jne 0x140035ca0
ret
Function at 0x140044a48
Capabilities:
Parse pe header

Disassembly:
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 0x1400448b3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400448b3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400448b3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400448b3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400448b3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400448b3
cmp dword [rcx + 0xf8], 0
je 0x1400448b3
mov ecx, ebx
call fcn.140044964
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.140044740
nop
cmp dword [rbp + 0x20], 0
je 0x140044901
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14004490c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140044844

Function at 0x14004cf38
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14004cf6f
call fcn.14004d1d8
mov dword [rax], 0x16
call fcn.140044684
xor eax, eax
jmp 0x14004cffd
mov rdx, r9
mov rcx, r8
call fcn.14004ced4
mov rbx, rax
test rax, rax
je 0x14004cffa
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14004ce00]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14004cfe7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004d14c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004cfce
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004cfdd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14005483c
jmp 0x14004cffa
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14004cff7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14005afe4
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.140040610
sub rsp, rax
mov rax, qword [0x140098458]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14005670c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14005b033
mov rax, rbp
jmp 0x14005b13b
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 + 0x11b3f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14005c104
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x11b3f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14005b137
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 0x14005b137
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14005c104
test rax, rax
js 0x14005b137
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14005b137
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14005b129
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14005b129
cmp byte [rcx], 0xd
jne 0x14005b10f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14005b11e
cmp byte [rcx + 1], 0xa
jne 0x14005b11e
inc rcx
jmp 0x14005b11e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x98a20]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14005b0f1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14005b13b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140040a40
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 0x14005b35c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14005b372
mov al, 1
jmp 0x14005b3d2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14005b383
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14005b3d0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14005eaf8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005b3d0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14005b3d0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005b3d0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14005b3d2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14005b4a4
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, [0x14011b3f0]
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 0x14005b4fb
cmp word [rdx], r13w
jne 0x14005b4fb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14005b500
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14005b625
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14005b646
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14005b539
mov rdx, r9
mov word [rbx], cx
jmp 0x14005b560
cmp r9, r8
jae 0x14005b570
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 0x14005b51a
jmp 0x14005b625
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 0x14005b61a
cmp dword [rsp + 0x80], esi
je 0x14005b61a
lea r8, [0x14011b3f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14005b5f2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14005b5c2
mov word [rbx], r13w
jmp 0x14005b622
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 0x14005b5cf
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14005b622
cmp word [rsp + 0x70], r13w
jne 0x14005b5ff
cmp rbx, r14
je 0x14005b5bc
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14005c10c
cmp word [rsp + 0x70], r13w
je 0x14005b625
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, [0x14011b3f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14005b61f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14005b625
Function at 0x14005daec
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 0x14005db1c
xor eax, eax
jmp 0x14005dbdf
mov rbp, rbx
cmp word [rax], si
je 0x14005db41
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14005db28
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14005db24
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.14005c2b0
movsxd r14, eax
test eax, eax
jne 0x14005db7f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14005db15
mov rcx, r14
call fcn.1400554b0
mov rdi, rax
test rax, rax
jne 0x14005db98
xor ecx, ecx
call fcn.14005483c
jmp 0x14005db74
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.14005c2b0
test eax, eax
jne 0x14005dbc9
mov rcx, rdi
call fcn.14005483c
jmp 0x14005dbd3
xor ecx, ecx
call fcn.14005483c
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 0x14005dbfc
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 0x14005dc83
mov rsi, rbx
cmp word [rax], bp
je 0x14005dc42
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14005dc2c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14005dc28
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400554b0
mov rdi, rax
test rax, rax
je 0x14005dc70
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140041d50
mov rbp, rdi
xor ecx, ecx
call fcn.14005483c
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 0x14006104c
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.140054464
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 0x1400610ed
cmp ebx, dword [rsp + 0x30]
je 0x1400610e6
test esi, esi
je 0x1400610e6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400610c1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400610ce
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400610ab
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400610d2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400610ef
mov eax, 1
jmp 0x1400610ef
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14006491c
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.14004c6e0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400649a6
cmp byte [rbp - 0x21], r15b
je 0x1400649a1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400649dc
call fcn.1400576c0
test eax, eax
jne 0x1400649c8
cmp byte [rbp - 0x21], r15b
je 0x1400649c0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400649dc
cmp byte [rbp - 0x21], r15b
je 0x1400649d9
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.1400508d8
test eax, eax
jne 0x140064a7c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14004c6e0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140064a1b
cmp byte [rbp - 0x21], r15b
je 0x140064a50
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140064a50
call fcn.1400576c0
test eax, eax
jne 0x140064a3c
cmp byte [rbp - 0x21], r15b
je 0x140064a35
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140064a50
cmp byte [rbp - 0x21], r15b
je 0x140064a4d
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.1400508d8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140064a7c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140064a7f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140064a8d
mov rcx, rdi
call fcn.14005483c
cmp byte [rbp + 0x3f], r15b
je 0x140064a9c
mov rcx, qword [rbp + 0x27]
call fcn.14005483c
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 0x1400ec6f4
Capabilities:
Write file on windows

Disassembly:
jmp 0x14028e3a0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14037f674]
call fcn.1400f085d
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14028e3f8
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14028e50a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14028e4a3
cmp qword [rbp + 0x28], 0
jle 0x14028e4a3
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14028e441
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1400f03cb
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x14028e4f9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14028e4f9
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400ed432
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x140117730
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14037e2c2]
call fcn.1400f085d
nop
mov rax, qword [rbp + 0x100]
add rax, 0x40
mov qword [rbp + 0xd8], rax
mov edx, 1
mov rcx, qword [rbp + 0xd8]
call fcn.1400ef2b4
mov byte [rbp + 4], al
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1401177a2
movzx eax, byte [rbp + 4]
test eax, eax
je 0x1401177a2
mov edx, 0x10001
lea rcx, [0x140359f30]
call fcn.1400f05bf
nop
jmp 0x140117804
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1401177f2
movzx eax, byte [rbp + 4]
test eax, eax
jne 0x1401177f2
mov edx, 0x100
lea rcx, [0x140359f30]
call fcn.1400f05bf
nop
mov edx, 0x10001
lea rcx, [0x140359f30]
call fcn.1400f05bf
nop
mov edx, 0x100
lea rcx, [0x140359f30]
call fcn.1400f05bf
nop
jmp 0x140117804
mov edx, 0x100
lea rcx, [0x140359f30]
call fcn.1400f05bf
nop
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400edfb8
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1401281b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x538
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xe6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x558]
mov rax, qword [0x140358e40]
xor rax, rbp
mov qword [rbp + 0x508], rax
mov qword [rbp + 0x308], 0
lea rcx, [0x14037e880]
call fcn.1400f085d
nop
mov dword [rbp + 0x10], 0x238
xor edx, edx
mov ecx, 0xf
call fcn.1400ee21a
mov qword [rbp + 0x268], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.1400eebb1
nop
mov dword [rbp + 0x284], 0
call fcn.1400efdb3
mov dword [rbp + 0x2a4], eax
mov qword [rbp + 0x2c8], 0
mov qword [rbp + 0x2e8], 0
mov rcx, qword [rbp + 0x538]
call fcn.1400ec69a
mov qword [rbp + 0x4d8], rax
lea rax, [rbp + 0x3c]
mov qword [rbp + 0x2c8], rax
cmp qword [rbp + 0x2c8], 0
jne 0x140128298
mov qword [rbp + 0x4e0], 0
jmp 0x140128383
mov rcx, qword [rbp + 0x2c8]
call qword [sym.imp.ucrtbased.dll_wcslen]
inc eax
mov dword [rbp + 0x284], eax
cmp dword [rbp + 0x284], 0x3fffffff
jle 0x1401282c9
mov qword [rbp + 0x4e8], 0
jmp 0x140128375
movsxd rax, dword [rbp + 0x284]
shl rax, 1
mov qword [rbp + 0x4f0], rax
movsxd rcx, dword [rbp + 0x284]
shl rcx, 1
add rcx, 0x24
mov qword [rbp + 0x4f8], rcx
mov rcx, qword [rbp + 0x4f8]
add rcx, 0xf
cmp rcx, qword [rbp + 0x4f8]
ja 0x14012830d
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400eccfd
sub rsp, rax
lea rax, [rsp + 0x20]
mov qword [rbp + 0x500], rax
lea r8, [rbp + 0x308]
mov rdx, qword [rbp + 0x4f8]
mov rcx, qword [rbp + 0x500]
call fcn.1400f0efc
add qword [rbp + 0x500], 0x20
mov r9d, dword [rbp + 0x2a4]
mov rax, qword [rbp + 0x4f0]
mov r8d, eax
mov rdx, qword [rbp + 0x2c8]
mov rcx, qword [rbp + 0x500]
call fcn.1400ed93c
mov qword [rbp + 0x4e8], rax
mov rax, qword [rbp + 0x4e8]
mov qword [rbp + 0x4e0], rax
mov rdx, qword [rbp + 0x4d8]
mov rcx, qword [rbp + 0x4e0]
call fcn.1400f0f5b
test eax, eax
jne 0x1401283c5
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x4a4], eax
mov rcx, qword [rbp + 0x538]
call fcn.1400ecd34
mov eax, dword [rbp + 0x4a4]
jmp 0x140128407
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.1400efe1c
test eax, eax
jne 0x140128260
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rbp + 0x4c4], 0
mov rcx, qword [rbp + 0x538]
call fcn.1400ecd34
mov eax, dword [rbp + 0x4c4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1402dcbf0]
mov r8, qword [rbp + 0x308]
call fcn.1400eeee5
mov rax, rdi
mov rcx, qword [rbp + 0x508]
xor rcx, rbp
call fcn.1400ee2c4
lea rsp, [rbp + 0x518]
pop rdi
pop rbp
ret