joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800482c0
Capabilities:
Allocate or change rwx memory
Create thread
Log keystrokes via polling
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1800a7010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, rdx
mov rsi, rcx
cmp dword [0x1800a9ea4], 0xd
jne 0x1800484c0
mov edi, 0x40
mov r14d, 0xc3
cmp byte [0x1800aa0e7], 0
cmovne edi, r14d
lea r9, [rsp + 0x30]
mov edx, 1
lea r8d, [rdx + 0x3f]
add rcx, 0x463c120
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [rsi + 0x463c120], dil
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov edx, 1
lea rcx, [rsi + 0x463c120]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0x40
cmp byte [0x1800aa0e2], 0
cmovne edi, r14d
lea r9, [rsp + 0x30]
mov edx, 1
lea r8d, [rdx + 0x3f]
lea rcx, [rsi + 0x3bd9e60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [rsi + 0x3bd9e60], dil
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov edx, 1
lea rcx, [rsi + 0x3bd9e60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 0x4c2c20f
mov eax, 0x4d2c20f
cmp byte [0x1800aa0e1], 0
cmovne edi, eax
lea r9, [rsp + 0x30]
mov edx, 4
lea r8d, [rdx + 0x3c]
lea rcx, [rbp + 0xe7a0ff]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0xe7a0ff], edi
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov edx, 4
lea rcx, [rbp + 0xe7a0ff]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [r14 + 0x19]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1800484a3
cmp byte [0x1800aa0e8], 0
sete al
mov byte [0x1800aa0e8], al
test al, al
je 0x1800484a3
mov qword [rsp + 0x30], 0x32
lea rcx, [rsp + 0x30]
call fcn.18004fc40
mov ecx, 8
call fcn.18005bf7c
lea rcx, [0x1800460b0]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x180059890]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1800484e2
cmp dword [rsp + 0x48], 0
jne 0x180048480
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1800484a3
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1800484c0
cmp byte [0x1800aa0e3], 0
sete byte [0x1800aa0e3]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18005b680
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov dword [rsp + 0x48], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1800494f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1800a7010]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor edi, edi
mov rsi, rcx
mov ebx, edi
xor eax, eax
mov ebp, 1
lock cmpxchg dword [0x1800a9ea0], ebp
je 0x180049551
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x18004953a
xor ecx, ecx
jmp 0x18004953c
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800a9ea0], ebp
jne 0x180049530
cmp qword [0x1800a9ea8], rdi
jne 0x1800496c8
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, edi
mov edx, 9
test rax, rax
mov qword [0x1800a9ea8], rax
xchg dword [0x1800a9ea0], edi
cmove ecx, edx
test ecx, ecx
jne 0x1800496ce
lea rcx, str.kernelbase
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800496bf
lea rdx, str.CreateFileW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800496bf
lea r8, [0x1800a9eb0]
mov qword [0x1800a9eb8], rax
lea rdx, [0x180049430]
mov rcx, rax
call fcn.18003fe80
test eax, eax
jne 0x1800496bf
mov rcx, qword [0x1800a9eb8]
call fcn.1800401c0
test eax, eax
je 0x1800495fd
lea rcx, str.____Failed_to_enable_hook_for_CreateFileW_function
jmp 0x1800496d5
mov edx, 4
lea r9, [rsp + 0x20]
lea rcx, [rsi + 0xfcdc0]
lea r8d, [rdx + 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov edx, 4
mov dword [rsi + 0xfcdc0], 0xccc3c031
lea rcx, [rsi + 0xfcdc0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov rdx, rbp
lea rcx, [rsi + 0xf9940]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rsp + 0x24]
lea r9, [rsp + 0x24]
mov rdx, rbp
mov byte [rsi + 0xf9940], 0xc3
lea rcx, [rsi + 0xf9940]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 2
lea r9, [rsp + 0x28]
lea rcx, [rsi + 0x1bcba0]
lea r8d, [rdx + 0x3e]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rsp + 0x28]
lea r9, [rsp + 0x28]
mov eax, 0xfeeb
lea rcx, [rsi + 0x1bcba0]
mov edx, 2
mov word [rsi + 0x1bcba0], ax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1800496db
lea rcx, str.____Failed_to_create_hook_for_CreateFileW_function
jmp 0x1800496d5
xchg dword [0x1800a9ea0], edi
lea rcx, str.____Failed_to_initialize_MinHook_library
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18005b680
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1800497f0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18004988c
mov qword [0x1800aa0a0], rcx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x1800987a8]
lea rcx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x1800987a8]
lea rcx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x180099088]
lea rcx, str.CONIN_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
xor eax, eax
lea r8, [0x180049700]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180049f80
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x180049fa8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x180049fce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180049fd0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18004a029
test ecx, ecx
jle 0x18004a009
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18004a029
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18004a029
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x18004a050
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18004a072
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x18004a088
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18004a0a4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18004a0a6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18004a0e2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18004a17e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18004a11d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18004a15e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18004a17e
cmp rbx, rax
ja 0x18004a130
test rbx, rbx
je 0x18004a17e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x18004a5b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800a7010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18004a5dd
xor eax, eax
jmp 0x18004a73a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x18004a608
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x18004a608
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x18004a73a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18004a72d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x18004a64b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x18004a676
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18004a732
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18004a6e5
sub eax, 1
je 0x18004a6e5
cmp eax, 2
jne 0x18004a72d
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18004a732
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18004a713
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x18004a72d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18004a732
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18005b680
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18004be70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800a7010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18004bf43
cmp byte [rcx + 0x71], 0
je 0x18004bf43
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18004bf3f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18004bf04
sub eax, 1
je 0x18004bf08
cmp eax, 2
jne 0x18004bf3f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18005b680
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18004bf36
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18004bf3f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18004beec
xor al, al
jmp 0x18004beec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18005b680
add rsp, 0x60
pop rbx
ret
Function at 0x180054890
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1800548c1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1800aa068]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1800aa078]
lea rdx, [rdi + rdi]
call fcn.18004d440
mov rax, qword [0x1800aa068]
lea r9, [rdi - 1]
mov qword [0x1800aa090], r9
mov qword [0x1800aa098], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180054a34
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1800aa078]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180054980
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800549f5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800549bd
mov r10, qword [rdx]
cmp r10, rax
je 0x1800549b7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800549f5
cmp r9, rdx
je 0x1800549d1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180054a09
cmp r9, rdx
jne 0x1800549c2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x180054a2f
mov r9, qword [0x1800aa090]
jmp 0x180054931
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800549f5
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18005b3f8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18005b47c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18005f860]
cmp byte [rcx + rax], 0
je 0x18005b47c
dec r8
sub rdx, 1
jne 0x18005b462
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1401f4460
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r9, rcx
test rcx, rcx
je 0x1401f44d0
movzx edx, byte [rcx]
xor eax, eax
test dl, dl
je 0x1401f44c4
xor r8d, r8d
mov r11d, 0x100
mov ebx, 0x20
movsx eax, dl
mov r10d, r8d
add r9, 1
or eax, r11d
add r11d, 0x100
mov edx, eax
shr edx, 2
xor edx, eax
imul eax, eax
and edx, 0xf
mov ecx, edx
shl r10d, cl
mov ecx, ebx
sub ecx, edx
movzx edx, byte [r9]
shr r8, cl
or r10d, r8d
xor eax, r10d
mov r8d, eax
test dl, dl
jne 0x1401f4480
shr eax, 0x10
xor eax, r8d
pop rbx
ret
xor eax, eax
pop rbx
ret

