joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140054e70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13d0
call fcn.1400be580
sub rsp, rax
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
mov ecx, 1
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, 0x270
jb 0x140054ed0
mov dword [rsp + 0x30], 0x270
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call fcn.14005ad60
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 3
ja 0x140054f45
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.14005ad60
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x140054f30
shr rax, 0x20
mov ecx, 0x80000000
sub rax, rcx
xor rax, 0xffffffff80000000
lea rsi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
movzx r9d, byte [rax + rsi]
mov rdx, qword [rbx + 0x18]
cmp rdi, rdx
jae 0x140054f8b
lea rax, [rdi + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140054f80
mov rax, qword [rbx]
mov byte [rax + rdi], r9b
mov byte [rax + rdi + 1], 0
jmp 0x140054f93
mov rcx, rbx
call fcn.140008c40
mov rdi, 0xffffffff80000000
lea rcx, [rsp + 0x30]
call fcn.14005ad60
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 3
ja 0x140054fc5
nop
lea rcx, [rsp + 0x30]
call fcn.14005ad60
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x140054fb0
shr rax, 0x20
add rax, rdi
xor rax, 0xffffffff80000000
movzx r9d, byte [rax + rsi]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140055003
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140054ff8
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005500b
mov rcx, rbx
call fcn.140008c40
mov rdi, 0xffffffff80000000
lea rcx, [rsp + 0x30]
call fcn.14005ad60
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 3
ja 0x140055045
nop word [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.14005ad60
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x140055030
shr rax, 0x20
add rax, rdi
xor rax, 0xffffffff80000000
movzx r9d, byte [rax + rsi]
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
cmp rdx, r8
jae 0x140055083
lea rcx, [rdx + 1]
mov qword [rbx + 0x10], rcx
mov rax, rbx
cmp r8, 0xf
jbe 0x140055078
mov rax, qword [rbx]
mov byte [rax + rdx], r9b
mov byte [rax + rdx + 1], 0
jmp 0x14005508b
mov rcx, rbx
call fcn.140008c40
mov rax, rbx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400bdbc0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400557e0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], rcx
lea rax, str.Krypton___Security
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x10
mov dword [rsp + 0x54], r9d
mov ecx, 0x18
call fcn.1400bdd00
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rax + 0x10], xmm1
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14005ad00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400558a2
cmp dword [rsp + 0x38], 0
je 0x140055896
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140055896
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400bdbc0
add rsp, 0x78
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400558c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x40]
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x1a
xor edi, edi
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
test eax, eax
js 0x140055934
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x140055924
lea rdx, [rsp + 0x40]
jmp 0x14005593e
xor r8d, r8d
lea rdx, [0x1400db5aa]
mov rcx, rbx
call fcn.140008db0
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400bdbc0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
Function at 0x14005ad60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14005adc1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14005ad80
mov ecx, dword [r9]
jmp 0x14005aeab
cmp ecx, 0x4e0
jb 0x14005aeab
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14005ade0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14005ae30
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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
add rsp, 8
ret
Function at 0x14005c620
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rbp + 0x17], rax
movss xmm6, dword [0x1400e3108]
xor sil, sil
mov rdi, qword [rbp - 0x39]
xor r14d, r14d
movabs r12, 0x7ffffffffffffffe
movabs r15, 0x7fffffffffffffff
movabs r13, 0x7ffffffffff0bdbf
mov ecx, dword [0x140385084]
test ecx, ecx
je 0x14005c6b9
sub ecx, 1
je 0x14005c6a1
cmp ecx, 1
jne 0x14005c6d7
mov byte [0x140385090], cl
jmp 0x14005c6d7
mov ecx, dword [0x140385080]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x140385090]
jmp 0x14005c6d7
mov ecx, dword [0x140385080]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005c6d7
cmp byte [0x140385090], r14b
sete byte [0x140385090]
lea rdx, [rbp - 0x48]
mov dword [rbp - 0x49], 0x626f524c
xor ecx, ecx
mov dword [rbp - 0x45], 0x786f6c
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x14005c846
cmp byte [0x140385090], r14b
je 0x14005c7fa
cmp byte [0x140385d85], r14b
je 0x14005c7fa
mov rax, qword [0x140385db8]
add rax, 0x110
mov dword [rbp + 0x10], r14d
mov qword [rbp - 9], rax
lea rax, [rbp - 0x19]
mov qword [rbp - 1], rax
mov eax, dword [0x140385f30]
mov word [rbp + 0x14], r14w
mov byte [rbp + 0x16], r14b
mov dword [rbp - 0x11], 0x12b2d92
mov qword [rbp + 7], 8
mov dword [rbp - 0xd], eax
mov byte [rbp + 0xf], r14b
test eax, eax
je 0x14005c79f
mov rcx, qword [0x140385f28]
test rcx, rcx
je 0x14005c79f
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x11]
mov qword [rsp + 0x30], r14
lea r8, [rbp - 0x11]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [0x1400f7418], r14b
je 0x14005c7b7
test sil, sil
je 0x14005c7b7
test rdi, rdi
je 0x14005c7b7
mov rbx, rdi
jmp 0x14005c7c4
call fcn.14005b1e0
mov rbx, rax
test rax, rax
je 0x14005c7fa
lea rdx, [rbx + 0x158]
call fcn.1400540a0
lea rdx, [rbp - 0x29]
lea r8, [rax + 0x140]
call fcn.140054240
movss xmm0, dword [rbp - 0x25]
comiss xmm0, xmm6
jbe 0x14005c7fa
mov rcx, rbx
call fcn.14005b930
mov rdi, rbx
mov sil, 1
jmp 0x14005c7fd
xor sil, sil
cmp dword [0x140385d90], 1
je 0x14005c685
lea rcx, [rbp - 0x31]
call fcn.140054ac0
mov rax, qword [rbp - 0x31]
mov qword [rbp - 0x41], rax
cmp rax, r12
je 0x14005c885
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14005c885
inc rax
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x41], rax
call fcn.14005aa50
jmp 0x14005c685
lea rcx, [rbp - 0x39]
call fcn.140054ac0
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x41], rax
cmp rax, r13
je 0x14005c885
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14005c885
add rax, 0xf4240
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x41], rax
call fcn.14005aa50
jmp 0x14005c685
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x41], r15
call fcn.14005aa50
jmp 0x14005c685
Function at 0x140064e90
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x14006509b
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
xor rcx, rax
mov qword [rsp + 0x30], rdx
movzx eax, byte [r14 + 0x11]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x14]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x15]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x16]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x17]
imul rcx, r8
xor rcx, rax
mov rax, qword [rsi + 0x30]
imul rcx, r8
and rax, rcx
shl rax, 4
add rax, rdx
mov qword [rsp + 0x20], rax
mov rcx, qword [rax]
mov r15, qword [rax + 8]
mov qword [rsp + 0x28], rcx
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1400bdf84
dec qword [rsi + 0x10]
cmp rdi, r15
je 0x140064fa9
cmp rbx, rbp
jne 0x140064f70
cmp qword [rsp + 0x28], r14
jne 0x140065074
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rbx
jmp 0x140065074
mov rcx, qword [rsp + 0x20]
cmp qword [rsp + 0x28], r14
jne 0x140064fbd
mov qword [rcx], r12
mov rax, r12
jmp 0x140064fc0
mov rax, r13
mov qword [rcx + 8], rax
cmp rbx, rbp
je 0x140065074
nop dword [rax]
movzx r15d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r15, rax
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x12]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x13]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x14]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x15]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x16]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x17]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1400bdf84
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1400650a7
cmp rbx, rbp
jne 0x140065050
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x140064fd0
jmp 0x140065074
Function at 0x140065fa0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140065fd5
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 + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.1400650c0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x140066144
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rbx
xor r11, rdx
imul r11, rbx
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x1400660b9
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140066133
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400660f6
mov r10, qword [rdx]
cmp r10, rax
je 0x1400660f0
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 0x140066133
cmp r9, rdx
je 0x14006610f
nop dword [rax + rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140066155
cmp r9, rdx
jne 0x140066100
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, rdi
jne 0x140066040
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
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 0x140066133
Function at 0x140066180
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 0x1400661b1
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 [0x140385ed8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140385ee8]
lea rdx, [rdi + rdi]
call fcn.1400650c0
mov rax, qword [0x140385ed8]
lea r9, [rdi - 1]
mov qword [0x140385f00], r9
mov qword [0x140385f08], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140066352
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
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140385ee8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14006629c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140066313
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400662d9
mov r10, qword [rdx]
cmp r10, rax
je 0x1400662d3
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 0x140066313
cmp r9, rdx
je 0x1400662ef
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140066327
cmp r9, rdx
jne 0x1400662e0
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 0x14006634d
mov r9, qword [0x140385f00]
jmp 0x140066221
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 0x140066313
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a7ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x28]
xor esi, esi
sub rax, 0x34
mov qword [rcx + 0x88], rsi
mov qword [rcx + 0x30], rax
mov r14d, edx
mov rax, qword [rcx + 0x38]
mov rbx, rcx
mov word [rcx + 0x7a], si
mov r10d, esi
mov dword [rcx + 0x44], esi
mov ebp, esi
mov qword [rcx + 0x80], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x78], si
cmp si, word [rcx + 0xc8]
jge 0x1400a8018
mov edi, esi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0xe0]
mov r9d, r14d
mov dword [rbx + 0x98], esi
movzx edx, r10w
mov qword [rbx + 0x90], rsi
mov rcx, rbx
movzx r8d, word [rax + rdi]
call fcn.1400a8310
test al, al
jne 0x1400a804a
mov rax, qword [rbx + 0xe0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x6c]
movzx r10d, word [rax + rdi]
inc r10d
lea eax, [r8 - 1]
test edx, eax
jne 0x1400a7fad
cmp edx, dword [rbx + 0x70]
jl 0x1400a7fad
cmp edx, dword [rbx + 0x74]
jg 0x1400a7fad
mov r9, qword [rbx + 0x90]
test r9, r9
je 0x1400a7fad
mov rax, qword [rbx + 0x80]
movzx ecx, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x1400a7fad
add qword [rbx + 0x38], 0xfffffffffffffffc
mov r9, qword [rbx + 0x80]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x38], rax
je 0x1400a7fd3
test byte [r9 + 0x18], 8
je 0x1400a7fd3
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1400a7fe4
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1400a8d60
test al, al
jne 0x1400a804a
mov rax, qword [rbx + 0x90]
test rax, rax
je 0x1400a8003
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xc8]
inc ebp
add rdi, 2
cmp ebp, eax
jl 0x1400a7f30
mov rcx, rbx
call fcn.1400a8e10
test al, al
jne 0x1400a804a
mov rcx, qword [rbx + 0x30]
cmp qword [rbx + 0x38], rcx
setae al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov al, 1
jmp 0x1400a802f
Function at 0x1400bcfc8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400bd002
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400bd007
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400bd050
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400db330]
cmp byte [rcx + rax], 0
je 0x1400bd050
dec r8
sub rdx, 1
jne 0x1400bd036
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400bea48
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400bea92
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400bea92
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400bea92
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400bea92
cmp dword [rcx + 0x84], 0xe
jbe 0x1400bea92
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400bea94
xor al, al
add rsp, 0x28
ret
Function at 0x4081d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [0x008550a8], 0
je 0x408288
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rdi, rax
mov rcx, rsi
call fcn.00411040
mov rcx, rdi
mov rdx, rsi
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rsi, rax
mov rcx, qword [0x007fd0e0]
call fcn.00411040
mov rcx, rsi
mov rdx, qword [0x007fd0e0]
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle
mov rsi, rax
mov rcx, rbx
call fcn.00411040
mov rcx, rsi
mov rdx, rbx
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x40829b
xor ecx, ecx
mov rdx, rbx
mov r8, rsi
mov r9d, 0x2010
call sub.user32.dll_MessageBoxA
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret