joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001da00
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1400c3c40]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x14001da8e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x14001da32
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x14001daa0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1400c3c40]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x14001dba4
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x14001db9f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x14001db74
cmp qword [rsp + 0x38], 2
jb 0x14001db74
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14001db74
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14001db74
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x14001dae7
jmp 0x14001dc36
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x14001dc36
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x14001dc0c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14001dc0c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14001dc0c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x14001dba4
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x14006bfb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14006bfd6
mov dword [rsp + 0x20], 1
jmp 0x14006bfde
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x14007af90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x3c18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
vmovss xmm0, dword [rax + 0x3c20]
vmovss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
vmovss xmm0, dword [rsp + 0x24]
vdivss xmm0, xmm0, dword [rax + 0x14]
vmovss dword [rsp + 0x3c], xmm0
vxorps xmm2, xmm2, xmm2
vxorps xmm1, xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.140006790
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x30], rax
jae 0x14007b0e3
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jne 0x14007b0a5
vmovss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax]
call fcn.140046940
mov rax, qword [rsp + 0x70]
vmovss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax + 4]
vaddss xmm0, xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
vmovss dword [rax + 4], xmm0
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x14007b0a0
jmp 0x14007b0e3
jmp 0x14007b015
cmp dword [rsp + 0x28], 0xd
jne 0x14007b0b1
jmp 0x14007b015
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.140071d80
vmulss xmm0, xmm0, dword [rsp + 0x3c]
vmovss dword [rsp + 0x40], xmm0
vmovss xmm0, dword [rsp + 0x20]
vaddss xmm0, xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x20], xmm0
jmp 0x14007b015
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rsp + 0x20]
vcomiss xmm0, dword [rax]
jbe 0x14007b103
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rsp + 0x20]
vmovss dword [rax], xmm0
cmp qword [rsp + 0x98], 0
je 0x14007b140
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax + 4]
vaddss xmm0, xmm0, dword [rsp + 0x24]
vmovups xmm2, xmm0
vmovss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140006790
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
vmovss xmm0, dword [rsp + 0x20]
vcomiss xmm0, dword [0x1400de93c]
ja 0x14007b160
mov rax, qword [rsp + 0x70]
vxorps xmm0, xmm0, xmm0
vucomiss xmm0, dword [rax + 4]
jne 0x14007b17a
mov rax, qword [rsp + 0x70]
vmovss xmm0, dword [rax + 4]
vaddss xmm0, xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
vmovss dword [rax + 4], xmm0
cmp qword [rsp + 0x90], 0
je 0x14007b195
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x14009f1f0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x48]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret
Function at 0x1400b46f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x1400b4729
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call 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]
jmp 0x1400b4817
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x1400b47bf
cmp qword [rsp + 0x20], 0
jle 0x1400b47bf
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x1400b4769
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140004040
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x1400b4807
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x1400b4807
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x1400b4820
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1400e7010]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x1400b4854
xor eax, eax
jmp 0x1400b4a50
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x1400b4886
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call 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]
jmp 0x1400b4a50
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1400b4937
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.1400048a0
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140004040
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x1400b4a40
mov rcx, qword [rsp + 0x80]
call fcn.1400b5bd0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1400b49ed
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x1400b49e8
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1400b4a50
jmp 0x1400b4963
cmp qword [rsp + 0x50], 0
jbe 0x1400b4a40
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b99c0
add rsp, 0x78
ret
Function at 0x1400b5c90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1400e7010]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400b5ccd
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400b5cd4
mov al, 1
jmp 0x1400b5e2e
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140015cb0
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140015cb0
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.140015cc0
movzx eax, al
test eax, eax
je 0x1400b5d2b
xor al, al
jmp 0x1400b5e2e
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400b5d9b
cmp dword [rsp + 0x30], 1
je 0x1400b5da7
cmp dword [rsp + 0x30], 3
je 0x1400b5e1c
jmp 0x1400b5e2c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400b5df3
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x1400b5df3
xor al, al
jmp 0x1400b5e2e
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400b5e0d
mov dword [rsp + 0x34], 1
jmp 0x1400b5e15
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400b5e2e
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400b5e2e
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400b99c0
add rsp, 0xa8
ret
Function at 0x1400b96f8
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 0x1400b977c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400bedc0]
cmp byte [rcx + rax], 0
je 0x1400b977c
dec r8
sub rdx, 1
jne 0x1400b9762
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400b9e98
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x1400ba814
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x1401025cd
xor al, al
jmp 0x14010272f
mov rax, qword [0x1401226b0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1401226b8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1401226c0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1401226c8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1401226d0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1401226d8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1401226e0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1401226e8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x1401226f0]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x140102721
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x140102679
mov r11d, 2
jmp 0x14010269d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x140102693
mov r11d, 1
jmp 0x14010269d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x140102745
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x1401026e2
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x1401026fa
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x14010270a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x140102718
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x140102660
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x14010272a
Function at 0x1403ade8a
Capabilities:
Execute anti-debugging instructions

Disassembly:
not eax
jmp 0x1403ceb68
push r8
xchg r8, r8
pushfq
cmovs r8w, r9w
rol r8d, 0x1d
rol r8, cl
push rbx
push rdx
cqo
btc r8w, 2
push r9
bt r8d, r15d
xchg dl, r8b
push r14
movzx rdx, bp
btr r9w, ax
push rcx
btr r9w, 0xe2
cwd
push rax
push r10
btc cx, si
ror ah, 0x67
rdtsc
push rsi
push r12
mov dl, r8b
clc
cmovo si, cx
push r11
cbw
push rdi
seto dil
movsxd r9, ecx
push r13
bts rax, rbp
setl r9b
btc r8, r15
push rbp
push r15
movabs rcx, 0
rdtsc
push rcx
xchg rsi, r8
bts r8d, esp
btr r9w, r8w
mov r9, qword [rsp + 0x90]
rcl dl, cl
btc edi, 0x5c
not r9d
ror r9d, 1
neg r9d
rcr ebp, 0x4d
sub r9d, 0x167736d5
add r9, rcx
shr dh, cl
movsxd rdi, ebp
or sil, 0xbe
movabs r8, 0x100000000
movzx edi, ax
rol dh, 0xe3
lea r9, [r9 + r8]
shld esi, r9d, 0xb5
mov rbp, rsp
rcr rax, 7
cmovge di, r10w
sub rsp, 0x180
and rsp, 0xfffffffffffffff0
mov rdi, r9
sub esi, 0x40486400
bt dx, 0x57
movabs rdx, 0
sub rdi, rdx
lea rsi, [0x1403adf8b]
and ax, 0x447
sar ax, 0xd7
mov eax, dword [r9]
cmp r9w, r9w
add r9, 4
test r15b, 0xba
xor eax, edi
ror eax, 1
jmp 0x14033f0cd
dec eax
stc
cmp r14d, r13d
xor eax, 0x548f2c51
stc
rol eax, 1
cmp dh, 0xbe
test r15d, ecx
xor eax, 0x42e4742
cmp r14w, r11w
cmp r13b, 0xb2
push rdi
movsx di, r13b
xor dword [rsp], eax
jmp 0x1404238ae
pop rdi
movsxd rax, eax
add rsi, rax
push rsi
ret
Function at 0x1409f3bdd
Capabilities:
Execute anti-debugging instructions

Disassembly:
not eax
jmp 0x1409549ee
pop rdi
movsxd rax, eax
add rsi, rax
push rsi
ret
dec eax
stc
cmp r14d, r13d
xor eax, 0x548f2c51
stc
rol eax, 1
cmp dh, 0xbe
test r15d, ecx
xor eax, 0x42e4742
cmp r14w, r11w
cmp r13b, 0xb2
push rdi
movsx di, r13b
xor dword [rsp], eax
jmp 0x14092f1e1
push r8
xchg r8, r8
pushfq
cmovs r8w, r9w
rol r8d, 0x1d
rol r8, cl
push rbx
push rdx
cqo
btc r8w, 2
push r9
bt r8d, r15d
xchg dl, r8b
push r14
movzx rdx, bp
btr r9w, ax
push rcx
btr r9w, 0xe2
cwd
push rax
push r10
btc cx, si
ror ah, 0x67
rdtsc
push rsi
push r12
mov dl, r8b
clc
cmovo si, cx
push r11
cbw
push rdi
seto dil
movsxd r9, ecx
push r13
bts rax, rbp
setl r9b
btc r8, r15
push rbp
push r15
movabs rcx, 0
rdtsc
push rcx
xchg rsi, r8
bts r8d, esp
btr r9w, r8w
mov r9, qword [rsp + 0x90]
rcl dl, cl
btc edi, 0x5c
not r9d
ror r9d, 1
neg r9d
rcr ebp, 0x4d
sub r9d, 0x167736d5
add r9, rcx
shr dh, cl
movsxd rdi, ebp
or sil, 0xbe
movabs r8, 0x100000000
movzx edi, ax
rol dh, 0xe3
lea r9, [r9 + r8]
shld esi, r9d, 0xb5
mov rbp, rsp
rcr rax, 7
cmovge di, r10w
sub rsp, 0x180
and rsp, 0xfffffffffffffff0
mov rdi, r9
sub esi, 0x40486400
bt dx, 0x57
movabs rdx, 0
sub rdi, rdx
lea rsi, [0x1409f3cde]
and ax, 0x447
sar ax, 0xd7
mov eax, dword [r9]
cmp r9w, r9w
add r9, 4
test r15b, 0xba
xor eax, edi
ror eax, 1
jmp 0x1408d4927
Function at 0x18001a050
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
sub rsp, 0x118
mov rax, qword [0x1800d2070]
xor rax, rsp
mov qword [rsp + 0x100], rax
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x64
lea rax, [rsp + 0x30]
mov r8, rcx
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
jmp 0x18001a0ca
mov rcx, qword [rax + 0x60]
lea r8, [rsp + 0x30]
sub r8, rcx
movzx edx, word [rcx]
movzx r9d, word [rcx + r8]
sub edx, r9d
jne 0x18001a0c3
add rcx, 2
test r9d, r9d
jne 0x18001a0ad
test edx, edx
je 0x18001a0eb
mov rax, qword [rax]
cmp qword [rax + 0x30], 0
jne 0x18001a0a1
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.180072260
add rsp, 0x118
ret
mov rax, qword [rax + 0x30]
jmp 0x18001a0d3

Function at 0x18001a0f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1800d2070]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov dword [rbp - 0x30], 0x64616f4c
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x2c], 0x7262694c
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x28], 0x41797261
mov byte [rbp - 0x24], 0
mov dword [rbp - 0x20], 0x4e52454b
mov dword [rbp - 0x1c], 0x41424c45
mov dword [rbp - 0x18], 0x642e4553
mov word [rbp - 0x14], 0x6c6c
mov byte [rbp - 0x12], 0
call fcn.18001a174
mov rcx, rbx
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180072260
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret