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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140084912
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140084959
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400849b2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140084970
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400849f3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14009803a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14009803b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400849c0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140084a10
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 0x140084a4a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140084a4f
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 0x140084a98
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140084a98
dec r8
sub rdx, 1
jne 0x140084a7e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140086004
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008604e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008604e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008604e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008604e
cmp dword [rcx + 0x84], 0xe
jbe 0x14008604e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140086050
xor al, al
add rsp, 0x28
ret
Function at 0x140001640
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, 0x13f0
call fcn.1400041f0
sub rsp, rax
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
lea ecx, [rdi + 0x40]
call fcn.1400033c0
mov rsi, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x3e
mov qword [rsp + 0x48], 0x3f
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140005690]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400056a0]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x1400056b0]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x1400056b8]
mov dword [rsi + 0x38], eax
movzx eax, word [0x1400056bc]
mov word [rsi + 0x3c], ax
mov byte [rsi + 0x3e], dil
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
mov edi, 1
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
nop dword [rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edi
mov dword [rsp + rdi*4 + 0x54], ecx
inc rdi
cmp rdi, 0x270
jb 0x140001720
mov dword [rsp + 0x50], 0x270
mov edi, 0x53
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.1400031d0
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 3
ja 0x14000177a
lea rcx, [rsp + 0x50]
call fcn.1400031d0
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x140001765
shr rax, 0x20
movsxd rcx, eax
movzx r9d, byte [rcx + rsi]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400017b2
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400017a7
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400017ba
mov rcx, rbx
call fcn.140002ca0
sub rdi, 1
jne 0x140001750
lea edx, [rdi + 0x40]
mov rcx, rsi
call fcn.1400033fc
mov rax, rbx
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.1400033a0
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400031d0
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 0x140003231
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 0x1400031f0
mov ecx, dword [r9]
jmp 0x14000331b
cmp ecx, 0x4e0
jb 0x14000331b
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 0x140003250
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 0x1400032a0
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 0x140003d20
Capabilities:
Parse pe header

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

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
cmp byte [0x18004eea6], 0
jne 0x18000d189
mov rax, qword [0x18004d6d8]
movabs r9, 0xf402144c0db71d4a
add r9, rax
movabs r10, 0xf402144c0db71d36
add r10, rax
xor r8d, r8d
movabs r11, 0xcccccccccccccccd
lea rsi, [0x18004ee91]
nop dword [rax + rax]
mov rax, r8
mul r11
shr rdx, 2
and rdx, 0xfffffffffffffffc
lea rax, [rdx + rdx*4]
mov rdx, r10
sub rdx, rax
movzx eax, byte [r9 + r8]
movzx ebx, byte [rdx + r8]
mov edi, ebx
not dil
mov edx, ebx
xor dl, 5
and dl, dil
mov edi, ebx
xor dil, 0x48
and dil, bl
mov ebp, ebx
and bpl, 0x48
xor bpl, 0x58
and dil, 0xea
or dil, bpl
mov ebp, ebx
and bpl, 0x10
mov r14d, edx
and r14b, 1
and dl, 0x14
or dl, 0x40
xor dl, bpl
or dl, r14b
xor dl, dil
mov edi, ebx
xor dil, 0xea
xor bl, 0x15
or bl, dil
xor dl, 0xf7
mov edi, edx
xor dil, bl
or dl, bl
not dl
or dl, dil
mov ebx, eax
xor bl, 0xea
xor al, dl
xor al, 0x15
and al, dl
or bl, dl
not bl
or bl, al
mov byte [r8 + rsi], bl
inc r8
cmp r8, 0x15
jne 0x18000d0e0
mov byte [0x18004eea6], 1
mov qword [rcx + 0x10], 0
lea rax, [0x18004ee91]
mov qword [rcx + 8], rax
lea rax, vtable.std::bad_array_new_length.0
mov qword [rcx], rax
mov rax, rcx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x180012310
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rax, qword [0x18004eac0]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 0xffffffff
je 0x18001243d
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x18001236d
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x18001236d
dec ecx
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], sil
jmp 0x180012482
cmp qword [rdi + 0x80], 0
je 0x180012441
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x1800123a7
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x180012448
mov byte [rsp + 0x5f], sil
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov r10, qword [rcx]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x60]
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x5f]
mov r8, rbx
call qword [r10 + 0x38]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x180012461
mov r15, qword [rsp + 0x48]
sub r15, r14
je 0x18001242d
mov r9, qword [rdi + 0x80]
mov edx, 1
mov rcx, r14
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x180012480
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rbx
mov eax, 0xffffffff
jmp 0x18001247b
xor esi, esi
jmp 0x180012482
mov esi, 0xffffffff
jmp 0x180012482
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
jmp 0x180012482
cmp eax, 3
jne 0x180012480
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x5f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
mov ebp, esi
mov esi, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180039d80
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1800128f0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x180012933
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x18001293a
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
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]
xor esi, esi
jmp 0x180012a59
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x18001298d
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x18001298d
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call fcn.18003b6c0
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x18001299e
jmp 0x180012a56
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x180012a56
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x1800129ca
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
movabs r15, 0x6c430cd284c9766a
mov r12, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movabs r13, 0x93bcf32d7b368996
nop word cs:[rax + rax]
cmp r14, 0x1000
jb 0x180012a31
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call r12
add rdi, rax
add r14, r15
mov rcx, r14
sub rcx, rax
lea r14, [rcx + r13]
cmp rax, 0xfff
je 0x1800129f0
add rsi, r15
sub rsi, rcx
jmp 0x180012a59
test r14, r14
je 0x180012a53
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub r14, rax
jmp 0x180012a56
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180012a70
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x180012aa6
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
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 [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x180012af3
test rsi, rsi
jle 0x180012af3
mov rax, qword [rbx + 0x58]
mov r15d, dword [rax]
test r15d, r15d
jle 0x180012af3
cmp r15, rsi
cmovae r15, rsi
mov rdx, rdi
mov r8, r15
call fcn.18003b6c0
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x58]
sub dword [rax], r15d
mov rax, qword [rbx + 0x40]
add qword [rax], r15
test r14, r14
jg 0x180012afb
jmp 0x180012b1b
mov r14, rsi
test r14, r14
jle 0x180012b1b
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x180012b1b
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub r14, rax
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x180012f10
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x18004eac0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x180012fba
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x180012fba
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180012fb8
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], r8
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
cmp eax, 3
je 0x180012fd1
cmp eax, 1
je 0x180012f87
test eax, eax
jne 0x180012fb8
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x180012fae
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x180012fb8
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x180012fba
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180039d80
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x71], 0
mov dil, 1
jmp 0x180012fba
Function at 0x1800131e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbp
push rbx
mov rax, rcx
cmp byte [0x18004ef7a], 0
jne 0x180013299
mov r8, qword [0x18004d810]
movabs rcx, 0x5513bdb65f43febe
add rcx, r8
movabs rdx, 0x5513bdb65f43fed6
add rdx, r8
xor r8d, r8d
lea r9, [0x18004ef71]
nop
movzx r10d, byte [rdx + r8]
movzx r11d, byte [rcx + r8]
mov ebx, r11d
not bl
mov edi, r10d
and dil, 0xe0
and bl, 0xe0
mov esi, r11d
xor sil, 0x1f
or sil, bl
mov ebx, r11d
or bl, sil
not bl
or dil, 0x1c
and r10b, 0x1f
xor r10b, dil
or r11b, 8
and r11b, 0xe8
lea edi, [r11 + 5]
mov ebp, esi
xor bpl, 0x12
xor r11b, 0xfa
and r11b, bpl
xor sil, 0xed
and sil, dil
or sil, r11b
and bl, 0xe0
or bl, sil
xor bl, r10b
xor bl, 0xfc
mov byte [r8 + r9], bl
inc r8
cmp r8, 9
jne 0x180013220
mov byte [0x18004ef7a], 1
mov qword [rax + 0x10], 0
lea rcx, [0x18004ef71]
mov qword [rax + 8], rcx
lea rcx, vtable.std::bad_cast.0
mov qword [rax], rcx
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x180015a70
Capabilities:
Encode data using xor

Disassembly:
push rsi
mov eax, 0x84222325
sub r8, rdx
je 0x180015ade
xor ecx, ecx
nop dword [rax]
movzx r9d, byte [rdx + rcx]
mov r10d, r9d
not r10d
mov r11d, r10d
and r11d, 0xaa
mov esi, r9d
and esi, 0x55
or esi, r11d
xor esi, eax
xor esi, 0xaa
and esi, r9d
and r10d, 0xb4ac3562
mov r11d, r9d
and r11d, 0xffffff9d
or r11d, r10d
xor r11d, eax
xor r11d, 0x4b53ca9d
not eax
and eax, r9d
or eax, r11d
not eax
or eax, esi
imul eax, eax, 0x1b3
inc rcx
cmp r8, rcx
jne 0x180015a80
pop rsi
ret
Function at 0x18001e450
Capabilities:
Encode data using xor

Disassembly:
add rcx, 0x20
jmp fcn.18000c890

Function at 0x18001f2f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
cmp qword [rcx + 0x20], 0
je 0x18001f38c
movabs rdi, 0x100002600
nop
mov rcx, rsi
call fcn.1800215d0
mov eax, dword [rsi + 0x14]
cmp rax, 0x20
ja 0x18001f357
bt rdi, rax
jb 0x18001f310
jmp 0x18001f357
mov rcx, rsi
call fcn.18001f5a0
test al, al
je 0x18001f459
mov rcx, rsi
call fcn.1800215d0
mov eax, dword [rsi + 0x14]
cmp rax, 0x20
ja 0x18001f357
bt rdi, rax
jb 0x18001f340
cmp eax, 0x2f
jne 0x18001f362
cmp byte [rsi + 0x10], 0
jne 0x18001f330
inc eax
cmp eax, 0x7e
ja case.0x18001f37b.1
lea rcx, [0x180041b5c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rcx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.180020ca0
mov rcx, rsi
call fcn.1800215d0
cmp eax, 0xef
jne 0x18001f466
mov rcx, rsi
call fcn.1800215d0
cmp eax, 0xbb
jne 0x18001f3c1
mov rcx, rsi
call fcn.1800215d0
cmp eax, 0xbf
je 0x18001f305
cmp byte [0x18004f0ef], 0
jne 0x18001f444
mov rax, qword [0x18004d9c0]
movabs rcx, 0xb5c5a84702442c4a
add rcx, rax
movabs r8, 0xb5c5a84702442c2e
add r8, rax
xor r9d, r9d
movabs r10, 0x4924924924924925
lea r11, [0x18004f0c2]
nop
mov rax, r9
shr rax, 2
mul r10
shr rdx, 1
imul rax, rdx, 0xffffffffffffffe4
add rax, r8
movzx edx, byte [rcx + r9]
movzx eax, byte [r9 + rax]
mov ebx, eax
xor al, dl
xor dl, 0x27
xor bl, 0xd8
or bl, dl
and al, dl
not bl
or bl, al
mov byte [r9 + r11], bl
inc r9
cmp r9, 0x2d
jne 0x18001f400
mov byte [0x18004f0ef], 1
movabs rax, 0xb5c5a84702441892
add rax, qword [0x18004d9c8]
mov qword [rsi + 0x70], rax
mov eax, 0xe
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x18], 1
dec qword [rsi + 0x20]
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x18001f47d
lea rcx, [rsi + 0x28]
jmp 0x18001f48a
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x18001f490
lea rcx, [rsi + 0x30]
dec rax
mov qword [rcx], rax
cmp dword [rsi + 0x14], 0xffffffff
je 0x18001f305
dec qword [rsi + 0x40]
jmp 0x18001f305
mov eax, 0xf
jmp 0x18001f45e
movabs rcx, 0xb5c5a84702442c87
add rcx, qword [0x18004d9c0]
call fcn.180035ae0
movabs rax, 0xb5c5a84702441892
add rax, qword [0x18004d9e8]
jmp 0x18001f455
mov rcx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.18001f900
mov eax, 0xd
jmp 0x18001f45e
mov eax, 0xc
jmp 0x18001f45e
mov eax, 8
jmp 0x18001f45e
mov eax, 0xa
jmp 0x18001f45e
mov byte [rsp + 0x24], 0x65
mov dword [rsp + 0x20], 0x736c6166
lea rdx, [rsp + 0x20]
mov r8d, 5
mov rcx, rsi
mov r9d, 2
call fcn.18001f870
jmp 0x18001f45e
mov dword [rsp + 0x28], 0x6c6c756e
lea rdx, [rsp + 0x28]
mov r8d, 4
mov rcx, rsi
mov r9d, 3
call fcn.18001f870
jmp 0x18001f45e
mov dword [rsp + 0x2c], 0x65757274
lea rdx, [rsp + 0x2c]
mov r8d, 4
mov rcx, rsi
mov r9d, 1
call fcn.18001f870
jmp 0x18001f45e
mov eax, 9
jmp 0x18001f45e
mov eax, 0xb
jmp 0x18001f45e
Function at 0x18001f5a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
call fcn.1800215d0
cmp eax, 0x2a
je 0x18001f5eb
cmp eax, 0x2f
jne 0x18001f652
mov edi, 0x4803
nop dword [rax + rax]
mov rcx, rsi
call fcn.1800215d0
inc eax
cmp eax, 0xf
jae 0x18001f5d0
bt edi, eax
jae 0x18001f5d0
mov al, 1
jmp 0x18001f85a
lea rdi, [rsi + 0x28]
lea rbx, [rsi + 0x30]
jmp 0x18001f607
inc eax
cmp eax, 1
jbe 0x18001f667
mov rcx, rsi
call fcn.1800215d0
cmp eax, 0x2a
jne 0x18001f600
mov rcx, rsi
call fcn.1800215d0
cmp eax, 0x2f
je 0x18001f5e4
mov byte [rsi + 0x18], 1
dec qword [rsi + 0x20]
mov rax, qword [rsi + 0x28]
mov rcx, rdi
test rax, rax
jne 0x18001f640
mov rax, qword [rbx]
mov rcx, rbx
test rax, rax
je 0x18001f646
dec rax
mov qword [rcx], rax
cmp dword [rsi + 0x14], 0xffffffff
je 0x18001f607
dec qword [rsi + 0x40]
jmp 0x18001f607
cmp byte [0x18004f158], 0
je 0x18001f680
lea r8, [0x18004da00]
jmp 0x18001f847
cmp byte [0x18004f127], 0
je 0x18001f775
lea r8, [0x18004d9f8]
jmp 0x18001f847
mov rax, qword [0x18004d9f0]
movabs rcx, 0xb745c45d8121a9d2
add rcx, rax
movabs r10, 0xb745c45d8121a9b6
add r10, rax
xor r11d, r11d
movabs rdi, 0x4924924924924925
lea rbx, [0x18004f128]
lea r8, [0x18004da00]
lea r13, [0x18004f158]
nop word cs:[rax + rax]
mov rax, r11
shr rax, 2
mul rdi
shr rdx, 1
imul rdx, rdx, 0xffffffffffffffe4
add rdx, r10
movzx eax, byte [rcx + r11]
movzx r14d, byte [r11 + rdx]
mov r9d, r14d
not r9b
mov ebp, r14d
xor bpl, 6
and bpl, r9b
lea edx, [r14 - 0x80]
and dl, r14b
mov r15d, r14d
and r15b, 0x80
and bpl, 0xf
mov r12d, edx
and r12b, 0xf0
xor r12b, r15b
and r9b, 8
and r14b, 1
or r14b, r9b
xor r14b, bpl
or bpl, 0x80
xor r12b, 0x89
and dl, 0x80
or dl, r12b
xor r14b, 0x71
and r14b, r12b
not dl
and dl, bpl
or dl, r14b
mov r9d, eax
xor r9b, 0xd8
mov ebp, edx
xor bpl, 0xd7
xor al, 0x27
and al, bpl
xor dl, 0x28
and dl, r9b
or dl, al
mov byte [r11 + rbx], dl
inc r11
cmp r11, 0x30
jne 0x18001f6d0
jmp 0x18001f842
mov rax, qword [0x18004d9f0]
movabs r10, 0xb745c45d8121a97b
add r10, rax
movabs r11, 0xb745c45d8121a962
add r11, rax
xor ecx, ecx
movabs rdi, 0x47ae147ae147ae15
lea rbx, [0x18004f101]
lea r8, [0x18004d9f8]
mov rax, rcx
mul rdi
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rax, rax, 0xffffffffffffffe7
add rax, r11
movzx ebp, byte [r10 + rcx]
mov r15d, ebp
not r15b
mov r14d, r15d
and r14b, 0xce
mov edx, ebp
and dl, 0x31
mov r12d, r15d
and r12b, 0xc
mov r13d, ebp
and r13b, 0xc2
or r13b, r12b
not r13b
lea r9d, [rdx - 0x3e]
and r9b, r13b
or r9b, r12b
and r15b, 2
and bpl, 0xcc
or bpl, r15b
or bpl, 0x20
xor bpl, dl
xor bpl, 0xec
or dl, r14b
not dl
or dl, bpl
not dl
or dl, r9b
xor dl, byte [rcx + rax]
xor dl, 0xce
mov byte [rcx + rbx], dl
inc rcx
cmp rcx, 0x26
jne 0x18001f7b0
lea r13, [0x18004f127]
mov byte [r13], 1
movabs rax, 0xb745c45d8121952d
add rax, qword [r8]
mov qword [rsi + 0x70], rax
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret