joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008ecd0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14049bcb8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r12, rdx
mov r13, rcx
xor r15d, r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
inc eax
movsxd rcx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140203748
mov rdi, rax
mov qword [rsp + 0x40], rax
mov rdx, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [rsp + 0x78], 0x3a003f
mov word [rsp + 0x7c], r15w
lea rbx, vtable.com::Utf8Str.0
lea r14, [0x1404b0740]
movabs rsi, 0xaaaaaaaaaaaaaaa
nop word [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x14008eea9
movzx eax, word [rdi]
mov word [rsp + 0x78], ax
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.14003b320
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.140204630
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.VBoxRT.dll_public:_void___cdecl_RTCString::constructor_void____ptr64]
nop
mov qword [rsp + 0x58], rbx
mov rdx, qword [0x1403c1fa0]
mov rax, qword [rsp + 0x38]
test rax, rax
cmovne rdx, rax
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.140204680
nop
mov rax, qword [r13 + 0xc8]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
mov r8d, 1
mov rdx, qword [rax]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.14011a020
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x38]
call fcn.1402041c0
nop
mov r14, qword [r12]
cmp qword [r12 + 8], rsi
je 0x14008ef0f
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r15
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.14020335c
mov rsi, rax
mov qword [rax + 0x10], rbx
test rbx, rbx
je 0x14008ee5f
lea rcx, [rbx + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140010858.0]
nop
inc qword [r12 + 8]
mov rax, qword [r14 + 8]
mov qword [rsi], r14
mov qword [rsi + 8], rax
mov qword [rsp + 0x50], r15
mov qword [r14 + 8], rsi
mov qword [rax], rsi
test rbx, rbx
je 0x14008ee91
lea rcx, [rbx + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140010858.0]
lea r14, [0x1404b0740]
lea rbx, vtable.com::Utf8Str.0
movabs rsi, 0xaaaaaaaaaaaaaaa
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x14008eeb0
lea rdi, [rdi + rax*2]
add rdi, 2
cmp word [rdi], 0
jne 0x14008ed70
mov rcx, qword [rsp + 0x40]
call fcn.140202f90
nop
jmp 0x14008eedf
mov eax, r15d
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140202f70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x14016a980
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15, rdx
lea r14, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov rsi, r12
mov rbp, r12
test r14, r14
je 0x14016ab96
mov rdx, qword [rdi + 8]
nop dword [rax]
nop word [rax + rax]
lea ecx, [rdx + 0xff]
shl rsi, cl
add rsi, rsi
nop dword [rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x14016aa44
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x14016aa00
mov ecx, dword [r10]
jmp 0x14016ab27
cmp ecx, 0x4e0
jb 0x14016ab27
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [r11 + 0x634]
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14016aa60
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop word [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14016aab0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
mov r8, qword [rdi + 0x10]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
cmp rax, r8
ja 0x14016a9e0
mov rdx, qword [rdi + 8]
or rsi, rax
lea ecx, [rdx + 0xff]
shl rbp, cl
add rbp, rbp
or rbp, r8
cmp rbp, r14
jb 0x14016a9d0
xor edx, edx
mov rax, rbp
div r15
mov rcx, rax
mov r8, rdx
xor edx, edx
mov rax, rsi
div r15
cmp rax, rcx
jb 0x14016abba
cmp r8, r14
jne 0x14016a9b0
mov rbx, qword [rsp + 0x20]
mov rax, rsi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15
mov rax, rdx
pop r15
pop r14
pop r12
ret
Function at 0x14016e940
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15d, edx
lea r14d, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov ebp, r12d
test r14d, r14d
je 0x14016eb4a
mov r8, qword [rdi + 8]
nop dword [rax]
nop word [rax + rax]
lea ecx, [r8 + 0xff]
shl esi, cl
add esi, esi
nop dword [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x14016ea04
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x14016e9c0
mov ecx, dword [r10]
jmp 0x14016eae7
cmp ecx, 0x4e0
jb 0x14016eae7
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14016ea20
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14016ea70
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
mov edx, dword [rdi + 0x10]
cmp eax, edx
ja 0x14016e9a0
mov r8, qword [rdi + 8]
or esi, eax
lea ecx, [r8 + 0xff]
shl ebp, cl
add ebp, ebp
or ebp, edx
cmp ebp, r14d
jb 0x14016e990
xor edx, edx
mov eax, ebp
div r15d
mov ecx, eax
mov r8d, edx
xor edx, edx
mov eax, esi
div r15d
cmp eax, ecx
jb 0x14016eb6a
cmp r8d, r14d
jne 0x14016e970
mov rbx, qword [rsp + 0x20]
mov eax, esi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15d
mov eax, edx
pop r15
pop r14
pop r12
ret
Function at 0x14016eb90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rax, qword [rcx + 8]
xor r14d, r14d
mov esi, r14d
mov ebp, r14d
mov rdi, rcx
nop word [rax + rax]
lea ecx, [rax + 0xff]
shl esi, cl
add esi, esi
nop word [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x14016ec34
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x14016ebf0
mov ecx, dword [r10]
jmp 0x14016ed17
cmp ecx, 0x4e0
jb 0x14016ed17
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14016ec50
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14016eca0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r14d
mov dword [r10], r14d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [rdi + 0x10]
ja 0x14016ebd0
mov rax, qword [rdi + 8]
or esi, ecx
add rbp, rax
cmp rbp, 0x20
jb 0x14016ebc0
mov rbx, qword [rsp + 0x10]
mov eax, esi
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x1401a1f40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x14049bcb8]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov r15, rdx
mov r14, rcx
mov rcx, r8
call qword [sym.imp.VBoxRT.dll_public:_char_const____ptr64___cdecl_RTCString::c_str_void_const___ptr64]
mov rcx, rax
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
lea r8d, [rdi + 0x40]
lea rdx, [rsp + 0xa0]
call qword [sym.imp.VBoxRT.dll_RTBase64Decode]
test eax, eax
js 0x1401a207c
mov r14, qword [r14 + 0xc8]
cmp byte [r14 + 0x240], dil
jne 0x1401a1fb5
lea eax, [rdi - 0x4f]
jmp 0x1401a207c
mov rbp, qword [rsp + 0x30]
cmp rbp, 0x20
jae 0x1401a1fca
mov eax, 0xfffffffe
jmp 0x1401a207c
mov esi, edi
mov ebx, edi
lea rdx, [rsp + 0xa0]
nop word [rax + rax]
mov eax, ebx
movzx ecx, byte [rax + r14 + 0x241]
cmp byte [rdx], cl
jne 0x1401a2077
inc esi
inc rdx
inc ebx
cmp esi, 8
jb 0x1401a1fe0
mov r8, rbp
mov edx, 0xff
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov edx, esi
cmp rdx, rbp
jae 0x1401a204b
lea r8, [rsp + 0x60]
nop dword [rax]
movzx ecx, byte [rbx + r14 + 0x241]
xor cl, byte [rsp + rdx + 0xa0]
mov byte [r8], cl
lea eax, [rbx + 1]
inc esi
lea r8, [r8 + 1]
mov edx, esi
mov ebx, edi
cmp eax, 0x40
cmovb ebx, eax
cmp rdx, rbp
jb 0x1401a2020
test rbp, rbp
je 0x1401a2077
mov rax, rdi
cmp byte [rsp + rax + 0x60], 0
jne 0x1401a206e
lea rcx, [rsp + 0x60]
call qword [sym.imp.VBoxRT.dll_RTStrIsValidEncoding]
test al, al
jne 0x1401a20a3
mov rbp, qword [rsp + 0x30]
inc edi
mov eax, edi
cmp rax, rbp
jb 0x1401a2053
mov eax, 0xfffffffd
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140202f70
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call qword [sym.imp.VBoxRT.dll_public:_void___cdecl_RTCString::constructor_char_const____ptr64____ptr64]
lea rax, vtable.com::Utf8Str.0
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov rcx, r15
call qword [sym.imp.VBoxRT.dll_public:_class_RTCString____ptr64___cdecl_RTCString::operator_class_RTCString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
xor eax, eax
jmp 0x1401a207c
Function at 0x1401a22f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x130
mov rax, qword [0x14049bcb8]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rbx, qword [rdx + 0x10]
mov rbp, rcx
mov rcx, rdx
inc rbx
mov r14, r8
call qword [sym.imp.VBoxRT.dll_public:_char_const____ptr64___cdecl_RTCString::c_str_void_const___ptr64]
mov r8, qword [rbp + 0xc8]
mov r9, rax
cmp byte [r8 + 0x240], 0
jne 0x1401a2342
mov eax, 0xffffffb1
jmp 0x1401a24ac
movzx eax, byte [r8 + 0x241]
mov byte [rsp + 0x38], al
movzx eax, byte [r8 + 0x242]
mov byte [rsp + 0x39], al
movzx eax, byte [r8 + 0x243]
mov byte [rsp + 0x3a], al
movzx eax, byte [r8 + 0x244]
mov byte [rsp + 0x3b], al
movzx eax, byte [r8 + 0x245]
mov byte [rsp + 0x3c], al
movzx eax, byte [r8 + 0x246]
mov byte [rsp + 0x3d], al
movzx eax, byte [r8 + 0x247]
mov qword [rsp + 0x150], rsi
mov byte [rsp + 0x3e], al
movzx eax, byte [r8 + 0x248]
mov qword [rsp + 0x168], rdi
mov edi, 8
mov byte [rsp + 0x3f], al
mov esi, edi
test rbx, rbx
je 0x1401a23fb
nop
cmp esi, 0x20
jae 0x1401a245c
mov eax, edi
lea ecx, [rsi - 8]
movzx ecx, byte [rcx + r9]
mov edx, esi
inc esi
xor cl, byte [rax + r8 + 0x241]
lea eax, [rdi + 1]
xor edi, edi
cmp eax, 0x40
mov byte [rsp + rdx + 0x38], cl
lea ecx, [rsi - 8]
cmovb edi, eax
cmp rcx, rbx
jb 0x1401a23c0
cmp esi, 0x20
jae 0x1401a245c
mov ebx, esi
lea rcx, [rsp + 0x60]
mov edx, 0x20
sub rdx, rbx
call qword [sym.imp.VBoxRT.dll_RTRandBytes]
mov r11, qword [rbp + 0xc8]
lea r8, [rsp + 0x38]
add r8, rbx
lea r9, [rsp + 0x60]
mov r10d, 0x20
sub r10d, esi
nop dword [rax]
mov eax, edi
lea r8, [r8 + 1]
lea r9, [r9 + 1]
movzx ecx, byte [rax + r11 + 0x241]
lea eax, [rdi + 1]
xor cl, byte [r9 - 1]
xor edi, edi
cmp eax, 0x40
mov byte [r8 - 1], cl
cmovb edi, eax
sub r10, 1
jne 0x1401a2430
mov r9d, 0x80
lea rax, [rsp + 0x30]
lea r8, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x38]
lea edx, [r9 - 0x60]
call qword [sym.imp.VBoxRT.dll_RTBase64Encode]
mov rdi, qword [rsp + 0x168]
mov ebx, eax
mov rsi, qword [rsp + 0x150]
test eax, eax
js 0x1401a24ac
lea rdx, [rsp + 0xa0]
mov rcx, r14
call qword [sym.imp.VBoxRT.dll_public:_class_RTCString____ptr64___cdecl_RTCString::operator_char_const____ptr64____ptr64]
mov eax, ebx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140202f70
add rsp, 0x130
pop r14
pop rbp
pop rbx
ret
Function at 0x1401e1700
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x140
mov rax, qword [0x14049bcb8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rdx
mov rbp, rcx
xor esi, esi
test rdx, rdx
je 0x1401e17cb
movsx edx, byte [rdx]
test dl, dl
je 0x1401e17cb
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rdi + rax], sil
jne 0x1401e1750
cmp rax, 1
jne 0x1401e1772
cmp dl, 0x43
je 0x1401e1837
mov eax, 0xfffffffe
jmp 0x1401e18c3
cmp rax, 2
jne 0x1401e1789
lea eax, [rdx - 0x61]
cmp eax, 0x1a
jae 0x1401e17c1
movsx eax, byte [rdi + 1]
sub eax, 0x61
jmp 0x1401e17bc
cmp rax, 5
jne 0x1401e17c1
lea eax, [rdx - 0x61]
cmp eax, 0x1a
jae 0x1401e17c1
movsx eax, byte [rdi + 1]
sub eax, 0x61
cmp eax, 0x1a
jae 0x1401e17c1
cmp byte [rdi + 2], 0x5f
jne 0x1401e17c1
movsx eax, byte [rdi + 3]
sub eax, 0x41
cmp eax, 0x1a
jae 0x1401e17c1
movsx eax, byte [rdi + 4]
sub eax, 0x41
cmp eax, 0x1a
jb 0x1401e1837
mov eax, 0xfffffffe
jmp 0x1401e18c3
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ecx, eax
mov r9d, 0x100
lea r8, [rsp + 0x30]
mov edx, 0x59
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp eax, 3
jne 0x1401e1818
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ecx, eax
mov r9d, 0xfc
lea r8, [rsp + 0x33]
mov edx, 0x5a
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp eax, 3
jne 0x1401e1818
mov byte [rsp + 0x32], 0x5f
jmp 0x1401e1832
mov edx, 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.VBoxRT.dll_RTLocaleQueryNormalizedBaseLocaleName]
mov esi, eax
test eax, eax
js 0x1401e18c3
lea rdi, [rsp + 0x30]
mov r8, rbp
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.1402b5e40
nop
lea r14, vtable.util::AutoWriteLock.0
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x20]
call fcn.1402b6690
nop
lea rcx, [rbp + 0x30]
mov rdx, rdi
call qword [sym.imp.VBoxRT.dll_public:_class_RTCString____ptr64___cdecl_RTCString::operator_char_const____ptr64____ptr64]
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1401e189b
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov r8, rdi
mov rcx, rbp
call fcn.1401e18f0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, qword [rbp + 0x18]
jne 0x1401e1880
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x20]
call fcn.1402b6820
lea rax, vtable.util::AutoWriteLockBase.0
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.1402b64a0
nop
mov eax, esi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140202f70
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1401e3d00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
sub rsp, 0x18
mov r11, rdx
cmp rdx, 0xffffffffffffffff
je 0x1401e3ee1
mov rdi, qword [rcx + 0x28]
mov rsi, qword [rcx + 0x30]
cmp rdi, rsi
je 0x1401e3ee1
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], r12
movabs r12, 0xcccccccccccccccd
mov qword [rsp + 0x10], r13
movabs r13, 0x47ae147ae147ae15
mov qword [rsp + 8], r14
xor r14d, r14d
mov qword [rsp], r15
mov r8d, r14d
sub rsi, rdi
movabs r15, 0x624dd2f1a9fbe77
nop dword [rax]
xor bpl, bpl
nop dword [rax]
nop word [rax + rax]
mov bl, 1
mov eax, r8d
mov rcx, r11
inc r8d
movzx r9d, byte [rax + rdi]
test r9b, 0x10
je 0x1401e3dac
mov rax, r12
mul r11
shr rdx, 3
lea rax, [rdx + rdx*4]
add rax, rax
sub rcx, rax
jmp 0x1401e3dfc
test r9b, 0x20
je 0x1401e3dd1
mov rax, r13
mul r11
mov rax, r11
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 6
imul rax, rax, 0x64
sub rcx, rax
jmp 0x1401e3dfc
test r9b, 0x40
je 0x1401e3dfc
cmp r11, 0x3e8
jb 0x1401e3dfc
mov rax, r15
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 9
cmp rcx, 0x3e8
jae 0x1401e3de0
movzx edx, byte [r8 + rdi]
mov eax, r9d
and eax, 7
inc r8d
cmp eax, 4
jne 0x1401e3e25
movzx r10d, byte [r8 + rdi]
lea eax, [r8 + 1]
mov r8d, eax
cmp rcx, rdx
jb 0x1401e3e2f
cmp rcx, r10
jmp 0x1401e3e63
cmp eax, 1
jne 0x1401e3e4f
cmp rcx, rdx
je 0x1401e3e65
xor al, al
movzx ecx, al
movzx eax, cl
xor al, 1
and r9b, 8
movzx edx, al
cmove edx, ecx
test bl, bl
je 0x1401e3e69
test dl, dl
je 0x1401e3e69
mov bl, 1
jmp 0x1401e3e6b
cmp eax, 2
jne 0x1401e3e5b
cmp rcx, rdx
jb 0x1401e3e65
jmp 0x1401e3e2f
cmp eax, 3
jne 0x1401e3e2f
cmp rcx, rdx
ja 0x1401e3e2f
mov al, 1
jmp 0x1401e3e31
xor bl, bl
mov eax, r8d
cmp rax, rsi
je 0x1401e3e83
cmp byte [rax + rdi], 0xfd
mov ecx, eax
jne 0x1401e3e86
inc r8d
jmp 0x1401e3d82
mov ecx, r8d
test bpl, bpl
jne 0x1401e3e8f
test bl, bl
je 0x1401e3e92
mov bpl, 1
cmp rax, rsi
je 0x1401e3ea5
cmp byte [rdi + rcx], 0xfe
jne 0x1401e3ea5
inc r8d
jmp 0x1401e3d80
test bpl, bpl
jne 0x1401e3eba
inc r14
cmp rax, rsi
jae 0x1401e3eba
inc r8d
jmp 0x1401e3d70
mov r13, qword [rsp + 0x10]
mov rax, r14
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp]
add rsp, 0x18
pop rdi
pop rsi
ret
xor eax, eax
add rsp, 0x18
pop rdi
pop rsi
ret
Function at 0x1401fb020
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
sub rsp, 0x38
test byte [rcx + 8], 1
jne 0x1401fb039
mov eax, 0xffffffea
add rsp, 0x38
ret
mov rcx, qword [rcx + 0x18]
lea r9, [rsp + 0x50]
xor eax, eax
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x20], rax
lea r8d, [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1401fb070
mov eax, dword [rsp + 0x50]
sub eax, 8
neg eax
sbb eax, eax
add rsp, 0x38
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401fb084
mov eax, 0xffffffff
add rsp, 0x38
ret
mov ecx, eax
call qword [sym.imp.VBoxRT.dll_RTErrConvertFromWin32]
add rsp, 0x38
ret

Function at 0x1401fb240
Capabilities:
Connect pipe

Disassembly:
sub rsp, 0x28
movzx eax, byte [rcx + 8]
and al, 3
cmp al, 3
jne 0x1401fb284
mov rcx, qword [rcx + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1401fb27d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x1401fb27d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1401fb27d
mov ecx, eax
call qword [sym.imp.VBoxRT.dll_RTErrConvertFromWin32]
xor eax, eax
add rsp, 0x28
ret
mov eax, 0xffffffea
add rsp, 0x28
ret

Function at 0x1401fb290
Capabilities:
Create pipe

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x60
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x1401fb39b
test byte [rcx + 8], 1
je 0x1401fb2c8
mov eax, 0xffffffea
mov rbx, qword [r11 + 8]
mov rsi, qword [r11 + 0x18]
add rsp, 0x60
pop rdi
ret
mov r8, rdi
lea rdx, str..pipe_s
lea rcx, [rsp + 0x40]
call fcn.140003320
nop
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_public:_char_const____ptr64___cdecl_RTCString::c_str_void_const___ptr64]
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1402048a0
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
mov rcx, qword [0x1403c1fa0]
mov rax, qword [rsp + 0x78]
test rax, rax
cmovne rcx, rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], 0x400
lea r9d, [rax + 1]
xor r8d, r8d
mov edx, 0x80003
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401fb361
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1401fb361
mov ecx, eax
call qword [sym.imp.VBoxRT.dll_RTErrConvertFromWin32]
or byte [rbx + 8], 3
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
lea rcx, [rbx + 0x20]
mov rdx, rdi
call qword [sym.imp.VBoxRT.dll_public:_class_RTCString____ptr64___cdecl_RTCString::operator_char_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x78]
call fcn.1402041c0
nop
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret