joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400448e0
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x158
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xc0], xmm6
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rbp + 0x70], rcx
mov byte [rbp + 0xb5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x64], ecx
mov r12d, 8
mov sil, 1
xorps xmm6, xmm6
lea rbx, [rbp + 0x20]
mov r13, qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
xor edi, edi
xor eax, eax
mov qword [rbp - 8], rax
nop word cs:[rax + rax]

Function at 0x140045ce0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x140045e23
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
je 0x140045df8
sub r8, rdx
add rdx, qword [rbx + 8]
mov rax, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp r8, rcx
cmovae r8, rcx
mov dword [rbp - 0x38], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140045d60
mov eax, dword [rbp - 0x38]
mov ecx, 2
test rax, rax
je 0x140045da2
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x140045da6
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x38], rax
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x140045daa
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x140045dd4
mov rax, rbp
jmp 0x140045db6
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x140045dda
mov qword [rbp], 1
lea rax, [rbp - 8]
mov qword [rax], 0
lea rcx, [rbp - 0x38]
call fcn.140033c80
mov rcx, qword [rbp]
mov rax, qword [rbp - 8]
cmp rcx, 2
jne 0x140045de5
mov qword [rsi + 8], rax
mov al, 1
mov byte [rsi], al
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
test rcx, rcx
jne 0x140045d49
mov ecx, 1
jmp 0x140045d53
test r8, r8
mov ecx, 0x10
mov eax, 1
cmove rax, rcx
mov rcx, rbx
mov rdx, r8
mov r8, rax
call fcn.140060120
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x140045d11
mov qword [rbp - 0x38], 0
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.14005fff0
int3
Function at 0x14004b7c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.14004d460
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
movabs r14, 0x8000000000000000
cmp rcx, r14
jne 0x14004b7fe
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], r14
jmp 0x14004b824
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x40]
call fcn.1400434f0
mov rdi, qword [rbp - 0x10]
cmp rdi, r14
jne 0x14004b83d
lea rcx, [rbp - 8]
call fcn.140033c80
mov qword [rsi], r14
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rbx, qword [rbp - 8]
mov r15, qword [rbp]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004b860
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
jmp 0x14004b830
mov qword [rsi], r14
test rdi, rdi
je 0x14004b830
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
jmp fcn.14001ae50

Function at 0x14004cd70
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
in al, dx
push rax
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
Function at 0x14005bcc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x14005bd4a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14005bd40
cmp r10, r11
jb 0x14005bdc6
cmp r10, rdx
ja 0x14005bdd8
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x14005bd42
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14005bd20
jmp 0x14005bda7
ja 0x14005bd4a
mov r11, r10
cmp rax, r8
jne 0x14005bce7
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14005bdab
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14005bd80
mov r8, r10
sub ecx, r9d
jns 0x14005bd9e
jmp 0x14005bdad
cmp r10, rdx
je 0x14005bdba
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14005bdad
xor al, 1
cmp r8, rdx
jne 0x14005bd60
jmp 0x14005bdad
xor eax, eax
jmp 0x14005bdad
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140061720
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140061c60
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140061bf0
int3

Function at 0x14005db18
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005db62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005db62
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005db62
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005db62
cmp dword [rcx + 0x84], 0xe
jbe 0x14005db62
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005db64
xor al, al
add rsp, 0x28
ret
Function at 0x140e2b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140e2b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140e2b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e2b06f
add dl, dl
jne 0x140e2b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e2b0f6
xor eax, eax
add dl, dl
jne 0x140e2b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e2b1ad
add dl, dl
jne 0x140e2b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e2b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e2b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e2b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140e2b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140e2b07e
mov eax, 1
add dl, dl
jne 0x140e2b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e2b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e2b0fb
sub eax, ebx
mov ebx, 1
jne 0x140e2b14c
mov ecx, 1
add dl, dl
jne 0x140e2b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e2b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e2b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e2b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140e2b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e2b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e2b15d
cmp eax, 0x7d00
jae 0x140e2b19b
cmp eax, 0x500
jb 0x140e2b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e2b07e
cmp eax, 0x7f
ja 0x140e2b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e2b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140e2b1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140e2b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140090530
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 [0x140445eb8]
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.1401dbb68
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, [0x140458b68]
movabs rsi, 0xaaaaaaaaaaaaaaa
nop word [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x140090709
movzx eax, word [rdi]
mov word [rsp + 0x78], ax
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.14003b730
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1401dc8c0
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 [0x140378c60]
mov rax, qword [rsp + 0x38]
test rax, rax
cmovne rdx, rax
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.1401dc910
nop
mov rax, qword [r13 + 0xc8]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
mov r8d, 2
mov rdx, qword [rax]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.14011af70
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.1401dc450
nop
mov r14, qword [r12]
cmp qword [r12 + 8], rsi
je 0x14009076f
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r15
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1401db77c
mov rsi, rax
mov qword [rax + 0x10], rbx
test rbx, rbx
je 0x1400906bf
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 0x1400906f1
lea rcx, [rbx + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140010858.0]
lea r14, [0x140458b68]
lea rbx, vtable.com::Utf8Str.0
movabs rsi, 0xaaaaaaaaaaaaaaa
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x140090710
lea rdi, [rdi + rax*2]
add rdi, 2
cmp word [rdi], 0
jne 0x1400905d0
mov rcx, qword [rsp + 0x40]
call fcn.1401db600
nop
jmp 0x14009073f
mov eax, r15d
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401db5e0
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 0x140090780
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 [0x140445eb8]
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.1401dbb68
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, [0x140458b68]
movabs rsi, 0xaaaaaaaaaaaaaaa
nop word [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x140090959
movzx eax, word [rdi]
mov word [rsp + 0x78], ax
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.14003b730
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1401dc8c0
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 [0x140378c60]
mov rax, qword [rsp + 0x38]
test rax, rax
cmovne rdx, rax
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.1401dc910
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.14011af70
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.1401dc450
nop
mov r14, qword [r12]
cmp qword [r12 + 8], rsi
je 0x1400909bf
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r15
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1401db77c
mov rsi, rax
mov qword [rax + 0x10], rbx
test rbx, rbx
je 0x14009090f
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 0x140090941
lea rcx, [rbx + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140010858.0]
lea r14, [0x140458b68]
lea rbx, vtable.com::Utf8Str.0
movabs rsi, 0xaaaaaaaaaaaaaaa
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x140090960
lea rdi, [rdi + rax*2]
add rdi, 2
cmp word [rdi], 0
jne 0x140090820
mov rcx, qword [rsp + 0x40]
call fcn.1401db600
nop
jmp 0x14009098f
mov eax, r15d
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401db5e0
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 0x14017a560
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 [0x140445eb8]
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 0x14017a69c
mov r14, qword [r14 + 0xc8]
cmp byte [r14 + 0x240], dil
jne 0x14017a5d5
lea eax, [rdi - 0x4f]
jmp 0x14017a69c
mov rbp, qword [rsp + 0x30]
cmp rbp, 0x20
jae 0x14017a5ea
mov eax, 0xfffffffe
jmp 0x14017a69c
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 0x14017a697
inc esi
inc rdx
inc ebx
cmp esi, 8
jb 0x14017a600
mov r8, rbp
mov edx, 0xff
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov edx, esi
cmp rdx, rbp
jae 0x14017a66b
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 0x14017a640
test rbp, rbp
je 0x14017a697
mov rax, rdi
cmp byte [rsp + rax + 0x60], 0
jne 0x14017a68e
lea rcx, [rsp + 0x60]
call qword [sym.imp.VBoxRT.dll_RTStrIsValidEncoding]
test al, al
jne 0x14017a6c3
mov rbp, qword [rsp + 0x30]
inc edi
mov eax, edi
cmp rax, rbp
jb 0x14017a673
mov eax, 0xfffffffd
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1401db5e0
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 0x14017a69c
Function at 0x14017a910
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x130
mov rax, qword [0x140445eb8]
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 0x14017a962
mov eax, 0xffffffb1
jmp 0x14017aacc
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 0x14017aa1b
nop
cmp esi, 0x20
jae 0x14017aa7c
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 0x14017a9e0
cmp esi, 0x20
jae 0x14017aa7c
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 0x14017aa50
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 0x14017aacc
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.1401db5e0
add rsp, 0x130
pop r14
pop rbp
pop rbx
ret
Function at 0x1401b95f0
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 [0x140445eb8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rdx
mov rbp, rcx
xor esi, esi
test rdx, rdx
je 0x1401b96bb
movsx edx, byte [rdx]
test dl, dl
je 0x1401b96bb
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rdi + rax], sil
jne 0x1401b9640
cmp rax, 1
jne 0x1401b9662
cmp dl, 0x43
je 0x1401b9727
mov eax, 0xfffffffe
jmp 0x1401b97b3
cmp rax, 2
jne 0x1401b9679
lea eax, [rdx - 0x61]
cmp eax, 0x1a
jae 0x1401b96b1
movsx eax, byte [rdi + 1]
sub eax, 0x61
jmp 0x1401b96ac
cmp rax, 5
jne 0x1401b96b1
lea eax, [rdx - 0x61]
cmp eax, 0x1a
jae 0x1401b96b1
movsx eax, byte [rdi + 1]
sub eax, 0x61
cmp eax, 0x1a
jae 0x1401b96b1
cmp byte [rdi + 2], 0x5f
jne 0x1401b96b1
movsx eax, byte [rdi + 3]
sub eax, 0x41
cmp eax, 0x1a
jae 0x1401b96b1
movsx eax, byte [rdi + 4]
sub eax, 0x41
cmp eax, 0x1a
jb 0x1401b9727
mov eax, 0xfffffffe
jmp 0x1401b97b3
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 0x1401b9708
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 0x1401b9708
mov byte [rsp + 0x32], 0x5f
jmp 0x1401b9722
mov edx, 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.VBoxRT.dll_RTLocaleQueryNormalizedBaseLocaleName]
mov esi, eax
test eax, eax
js 0x1401b97b3
lea rdi, [rsp + 0x30]
mov r8, rbp
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.14028d6d0
nop
lea r14, vtable.util::AutoWriteLock.0
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x20]
call fcn.14028df20
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 0x1401b978b
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov r8, rdi
mov rcx, rbp
call fcn.1401b97e0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, qword [rbp + 0x18]
jne 0x1401b9770
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x20]
call fcn.14028e0b0
lea rax, vtable.util::AutoWriteLockBase.0
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.14028dd30
nop
mov eax, esi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1401db5e0
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 0x1401bbbf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
sub rsp, 0x18
mov r11, rdx
cmp rdx, 0xffffffffffffffff
je 0x1401bbdd1
mov rdi, qword [rcx + 0x28]
mov rsi, qword [rcx + 0x30]
cmp rdi, rsi
je 0x1401bbdd1
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 0x1401bbc9c
mov rax, r12
mul r11
shr rdx, 3
lea rax, [rdx + rdx*4]
add rax, rax
sub rcx, rax
jmp 0x1401bbcec
test r9b, 0x20
je 0x1401bbcc1
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 0x1401bbcec
test r9b, 0x40
je 0x1401bbcec
cmp r11, 0x3e8
jb 0x1401bbcec
mov rax, r15
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 9
cmp rcx, 0x3e8
jae 0x1401bbcd0
movzx edx, byte [r8 + rdi]
mov eax, r9d
and eax, 7
inc r8d
cmp eax, 4
jne 0x1401bbd15
movzx r10d, byte [r8 + rdi]
lea eax, [r8 + 1]
mov r8d, eax
cmp rcx, rdx
jb 0x1401bbd1f
cmp rcx, r10
jmp 0x1401bbd53
cmp eax, 1
jne 0x1401bbd3f
cmp rcx, rdx
je 0x1401bbd55
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 0x1401bbd59
test dl, dl
je 0x1401bbd59
mov bl, 1
jmp 0x1401bbd5b
cmp eax, 2
jne 0x1401bbd4b
cmp rcx, rdx
jb 0x1401bbd55
jmp 0x1401bbd1f
cmp eax, 3
jne 0x1401bbd1f
cmp rcx, rdx
ja 0x1401bbd1f
mov al, 1
jmp 0x1401bbd21
xor bl, bl
mov eax, r8d
cmp rax, rsi
je 0x1401bbd73
cmp byte [rax + rdi], 0xfd
mov ecx, eax
jne 0x1401bbd76
inc r8d
jmp 0x1401bbc72
mov ecx, r8d
test bpl, bpl
jne 0x1401bbd7f
test bl, bl
je 0x1401bbd82
mov bpl, 1
cmp rax, rsi
je 0x1401bbd95
cmp byte [rdi + rcx], 0xfe
jne 0x1401bbd95
inc r8d
jmp 0x1401bbc70
test bpl, bpl
jne 0x1401bbdaa
inc r14
cmp rax, rsi
jae 0x1401bbdaa
inc r8d
jmp 0x1401bbc60
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