Function at 0x1401f4a60
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdi, rcx
test rcx, rcx
je 0x1401f4ad8
movsx ecx, byte [rcx]
xor eax, eax
test cl, cl
je 0x1401f4ac9
mov ebp, 0x100
xor ebx, ebx
mov esi, 0x20
nop dword [rax]
call fcn.1401aee60
mov r8d, ebx
add rdi, 1
or eax, ebp
add ebp, 0x100
mov edx, eax
shr edx, 2
xor edx, eax
imul eax, eax
and edx, 0xf
mov ecx, edx
shl r8d, cl
mov ecx, esi
sub ecx, edx
shr rbx, cl
movsx ecx, byte [rdi]
or r8d, ebx
xor eax, r8d
mov ebx, eax
test cl, cl
jne 0x1401f4a88
shr eax, 0x10
xor eax, ebx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x14029b8c0
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov r13, rcx
mov r12, rdx
mov rcx, r8
mov edx, 4
mov rbx, r8
mov rsi, r9
call fcn.1401a24a0
test eax, eax
jne 0x14029b90a
mov edx, 4
mov rcx, r12
call fcn.1401a24a0
test eax, eax
je 0x14029b940
mov r9, rsi
mov r8, rbx
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x80], rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.14029aa50
mov edx, 4
mov rcx, rsi
call fcn.1401a24a0
test eax, eax
jne 0x14029b90a
mov r9, rsi
mov r8, rbx
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x80], rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.14029a200
Function at 0x1402b46b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov eax, dword [0x1407e1a20]
test eax, eax
je 0x1402b46e0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [0x1407e19c0]
mov r8d, 0x30
mov dword [0x1407e1a20], 1
lea rcx, [0x1406befb0]
mov rdx, rbx
call qword [0x140aee3cc]
sub eax, 1
cmp eax, 0x2e
ja 0x1402b48c0
movzx ebp, word [0x1407e19c0]
xor eax, eax
mov esi, 0xa
cmp bp, 0x7e
sete al
lea rbx, [rbx + rax*2]
cmp word [rbx], 0x30
je 0x1402b4920
xor r13d, r13d
mov edi, esi
jmp 0x1402b4750
sub r12d, 0x30
cmp esi, r12d
jbe 0x1402b477e
imul r13, rdi
add r13, r12
movzx r12d, word [rbx]
mov edx, 4
add rbx, 2
mov ecx, r12d
call fcn.1401aee40
test eax, eax
jne 0x1402b4740
mov edx, 0x10
mov ecx, r12d
call fcn.1401aee40
test eax, eax
jne 0x1402b4880
cmp bp, 0x7e
je 0x1402b48d8
movzx r15d, word [0x1407e19c0]
mov rbp, qword [0x140742cc0]
cmp r15w, 0x3a
je 0x1402b4958
test r15w, r15w
je 0x1402b48b0
lea rax, [0x1407e19c0]
jmp 0x1402b47c6
add rax, 2
test r15w, r15w
je 0x1402b48b0
mov edx, r15d
movzx r15d, word [rax + 2]
cmp dx, 0x3a
jne 0x1402b47b8
xor edx, edx
cmp r15w, 0x7e
sete dl
lea rbx, [rax + rdx*2 + 2]
cmp word [rbx], 0x30
je 0x1402b4990
mov esi, 0xa
xor r14d, r14d
mov edi, esi
jmp 0x1402b4810
sub r12d, 0x30
cmp esi, r12d
jbe 0x1402b483a
imul r14, rdi
add r14, r12
movzx r12d, word [rbx]
mov edx, 4
add rbx, 2
mov ecx, r12d
call fcn.1401aee40
test eax, eax
jne 0x1402b4800
mov edx, 0x10
mov ecx, r12d
call fcn.1401aee40
test eax, eax
jne 0x1402b4898
movq xmm0, qword [0x1406bf138]
movq xmm2, r14
pxor xmm0, xmm2
cmp r15w, 0x7e
je 0x1402b4940
mov qword [rbp + 8], r14
mov eax, r13d
shr r13, 0x20
or ah, 4
movd xmm3, r13d
movd xmm0, eax
punpckldq xmm0, xmm3
movq qword [rbp], xmm0
jmp 0x1402b46ca
mov ecx, r12d
call fcn.1401aee60
lea r12d, [rax - 0x57]
jmp 0x1402b4744
mov ecx, r12d
call fcn.1401aee60
lea r12d, [rax - 0x57]
jmp 0x1402b4804
mov qword [rbp + 8], 0
jmp 0x1402b485a
mov rbp, qword [0x140742cc0]
mov rcx, rbp
call fcn.1402746a0
mov r13, rax
jmp 0x1402b485a
mov rbp, qword [0x140742cc0]
mov rcx, rbp
call fcn.1402746a0
mov r8, rax
mov rax, r13
not rax
and rax, r8
test r13d, 0x1000000
je 0x1402b4970
movabs r13, 0xedfff7fdffffffff
movzx r15d, word [0x1407e19c0]
and r13, rax
jmp 0x1402b47a2
movzx ecx, word [rbx + 2]
call fcn.1401aee60
cmp eax, 0x78
je 0x1402b4980
add rbx, 2
mov esi, 8
jmp 0x1402b4736
movq xmm1, qword [rbp + 8]
pand xmm1, xmm0
movq qword [rbp + 8], xmm1
jmp 0x1402b485a
mov rcx, rbp
call fcn.1402746a0
movzx r15d, word [0x1407e19c0]
mov r13, rax
jmp 0x1402b47a2
movzx r15d, word [0x1407e19c0]
mov r13, rax
jmp 0x1402b47a2
add rbx, 4
mov esi, 0x10
jmp 0x1402b4736
movzx ecx, word [rbx + 2]
call fcn.1401aee60
cmp eax, 0x78
je 0x1402b49ac
add rbx, 2
mov esi, 8
jmp 0x1402b47f2
add rbx, 4
mov esi, 0x10
jmp 0x1402b47f2
Function at 0x140305060
Capabilities:
Encode data using base64

Disassembly:
push r12
lea r11, [0x1406cf4e0]
mov r10, rdx
test rcx, rcx
je 0x140305080
test byte [rcx + 0x5c], 2
lea rax, [0x1406cf480]
cmovne r11, rax
xor r12d, r12d
test r9d, r9d
jg 0x1403050e5
jmp 0x140305125
movzx eax, byte [r8 + 1]
add r8, 3
shl eax, 8
or eax, edx
movzx edx, byte [r8 - 1]
mov ecx, eax
shr ecx, 0x12
or edx, eax
shr eax, 0xc
movzx ecx, byte [r11 + rcx]
and eax, 0x3f
mov byte [r10 - 4], cl
movzx eax, byte [r11 + rax]
mov byte [r10 - 3], al
mov eax, edx
and edx, 0x3f
shr eax, 6
and eax, 0x3f
movzx eax, byte [r11 + rax]
mov byte [r10 - 2], al
movzx eax, byte [r11 + rdx]
mov byte [r10 - 1], al
sub r9d, 3
je 0x140305125
movzx edx, byte [r8]
mov rcx, r10
add r12d, 4
add r10, 4
shl edx, 0x10
cmp r9d, 2
jg 0x140305090
je 0x140305130
mov eax, edx
shr edx, 0xc
shr eax, 0x12
and edx, 0x30
movzx eax, byte [r11 + rax]
mov byte [rcx], al
movzx eax, byte [r11 + rdx]
mov byte [rcx + 1], al
mov eax, 0x3d
mov byte [rcx + 2], al
mov byte [rcx + 3], 0x3d
mov eax, r12d
mov byte [r10], 0
pop r12
ret
movzx eax, byte [r8 + 1]
shl eax, 8
or eax, edx
shr edx, 0x12
movzx edx, byte [r11 + rdx]
mov byte [rcx], dl
mov edx, eax
shr eax, 6
shr edx, 0xc
and eax, 0x3c
and edx, 0x3f
movzx edx, byte [r11 + rdx]
mov byte [rcx + 1], dl
movzx eax, byte [r11 + rax]
jmp 0x14030511e