joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140072330
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x198
lea rbp, [rsp + 0x1d0]
xor eax, eax
mov qword [rbp - 0x128], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x120], xmm4
movaps xmmword [rbp - 0x110], xmm4
movabs rax, 0xffffffffffffff40
movaps xmmword [rbp + rax - 0x40], xmm4
movaps xmmword [rbp + rax - 0x30], xmm4
movaps xmmword [rbp + rax - 0x20], xmm4
add rax, 0x30
jne 0x14007236f
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov r10, rcx
mov rbx, r8
mov r14, r9
mov r15, qword [rbp + 0x48]
mov r13, qword [rbp + 0x58]
mov rcx, r10
mov edx, 1
xor r8d, r8d
call fcn.1400cbcc0
mov r12, rax
mov qword [rbp - 0x40], r12
mov rcx, qword [rbp + 0x18]
mov edx, 1
xor r8d, r8d
call fcn.1400cbcc0
mov qword [rbp - 0x48], rax
cmp byte [rbp + 0x30], 0
setne sil
movzx esi, sil
mov dword [rbp - 0x4c], esi
mov rcx, r15
mov edx, 1
xor r8d, r8d
call fcn.1400cbcc0
mov qword [rbp - 0x58], rax
lea rdi, [rbp - 0xb8]
mov rsi, qword [rbp + 0x50]
mov ecx, 0xc
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbp - 0xb8]
lea rdx, [rbp - 0x120]
call fcn.140100cc0
mov qword [rbp - 0x128], r13
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15d, dword [rbp - 0x4c]
mov dword [rsp + 0x20], r15d
mov r15d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r15d
mov r15, qword [rbp + 0x40]
mov qword [rsp + 0x30], r15
mov r8, qword [rbp - 0x58]
mov qword [rsp + 0x38], r8
lea rcx, [rbp - 0x120]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r13
mov rcx, r12
mov qword [rbp - 0x160], rcx
mov rdx, qword [rbp - 0x48]
mov qword [rbp - 0x168], rdx
mov r8, rbx
mov qword [rbp - 0x170], r8
mov r9, r14
mov qword [rbp - 0x178], r9
lea rcx, [rbp - 0x150]
call fcn.140005ef0
mov rcx, qword [rbp - 0x160]
mov rdx, qword [rbp - 0x168]
mov r8, qword [rbp - 0x170]
mov r9, qword [rbp - 0x178]
call sub.KERNEL32.dll_CreateProcessA
mov ebx, eax
lea rcx, [rbp - 0x150]
call fcn.140005f40
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401dda68]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rcx, rdx
mov rsi, qword [rcx]
test rsi, rsi
je 0x14007250e
mov qword [rbp - 0x158], rsi
call sub.KERNEL32.dll_GetLastError
mov rsi, qword [rbp - 0x158]
mov dword [rsi + 0x80], eax
test ebx, ebx
setne dil
movzx edi, dil
cmp dword [0x1401d7398], 0
je 0x140072529
jmp 0x140072523
lea rax, [0x1400d31b0]
call rax
mov rsi, rax
mov qword [rbp - 0x158], rsi
jmp 0x1400724e7
call fcn.140005010
nop
cmp qword [rbp + 0x10], 0
je 0x140072541
test r12, 0xffffffffffff0000
je 0x140072541
mov rcx, r12
call fcn.1400d9d00
cmp qword [rbp + 0x18], 0
je 0x14007255d
mov rdx, qword [rbp - 0x48]
test rdx, 0xffffffffffff0000
je 0x14007255d
mov rcx, rdx
call fcn.1400d9d00
cmp qword [rbp + 0x48], 0
je 0x140072579
mov r8, qword [rbp - 0x58]
test r8, 0xffffffffffff0000
je 0x140072579
mov rcx, r8
call fcn.1400d9d00
lea rcx, [rbp - 0x120]
call fcn.140100b40
movzx eax, dil
add rsp, 0x198
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400731c0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, [0x14013d288]
call fcn.140004230
mov rsi, rax
mov dword [rsi + 0x20], 0x7fffffff
lea rcx, [0x14014a020]
mov edx, 0x10
call fcn.140004350
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.140004440
xor edi, edi
mov ebp, dword [rbx + 8]
test ebp, ebp
jle 0x14007321d
movzx edx, byte [rbx + rdi + 0x10]
xor edx, 0x63
mov rcx, rsi
call fcn.1400b6fc0
inc edi
cmp ebp, edi
jg 0x140073207
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp fcn.1400b6aa0

Function at 0x140073500
Capabilities:
Set registry value

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 - 0x40], rax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x18], rdx
mov rbx, rcx
mov esi, r8d
mov edi, r9d
mov r14, qword [rbp + 0x30]
mov rcx, rdx
mov edx, 1
xor r8d, r8d
call fcn.1400cbcc0
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], r14
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], r14
mov r14d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r14d
mov rcx, rbx
mov qword [rbp - 0x88], rcx
mov rdx, qword [rbp - 0x40]
mov qword [rbp - 0x90], rdx
mov r8d, esi
mov dword [rbp - 0x7c], r8d
mov r9d, edi
mov dword [rbp - 0x80], r9d
lea rcx, [rbp - 0x70]
call fcn.140005ef0
mov rcx, qword [rbp - 0x88]
mov rdx, qword [rbp - 0x90]
mov r8d, dword [rbp - 0x7c]
mov r9d, dword [rbp - 0x80]
call sub.ADVAPI32.dll_RegSetValueExA
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140005f40
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401dda68]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rcx, rdx
mov rsi, qword [rcx]
test rsi, rsi
je 0x1400735f6
mov qword [rbp - 0x78], rsi
call sub.KERNEL32.dll_GetLastError
mov rsi, qword [rbp - 0x78]
mov dword [rsi + 0x80], eax
cmp dword [0x1401d7398], 0
je 0x14007360e
jmp 0x140073608
lea rax, [0x1400d31b0]
call rax
mov rsi, rax
mov qword [rbp - 0x78], rsi
jmp 0x1400735dc
call fcn.140005010
nop
cmp qword [rbp + 0x18], 0
je 0x14007362a
mov rdx, qword [rbp - 0x40]
test rdx, 0xffffffffffff0000
je 0x14007362a
mov rcx, rdx
call fcn.1400d9d00
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140073e80
Capabilities:
Encode data using xor

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 rbx, rcx
mov rsi, rdx
mov edi, r8d
mov r14d, r9d
lea rcx, [0x14014a020]
mov edx, 0xc
call fcn.140004350
xor ecx, ecx
mov edx, ecx
lea r8, [0x140135990]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140135958]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0xc
jl 0x140073eb7
mov rcx, rax
call fcn.140082af0
mov r15, rax
lea rcx, [0x14014a020]
mov edx, 0xe
call fcn.140004350
xor ecx, ecx
mov edx, ecx
lea r8, [0x140131fe8]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x14011c7b8]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0xe
jl 0x140073f08
mov rcx, rax
call fcn.140082af0
mov r13, rax
mov rcx, r15
call fcn.1400736d0
test rax, rax
je 0x140073f63
mov rcx, rax
mov rdx, r13
call fcn.140073800
mov r15, rax
jmp 0x140073f66
xor r15d, r15d
test r15, r15
je 0x140073fbd
mov r13d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r13d
mov rcx, rbx
mov qword [rbp - 0x70], rcx
mov rdx, rsi
mov qword [rbp - 0x78], rdx
mov r8d, edi
mov dword [rbp - 0x64], r8d
mov r9d, r14d
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0x60]
call fcn.140005ef0
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
mov r8d, dword [rbp - 0x64]
mov r9d, dword [rbp - 0x68]
call r15
mov rbx, rax
lea rcx, [rbp - 0x60]
call fcn.140005f40
mov rax, rbx
jmp 0x140073fbf
xor eax, eax
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140073fe0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, edx
mov rbx, r8
lea rcx, [0x14014a020]
mov edx, 0xc
call fcn.140004350
xor ecx, ecx
mov edx, ecx
lea r8, [0x14011cb48]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140134c70]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0xc
jl 0x140074005
mov rcx, rax
call fcn.140082af0
mov rbp, rax
lea rcx, [0x14014a020]
mov edx, 0x10
call fcn.140004350
xor ecx, ecx
mov edx, ecx
lea r8, [0x140135440]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x1401354b0]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0x10
jl 0x140074056
mov rcx, rax
call fcn.140082af0
mov r14, rax
mov rcx, rbp
call fcn.1400736d0
test rax, rax
je 0x1400740ae
mov rcx, rax
mov rdx, r14
call fcn.140073800
jmp 0x1400740b0
xor eax, eax
test rax, rax
je 0x1400740cf
mov rcx, rsi
mov edx, edi
mov r8, rbx
mov r9, rax
add rsp, 0x20
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
jmp fcn.140071ec0
xor eax, eax
mov qword [rbx], rax
add rsp, 0x20
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
ret
Function at 0x1400740e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x38
mov rbx, rcx
mov esi, edx
mov rdi, r8
mov ebp, r9d
lea rcx, [0x14014a020]
mov edx, 0xc
call fcn.140004350
xor ecx, ecx
mov edx, ecx
lea r8, [0x1401324a0]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x14011c3f8]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0xc
jl 0x14007410a
mov rcx, rax
call fcn.140082af0
mov r14, rax
lea rcx, [0x14014a020]
mov edx, 0x13
call fcn.140004350
xor ecx, ecx
nop dword [rax + rax]
mov edx, ecx
lea r8, [0x14011e990]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140134a60]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0x13
jl 0x140074160
mov rcx, rax
call fcn.140082af0
mov r15, rax
mov rcx, r14
call fcn.1400736d0
test rax, rax
je 0x1400741b8
mov rcx, rax
mov rdx, r15
call fcn.140073800
jmp 0x1400741ba
xor eax, eax
test rax, rax
je 0x1400741ef
mov r14, qword [rsp + 0x90]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], rax
mov rcx, rbx
mov edx, esi
mov r8, rdi
mov r9d, ebp
call fcn.140071fa0
nop
add rsp, 0x38
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret
xor eax, eax
mov r14, qword [rsp + 0x90]
mov dword [r14], eax
add rsp, 0x38
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret
Function at 0x140077540
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, [0x14014a020]
mov edx, 0x1d
call fcn.140004350
xor ecx, ecx
nop dword [rax]
mov edx, ecx
lea r8, [0x1401332d0]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x14011c550]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0x1d
jl 0x140077560
mov rcx, rax
call fcn.140082af0
mov rsi, rax
mov rcx, rsi
call fcn.1400bea40
test eax, eax
je 0x140077679
call fcn.1400776a0
mov rdx, rax
mov rcx, rbx
call fcn.140077730
mov rdx, rax
lea rcx, [0x14011e518]
call fcn.140083350
mov rdx, rax
mov rcx, rsi
call fcn.140072700
call fcn.140089d50
movabs rbx, 0x3fffffffffffffff
and rbx, rax
call fcn.1400778e0
mov rsi, rax
call fcn.140089d50
movabs rcx, 0x3fffffffffffffff
and rcx, rax
sub rcx, rbx
movabs rdx, 0xd6bf94d5e57a42bd
mov rax, rdx
imul rcx
add rcx, rdx
mov r8, rcx
shr r8, 0x3f
sar rcx, 0x17
add rcx, r8
movabs rdx, 0x8888888888888889
mov rax, rdx
imul rcx
add rdx, rcx
mov rax, rdx
shr rax, 0x3f
sar rdx, 5
add rax, rdx
imul rax, rax, 0x3c
sub rcx, rax
cmp ecx, 3
jg 0x14007766b
test rsi, rsi
je 0x1400775ea
call fcn.1400778a0
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1400778a0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x1400776a0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rcx, [0x140149fe0]
mov edx, 0x1f3
call fcn.140004350
mov rbx, rax
lea rcx, [rbx + 0x10]
lea rdx, str.m_SDE_YXk_e_QXWBCDS_v
mov r8d, 0x1f3
call fcn.1400917e0
lea rcx, [0x14013d288]
call fcn.140004230
mov rsi, rax
mov dword [rsi + 0x20], 0x7fffffff
lea rcx, [0x14014a020]
mov edx, 0x10
call fcn.140004350
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.140004440
xor edi, edi
movzx edx, byte [rbx + rdi + 0x10]
xor edx, 0x36
mov rcx, rsi
call fcn.1400b6fc0
inc edi
cmp edi, 0x1f3
jl 0x140077706
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1400b6aa0
Function at 0x1400778e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r14
push rdi
push rsi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x50]
lea rcx, [0x14014a020]
mov edx, 5
call fcn.140004350
xor ecx, ecx
mov edx, ecx
lea r8, [0x1401353c0]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140135370]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 5
jl 0x140077902
mov rcx, rax
call fcn.140082af0
mov rbx, rax
xor esi, esi
call fcn.140077a20
mov rcx, rax
mov edx, 2
call fcn.140077fd0
mov rdi, rax
test rdi, rdi
je 0x1400779dd
lea rcx, [0x14013d288]
call fcn.140004230
mov r14, rax
mov rcx, r14
mov edx, pe_nt_image_headers64
mov r8d, 0x7fffffff
call fcn.1400b69e0
mov r8, qword [r14 + 8]
mov r8d, dword [r8 + 8]
add r8d, dword [r14 + 0x1c]
mov rcx, rdi
mov rdx, r14
call fcn.140077dc0
test eax, eax
jle 0x1400779c3
mov rcx, r14
call fcn.1400b6aa0
mov dword [rsp + 0x20], 5
mov r9d, dword [rax + 8]
mov rcx, rax
mov rdx, rbx
xor r8d, r8d
call fcn.1400847c0
test eax, eax
jge 0x1400779da
mov rcx, rdi
mov edx, 2
call fcn.140077fd0
mov rdi, rax
test rdi, rdi
jne 0x140077960
jmp 0x1400779dd
mov rsi, rdi
test rsi, rsi
je 0x140077a05
mov rcx, rsi
call fcn.140073b80
mov rcx, rsi
mov edx, 5
call fcn.140073df0
mov rax, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r14
pop rbp
ret
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r14
pop rbp
ret

Function at 0x14007d650
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.140005ef0
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.140005f40
test ebx, ebx
jne 0x14007d6c4
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
je 0x14007d6ec
lea rcx, [0x14013a7f8]
call fcn.140004230
mov rbx, rax
mov rcx, rbx
call fcn.14008c7a0
mov rcx, rbx
call fcn.1400047a0
int3
lea rcx, [0x14013add0]
call fcn.140004230
mov rbx, rax
mov rcx, rbx
call fcn.1400909b0
mov rcx, rbx
call fcn.1400047a0
int3
Function at 0x14007dbc0
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 0x14007dc67
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.1400da6e0
mov ecx, eax
test ecx, ecx
jne 0x14007dc6e
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.1400da680
mov ecx, eax
lea rdx, [0x14011c3a8]
xor r8d, r8d
call fcn.1400c51f0
mov rcx, rax
call fcn.1400047a0
int3

Function at 0x140080a10
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140080a22
add rsp, 0x28
jmp fcn.1400810e0
lea rcx, [0x140134c00]
call fcn.140088530
int3
Function at 0x140080f80
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp + 0x60], xmm4
mov qword [rbp + 0x70], rax
mov rax, qword [0x1401d3440]
mov qword [rbp + 0x10], rax
test dword [rsp], esp
sub rsp, 0x40
lea rcx, [rsp + 0x20]
mov qword [rbp + 0x68], rcx
mov dword [rbp + 0x70], 0x20
xor ecx, ecx
mov dword [rbp + 0x60], ecx
mov rcx, qword gs:[0x58]
mov eax, dword [0x1401dda68]
mov edx, 0x10
add rdx, qword [rcx + rax*8]
mov rbx, qword [rdx]
test rbx, rbx
je 0x1400810ac
mov qword [rbp + 0x18], rbx
jmp 0x140081008
mov edx, ebx
sub edx, dword [rbp + 0x60]
lea rcx, [rbp + 0x58]
call fcn.1400bca90
mov rsi, qword [rbp + 0x68]
mov qword [rbp + 0x20], rsi
mov edi, dword [rbp + 0x70]
mov qword [rbp + 0x50], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rsi, qword [rbp + 0x20]
mov rcx, rsi
mov qword [rbp + 4], rcx
mov edx, edi
mov dword [rbp + 0xc], edx
lea rcx, [rbp + 0x28]
call fcn.140005ef0
mov rcx, qword [rbp + 4]
mov edx, dword [rbp + 0xc]
call sub.KERNEL32.dll_GetSystemDirectoryW
mov ebx, eax
lea rcx, [rbp + 0x28]
call fcn.140005f40
call sub.KERNEL32.dll_GetLastError
xor edx, edx
mov qword [rbp + 0x50], rdx
mov rsi, qword [rbp + 0x18]
mov dword [rsi + 0x80], eax
mov edx, ebx
movsxd rcx, dword [rbp + 0x70]
cmp rdx, rcx
jle 0x140081075
cmp ebx, dword [rbp + 0x70]
jbe 0x140081008
jmp 0x140080ffa
test ebx, ebx
je 0x1400810c0
mov dword [rbp + 0x60], ebx
lea rcx, [rbp + 0x58]
call fcn.1400bc860
lea rcx, [0x1401d3440]
mov rcx, qword [rcx]
cmp qword [rbp + 0x10], rcx
je 0x14008109a
call fcn.140003db0
nop
lea rsp, [rbp + 0x78]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1400d31b0]
call rax
mov rbx, rax
jmp 0x140080ff4
lea rcx, [0x14011c3a8]
call fcn.1400c5190
mov rcx, rax
call fcn.1400047a0
int3
Function at 0x140091040
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r8d, edx
test r8d, r8d
jl 0x140091146
mov rcx, qword [rcx + 8]
lea rax, [0x1401411e0]
cmp qword [rcx], rax
je 0x140091138
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r10, qword [rcx + 0x18]
mov r9, qword [rcx + 0x20]
mov r11, rdx
shl r11, 0x11
xor r10, rax
xor r9, rdx
lea rbx, [rdx + rdx*4]
rol rbx, 7
lea rbx, [rbx + rbx*8]
xor rdx, r10
xor rax, r9
xor r10, r11
rol r9, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r10
mov qword [rcx + 0x20], r9
mov r10d, r8d
shr rbx, 0x20
mov r9d, ebx
imul r9, r10
mov r11d, r9d
cmp r11d, r8d
jae 0x14009112a
mov eax, r8d
neg eax
xor edx, edx
div r8d
cmp r11d, edx
jae 0x14009112a
mov r9, qword [rcx + 8]
mov r11, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
mov r8, qword [rcx + 0x20]
mov rbx, r11
shl rbx, 0x11
xor rax, r9
xor r8, r11
lea rsi, [r11 + r11*4]
rol rsi, 7
lea rsi, [rsi + rsi*8]
xor r11, rax
xor r9, r8
xor rax, rbx
rol r8, 0x2d
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], r11
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], r8
shr rsi, 0x20
mov r9d, esi
imul r9, r10
mov r11d, r9d
cmp r11d, edx
jb 0x1400910d1
shr r9, 0x20
mov eax, r9d
add rsp, 0x28
pop rbx
pop rsi
ret
mov edx, r8d
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1400dbe50
mov ecx, r8d
lea rdx, [0x140133b88]
call fcn.14010f930
int3

