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

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, [0x140141e78]
call fcn.140004280
mov rsi, rax
mov dword [rsi + 0x20], 0x7fffffff
lea rcx, [0x14014f3b0]
mov edx, 0x10
call fcn.1400043a0
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.140004490
xor edi, edi
mov ebp, dword [rbx + 8]
test ebp, ebp
jle 0x14007319d
movzx edx, byte [rbx + rdi + 0x10]
xor edx, 0x63
mov rcx, rsi
call fcn.1400b6ac0
inc edi
cmp ebp, edi
jg 0x140073187
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp fcn.1400b65a0

Function at 0x140073480
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.1400cb590
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.140005f40
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.140005f90
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401e5b68]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rcx, rdx
mov rsi, qword [rcx]
test rsi, rsi
je 0x140073576
mov qword [rbp - 0x78], rsi
call sub.KERNEL32.dll_GetLastError
mov rsi, qword [rbp - 0x78]
mov dword [rsi + 0x80], eax
cmp dword [0x1401df498], 0
je 0x14007358e
jmp 0x140073588
lea rax, [0x1400d2990]
call rax
mov rsi, rax
mov qword [rbp - 0x78], rsi
jmp 0x14007355c
call fcn.140005060
nop
cmp qword [rbp + 0x18], 0
je 0x1400735aa
mov rdx, qword [rbp - 0x40]
test rdx, 0xffffffffffff0000
je 0x1400735aa
mov rcx, rdx
call fcn.1400d9440
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 0x140073c40
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, [0x14014f3b0]
mov edx, 0xc
call fcn.1400043a0
xor ecx, ecx
mov edx, ecx
lea r8, [0x140139ff8]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140139ca8]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0xc
jl 0x140073c77
mov rcx, rax
call fcn.140082410
mov r15, rax
lea rcx, [0x14014f3b0]
mov edx, 0xe
call fcn.1400043a0
xor ecx, ecx
mov edx, ecx
lea r8, [0x140136628]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140120d48]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0xe
jl 0x140073cc8
mov rcx, rax
call fcn.140082410
mov r13, rax
mov rcx, r15
call fcn.140073650
test rax, rax
je 0x140073d23
mov rcx, rax
mov rdx, r13
call fcn.140073780
mov r15, rax
jmp 0x140073d26
xor r15d, r15d
test r15, r15
je 0x140073d7d
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.140005f40
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.140005f90
mov rax, rbx
jmp 0x140073d7f
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 0x140073da0
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, [0x14014f3b0]
mov edx, 0xc
call fcn.1400043a0
xor ecx, ecx
mov edx, ecx
lea r8, [0x140120608]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140136d80]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0xc
jl 0x140073dc5
mov rcx, rax
call fcn.140082410
mov rbp, rax
lea rcx, [0x14014f3b0]
mov edx, 0x10
call fcn.1400043a0
xor ecx, ecx
mov edx, ecx
lea r8, [0x140120b80]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x1401250d0]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0x10
jl 0x140073e16
mov rcx, rax
call fcn.140082410
mov r14, rax
mov rcx, rbp
call fcn.140073650
test rax, rax
je 0x140073e6e
mov rcx, rax
mov rdx, r14
call fcn.140073780
jmp 0x140073e70
xor eax, eax
test rax, rax
je 0x140073e8f
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.140071f60
xor eax, eax
mov qword [rbx], rax
add rsp, 0x20
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
ret
Function at 0x140073ea0
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, [0x14014f3b0]
mov edx, 0xc
call fcn.1400043a0
xor ecx, ecx
mov edx, ecx
lea r8, [0x140120dc8]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140139428]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0xc
jl 0x140073eca
mov rcx, rax
call fcn.140082410
mov r14, rax
lea rcx, [0x14014f3b0]
mov edx, 0x13
call fcn.1400043a0
xor ecx, ecx
nop dword [rax + rax]
mov edx, ecx
lea r8, [0x140122338]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140138208]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0x13
jl 0x140073f20
mov rcx, rax
call fcn.140082410
mov r15, rax
mov rcx, r14
call fcn.140073650
test rax, rax
je 0x140073f78
mov rcx, rax
mov rdx, r15
call fcn.140073780
jmp 0x140073f7a
xor eax, eax
test rax, rax
je 0x140073faf
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.140072040
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 0x1400772e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, [0x14014f3b0]
mov edx, 0x1d
call fcn.1400043a0
xor ecx, ecx
nop dword [rax]
mov edx, ecx
lea r8, [0x140137e40]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140120a78]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0x1d
jl 0x140077300
mov rcx, rax
call fcn.140082410
mov rsi, rax
mov rcx, rsi
call fcn.1400be5a0
test eax, eax
je 0x140077419
call fcn.140077440
mov rdx, rax
mov rcx, rbx
call fcn.1400774d0
mov rdx, rax
lea rcx, [0x1401226e0]
call fcn.140082c70
mov rdx, rax
mov rcx, rsi
call fcn.140072680
call fcn.140089790
movabs rbx, 0x3fffffffffffffff
and rbx, rax
call fcn.140077680
mov rsi, rax
call fcn.140089790
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 0x14007740b
test rsi, rsi
je 0x14007738a
call fcn.140077640
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140077640
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x140077440
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rcx, [0x14014f370]
mov edx, 0x1f3
call fcn.1400043a0
mov rbx, rax
lea rcx, [rbx + 0x10]
lea rdx, str.m_SDE_YXk_e_QXWBCDS_v
mov r8d, 0x1f3
call fcn.140091360
lea rcx, [0x140141e78]
call fcn.140004280
mov rsi, rax
mov dword [rsi + 0x20], 0x7fffffff
lea rcx, [0x14014f3b0]
mov edx, 0x10
call fcn.1400043a0
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.140004490
xor edi, edi
movzx edx, byte [rbx + rdi + 0x10]
xor edx, 0x36
mov rcx, rsi
call fcn.1400b6ac0
inc edi
cmp edi, 0x1f3
jl 0x1400774a6
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1400b65a0
Function at 0x140077680
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, [0x14014f3b0]
mov edx, 5
call fcn.1400043a0
xor ecx, ecx
mov edx, ecx
lea r8, [0x140122bb8]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x14012cac8]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 5
jl 0x1400776a2
mov rcx, rax
call fcn.140082410
mov rbx, rax
xor esi, esi
xor ecx, ecx
call fcn.1400778c0
mov rcx, rax
call fcn.140077920
mov rdi, rax
test rdi, rdi
je 0x14007777e
lea rcx, [0x14014f3b0]
mov edx, pe_nt_image_headers64
call fcn.1400043a0
mov r14, rax
mov r8d, pe_nt_image_headers64
mov rcx, rdi
mov rdx, r14
call fcn.140077980
test eax, eax
jle 0x140077769
mov rcx, r14
call fcn.140082410
mov rcx, rax
xor edx, edx
mov dword [rbp - 0x28], edx
lea rdx, [rbp - 0x28]
mov r8d, 1
mov r9d, 2
call fcn.140084040
mov dword [rsp + 0x20], 1
mov r9d, dword [rax + 8]
mov rcx, rax
mov rdx, rbx
xor r8d, r8d
call fcn.140084200
test eax, eax
jge 0x14007777b
mov rcx, rdi
call fcn.140077920
mov rdi, rax
test rdi, rdi
jne 0x1400776fd
jmp 0x14007777e
mov rsi, rdi
test rsi, rsi
je 0x1400777a6
mov rcx, rsi
call fcn.140077a20
mov rcx, rsi
mov edx, 5
call fcn.140077a90
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 0x14007cf70
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.140005f40
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.140005f90
test ebx, ebx
jne 0x14007cfe4
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
je 0x14007d00c
lea rcx, [0x14013f338]
call fcn.140004280
mov rbx, rax
mov rcx, rbx
call fcn.14008c1e0
mov rcx, rbx
call fcn.1400047f0
int3
lea rcx, [0x14013f960]
call fcn.140004280
mov rbx, rax
mov rcx, rbx
call fcn.140090530
mov rcx, rbx
call fcn.1400047f0
int3
Function at 0x14007d4e0
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 0x14007d587
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.1400d9e20
mov ecx, eax
test ecx, ecx
jne 0x14007d58e
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.1400d9dc0
mov ecx, eax
lea rdx, [0x140120418]
xor r8d, r8d
call fcn.1400c4d50
mov rcx, rax
call fcn.1400047f0
int3

Function at 0x140080330
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140080342
add rsp, 0x28
jmp fcn.140080a00
lea rcx, [0x140139560]
call fcn.140087f70
int3
Function at 0x1400808a0
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 [0x1401db480]
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 [0x1401e5b68]
mov edx, 0x10
add rdx, qword [rcx + rax*8]
mov rbx, qword [rdx]
test rbx, rbx
je 0x1400809cc
mov qword [rbp + 0x18], rbx
jmp 0x140080928
mov edx, ebx
sub edx, dword [rbp + 0x60]
lea rcx, [rbp + 0x58]
call fcn.1400bc590
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.140005f40
mov rcx, qword [rbp + 4]
mov edx, dword [rbp + 0xc]
call sub.KERNEL32.dll_GetSystemDirectoryW
mov ebx, eax
lea rcx, [rbp + 0x28]
call fcn.140005f90
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 0x140080995
cmp ebx, dword [rbp + 0x70]
jbe 0x140080928
jmp 0x14008091a
test ebx, ebx
je 0x1400809e0
mov dword [rbp + 0x60], ebx
lea rcx, [rbp + 0x58]
call fcn.1400bc360
lea rcx, [0x1401db480]
mov rcx, qword [rcx]
cmp qword [rbp + 0x10], rcx
je 0x1400809ba
call fcn.140003e00
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, [0x1400d2990]
call rax
mov rbx, rax
jmp 0x140080914
lea rcx, [0x140120418]
call fcn.1400c4cf0
mov rcx, rax
call fcn.1400047f0
int3
Function at 0x140090bc0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r8d, edx
test r8d, r8d
jl 0x140090cc6
mov rcx, qword [rcx + 8]
lea rax, [0x140145e28]
cmp qword [rcx], rax
je 0x140090cb8
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 0x140090caa
mov eax, r8d
neg eax
xor edx, edx
div r8d
cmp r11d, edx
jae 0x140090caa
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 0x140090c51
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.1400db590
mov ecx, r8d
lea rdx, [0x1401384f8]
call fcn.140112cb0
int3

Function at 0x1400d4c10
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 0x1400d4c37
xor ecx, ecx
jmp 0x1400d4c3b
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.140005f40
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.140005f90
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 0x1400d5070
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 0x1400d50ad
xor r14d, r14d
jmp 0x1400d50b1
lea r14, [rdx + 0xc]
mov qword [rbp - 0x48], r14
test rcx, rcx
jne 0x1400d50bf
xor r15d, r15d
jmp 0x1400d50c3
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.140005f40
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.140005f90
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 [0x1401e5b68]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400d5188
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, [0x1400d2990]
call rax
mov rdi, rax
jmp 0x1400d5166

Function at 0x1400d5770
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 0x1400d5797
xor ebx, ebx
jmp 0x1400d579b
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.140005f40
mov rcx, qword [rbp - 0x70]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.140005f90
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401e5b68]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400d5816
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, [0x1400d2990]
call rax
mov rdi, rax
jmp 0x1400d57f7
Function at 0x1400d6d40
Capabilities:
Read file on windows

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
mov rbx, rdx
mov esi, r8d
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400cbda0
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x7c], rcx
mov rdx, rbx
mov qword [rbp - 0x84], rdx
mov r8d, esi
mov dword [rbp - 0x74], r8d
mov r9, rdi
mov qword [rbp - 0x8c], r9
lea rcx, [rbp - 0x70]
call fcn.140005f40
mov rcx, qword [rbp - 0x7c]
mov rdx, qword [rbp - 0x84]
mov r8d, dword [rbp - 0x74]
mov r9, qword [rbp - 0x8c]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140005f90
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp byte [rbp - 0x40], 0
je 0x1400d6e03
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400cbde0
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401e5b68]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400d6e3f
mov dword [rdi + 0x80], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1400d2990]
call rax
mov rdi, rax
jmp 0x1400d6e23

Function at 0x1400d6e90
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
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.1400cbda0
nop
mov qword [rbp - 0x50], rbx
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x84], rcx
mov rdx, rsi
mov qword [rbp - 0x8c], rdx
mov r8d, edi
mov dword [rbp - 0x7c], r8d
mov r9, rbx
mov qword [rbp - 0x94], r9
lea rcx, [rbp - 0x78]
call fcn.140005f40
mov rcx, qword [rbp - 0x84]
mov rdx, qword [rbp - 0x8c]
mov r8d, dword [rbp - 0x7c]
mov r9, qword [rbp - 0x94]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140005f90
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1400d6f6f
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400cbde0
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401e5b68]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400d6fab
mov dword [rdi + 0x80], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1400d2990]
call rax
mov rdi, rax
jmp 0x1400d6f8f