Function at 0x1400d54d0
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
jne 0x1400d54f7
xor ecx, ecx
jmp 0x1400d54fb
add rcx, 0xc
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x78], rcx
mov dword [rbp - 0x6c], edx
mov qword [rbp - 0x80], r8
mov dword [rbp - 0x70], r9d
lea rcx, [rbp - 0x68]
call fcn.140005ef0
mov rcx, qword [rbp - 0x78]
mov edx, dword [rbp - 0x6c]
mov r8, qword [rbp - 0x80]
mov r9d, dword [rbp - 0x70]
call sub.KERNEL32.dll_GetLocaleInfoEx
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.140005f40
mov eax, ebx
xor ecx, ecx
mov qword [rbp - 0x40], rcx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400d5930
Capabilities:
Copy file

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 - 0x48], rax
mov qword [rbp - 0x50], rax
mov rbx, r8
mov rsi, r9
mov rdi, qword [rbp + 0x30]
mov qword [rbp - 0x40], rdi
test rdx, rdx
jne 0x1400d596d
xor r14d, r14d
jmp 0x1400d5971
lea r14, [rdx + 0xc]
mov qword [rbp - 0x48], r14
test rcx, rcx
jne 0x1400d597f
xor r15d, r15d
jmp 0x1400d5983
lea r15, [rcx + 0xc]
mov qword [rbp - 0x50], r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], rdi
mov edi, dword [rbp + 0x38]
mov dword [rsp + 0x28], edi
mov rcx, r15
mov qword [rbp - 0x80], rcx
mov rdx, r14
mov qword [rbp - 0x88], rdx
mov r8, rbx
mov qword [rbp - 0x90], r8
mov r9, rsi
mov qword [rbp - 0x98], r9
lea rcx, [rbp - 0x78]
call fcn.140005ef0
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x88]
mov r8, qword [rbp - 0x90]
mov r9, qword [rbp - 0x98]
call sub.KERNEL32.dll_CopyFileExW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140005f40
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401dda68]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400d5a48
mov dword [rdi + 0x80], esi
test ebx, ebx
setne al
movzx eax, al
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, [0x1400d31b0]
call rax
mov rdi, rax
jmp 0x1400d5a26

Function at 0x1400d6030
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
jne 0x1400d6057
xor ebx, ebx
jmp 0x1400d605b
lea rbx, [rcx + 0xc]
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x70], rcx
lea rcx, [rbp - 0x68]
call fcn.140005ef0
mov rcx, qword [rbp - 0x70]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.140005f40
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401dda68]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400d60d6
mov dword [rdi + 0x80], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1400d31b0]
call rax
mov rdi, rax
jmp 0x1400d60b7