joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140114bf0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140250340]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14000a840
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1401150b0
nop
lea rax, [0x140115130]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14000b2d0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x140114c93
lea rcx, [rsp + 0x40]
call fcn.140074240
jmp 0x140114cab
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.140114f80
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401ea170
add rsp, 0x58
ret
Function at 0x14011c1c0
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, [0x14020a470]
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 0x14011c24e
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 0x14011c1f2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x14011c260
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, [0x14020a470]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x14011c364
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 0x14011c35f
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 0x14011c334
cmp qword [rsp + 0x38], 2
jb 0x14011c334
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14011c334
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14011c334
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 0x14011c2a7
jmp 0x14011c3f6
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 0x14011c3f6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x14011c3cc
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14011c3cc
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14011c3cc
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 0x14011c364
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x140169cd0
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 0x140169cf6
mov dword [rsp + 0x20], 1
jmp 0x140169cfe
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1401789c0
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]
movss xmm0, dword [rax + 0x3c20]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x3c], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.140036630
xorps xmm0, xmm0
movss 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 0x140178b0f
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 0x140178ad1
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.140145070
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x140178acc
jmp 0x140178b0f
jmp 0x140178a42
cmp dword [rsp + 0x28], 0xd
jne 0x140178add
jmp 0x140178a42
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.14016fb40
mulss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
jmp 0x140178a42
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x140178b2e
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x98], 0
je 0x140178b6a
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140036630
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x1402314f8]
ja 0x140178b87
mov rax, qword [rsp + 0x70]
xorps xmm0, xmm0
ucomiss xmm0, dword [rax + 4]
jne 0x140178ba1
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x90], 0
je 0x140178bbc
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 0x1401a56c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
and eax, 7
test eax, eax
je 0x1401a56f1
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
and eax, 7
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.1401a4cd0
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 0
jle 0x1401a574c
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
and eax, 0xff
movsxd rcx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x28], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
shr eax, 8
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
sub eax, 8
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x10], eax
jmp 0x1401a56f9
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 0
jge 0x1401a5768
lea rcx, [0x140223b30]
call fcn.140198030
jmp 0x1401a58ac
cmp dword [rsp + 0x20], 4
jge 0x1401a578e
mov rcx, qword [rsp + 0x50]
call fcn.1401a4bc0
movsxd rcx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x28], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x1401a5768
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x28]
imul eax, eax, 0x100
mov ecx, 1
imul rcx, rcx, 0
movzx ecx, byte [rsp + rcx + 0x28]
add eax, ecx
mov dword [rsp + 0x24], eax
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x28]
imul eax, eax, 0x100
mov ecx, 1
imul rcx, rcx, 2
movzx ecx, byte [rsp + rcx + 0x28]
add eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
xor eax, 0xffff
cmp dword [rsp + 0x2c], eax
je 0x1401a57fe
lea rcx, str.zlib_corrupt
call fcn.140198030
jmp 0x1401a58ac
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
cmp rax, qword [rcx + 8]
jbe 0x1401a5827
lea rcx, str.read_past_buffer
call fcn.140198030
jmp 0x1401a58ac
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x50]
cmp rax, qword [rcx + 0x28]
jbe 0x1401a5860
mov r8d, dword [rsp + 0x24]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
call fcn.1401a4f60
test eax, eax
jne 0x1401a5860
xor eax, eax
jmp 0x1401a58ac
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x50]
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rdx]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x18], rax
mov eax, 1
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x1401b04c0
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, [0x140224414]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret
Function at 0x1401e1550
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov ebx, dword [rcx + 0x14]
mov rsi, rcx
call fcn.1401e1280
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.1401e1280
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x1401e16db
xor eax, eax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
cmp ebx, 2
mov qword [rsp + 0x20], r15
lea r14, [rsp + 0x40]
setne al
lea r15, [rsp + 0x40]
add r14, rax
xor rax, 1
add r15, rax
movzx edi, byte [r14]
movzx eax, byte [r15]
shl edi, 8
or edi, eax
lea eax, [rdi - 0xdc00]
cmp eax, 0x3ff
ja 0x1401e15e5
lea rcx, [rsi + 0x18]
mov edx, 0xfffd
call fcn.1401e1320
jmp 0x1401e16cc
lea eax, [rdi - 0xd800]
mov qword [rsp + 0x48], rbp
cmp eax, 0x3ff
ja 0x1401e16b9
mov rcx, rsi
call fcn.1401e1280
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.1401e1280
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
lea rbp, [rsi + 0x18]
test al, al
je 0x1401e1699
nop
movzx eax, byte [r15]
movzx ebx, byte [r14]
shl ebx, 8
or ebx, eax
lea eax, [rbx - 0xdc00]
cmp eax, 0x3ff
jbe 0x1401e16a0
lea rbp, [rsi + 0x18]
mov edx, 0xfffd
mov rcx, rbp
call fcn.1401e1320
lea eax, [rbx - 0xd800]
cmp eax, 0x7ff
ja 0x1401e16bd
mov rcx, rsi
mov edi, ebx
call fcn.1401e1280
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.1401e1280
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
jne 0x1401e1630
mov edx, 0xfffd
jmp 0x1401e16bf
and edi, 0x3ff
and ebx, 0x3ff
shl edi, 0xa
or edi, ebx
add edi, 0x10000
jmp 0x1401e16bd
lea rbp, [rsi + 0x18]
mov edx, edi
mov rcx, rbp
call fcn.1401e1320
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
Function at 0x1401e9970
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 0x1401e99f4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1401e99f4
dec r8
sub rdx, 1
jne 0x1401e99da
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1401eb090
Capabilities:
Parse pe header

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

Disassembly:
mov r12b, 0x2d
sbb al, 0x53
mov dh, 0xac
mov eax, 0xeb933a78
mov edi, 0x6598f233
sub byte [r15 - 0x6f68d667], sil
stosb byte [rdi], al
test al, 0x11
push rsi
mov dl, 0xd5
Function at 0x1400194f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400f18d0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xorps xmm0, xmm0
mov qword [rsp + 0x68], rdx
xor r12d, r12d
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], r12
mov eax, 0x18
mov dword [rbp + 0x88], 0x64005c
mov rsi, rdx
mov dword [rbp + 0x8c], 0x760065
mov r15, rcx
mov dword [rbp + 0x90], 0x630069
mov edi, r12d
mov dword [rbp + 0x94], 0x5c0065
mov r14d, r12d
mov dword [rbp + 0x98], 0x73006e
mov dword [rbp + 0x9c], 0x69
mov word [rbp - 0x80], ax
mov dword [rbp - 0x7c], 1
mov dword [rbp - 0x78], 0xeb004a03
mov dword [rbp - 0x74], 0x11d49b1a
mov dword [rbp - 0x70], 0x50002391
mov dword [rbp - 0x6c], 0xbc597704
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
test rcx, rcx
je 0x140019a1a
test rdx, rdx
je 0x140019a1a
mov qword [rdx], r12
lea rax, [rbp - 0x80]
mov qword [rcx], r12
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x28]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 3
mov dword [rbp - 0x40], 1
mov dword [rbp - 0x3c], 1
mov qword [rsp + 0x60], r12
push rsi
call 0x140168479
mov dword [rsp + 0x50], r12d
lea rax, [rbp + 0x28]
mov qword [rsp + 0x48], r12
lea r9, [rbp + 0x78]
mov dword [rsp + 0x40], r12d
lea r8, [rbp + 0x48]
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x30], 1
xorps xmm0, xmm0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov edx, 0xc0100000
mov qword [rsp + 0x20], r12
mov dword [rbp + 0x48], 0x30
mov qword [rbp + 0x50], r12
mov dword [rbp + 0x60], 0x240
mov qword [rbp + 0x58], rax
movdqu xmmword [rbp + 0x68], xmm0
push rax
call 0x1401c5a49
test eax, eax
jns 0x140019680
mov ebx, 0xc0000001
jmp 0x1400199de
mov r8, qword [0x140042378]
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x28], r12
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8, qword [r8]
call 0x14025b1d4
int3
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400199ee
push rbx
call 0x14018c77b
test r14, r14
je 0x1400199fc
mov rcx, r14
call 0x14019475c
int3
test ebx, ebx
jns 0x140019a16
test rdi, rdi
je 0x140019a10
xor edx, edx
mov rcx, rdi
push rdx
call 0x140190183
mov qword [r15], r12
mov qword [rsi], r12
mov eax, ebx
jmp 0x140019a1f
mov eax, 0xc0000001
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400400d0
add rsp, 0x1b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001fb6e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov rax, rcx
lea r9, [rdx - 0x34ecd4]
sub rax, rdx
mov r10, rcx
mov r8d, 0xb8
mov edx, 0xd
lea rbx, [rax + 0x34ecd5]
lea r11, [rax + 0x34ecd4]
nop
movzx eax, r8b
xor al, byte [r9 - 1]
mov byte [r11 + r9], al
lea eax, [r8 + 1]
and eax, 0x800000ff
jge 0x14001fb60
dec eax
or eax, 0xffffff00
inc eax
movzx ecx, al
lea r8d, [rax + 1]
xor cl, byte [r9]
mov byte [rbx + r9], cl
and r8d, 0x800000ff
jge 0x14001fb84
dec r8d
or r8d, 0xffffff00
inc r8d
add r9, 2
sub rdx, 1
jne 0x14001fb40
mov rbx, qword [rsp + 8]
mov rax, r10
mov byte [r10 + 0x1a], dl
ret
Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov ebx, ecx
xor edi, edi
lea rcx, str.User32.dll
mov dword [rsp + 0x70], edi
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp ebx, 2
jge 0x1400010ab
lea rcx, str._n____Usage:_n_n_tNativeLoader.exe__DLL_File__n_tNativeLoader.exe__Shellcode_Bin__n
call fcn.140001010
xor eax, eax
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rsi + 8]
lea rdx, [0x14001e530]
call fcn.1400036a0
mov rsi, rax
test rax, rax
je 0x14000124a
xor edx, edx
mov qword [rsp + 0x78], rbp
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.140003b44
mov rcx, rsi
call fcn.1400035dc
xor r8d, r8d
mov ebx, eax
xor edx, edx
mov rcx, rsi
call fcn.140003b44
lea ecx, [rbx + 1]
call fcn.14000561c
mov edx, ebx
mov r9, rsi
mov r8d, 1
mov rcx, rax
mov rbp, rax
call fcn.140005554
mov rcx, rsi
call fcn.1400038d8
cmp byte [rbp], 0x4d
jne 0x140001141
cmp byte [rbp + 1], 0x5a
jne 0x140001141
lea rcx, str.___File_is_a_PE__convert_it_to_shellcode_before_execution_n
call fcn.140001010
mov rbp, qword [rsp + 0x78]
mov eax, 0xffffffff
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edx, dword [rsp + 0x24]
lea r9, [rsp + 0x70]
mov r8d, 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14000123b
lea rcx, str.___Executing_RDI_n
call fcn.140001010
call rbp
mov rcx, rbp
mov rsi, rax
call fcn.1400052e0
test rsi, rsi
je 0x14000123b
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rcx + rsi + 0x8c], edi
je 0x14000123b
mov ebp, dword [rcx + rsi + 0x88]
add rbp, rsi
mov eax, dword [rbp + 0x18]
test eax, eax
je 0x14000123b
cmp dword [rbp + 0x14], edi
je 0x14000123b
mov ebx, dword [rbp + 0x20]
mov qword [rsp + 0x80], r14
add rbx, rsi
mov r14d, dword [rbp + 0x24]
add r14, rsi
test eax, eax
je 0x140001233
mov edx, dword [rbx]
add rdx, rsi
je 0x140001233
lea rcx, str.Uninstall
call fcn.140005210
test eax, eax
je 0x140001213
inc edi
add rbx, 4
add r14, 2
cmp edi, dword [rbp + 0x18]
jb 0x1400011d6
mov r14, qword [rsp + 0x80]
xor eax, eax
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
mov ecx, dword [rbp + 0x1c]
movzx edx, word [r14]
add rcx, rsi
mov ebx, dword [rcx + rdx*4]
add rbx, rsi
je 0x140001233
lea rcx, str.___Calling_exported_functon_n
call fcn.140001010
call rbx
mov r14, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
xor eax, eax
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
lea rcx, str._n____Failed_to_load_file_n
call fcn.140001010
xor eax, eax
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400062f0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000611c
Function at 0x180015340
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18001539d
lea rbx, [0x1801df5c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180015384
cmp r10, 2
jb 0x180015384
cmp byte [r9], r8b
jne 0x180015384
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180015360
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800153df
lea rbx, [0x1801df5c0]
cmp r8b, 0x23
jne 0x1800153c3
cmp byte [r9], r8b
jne 0x1800153c3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800153b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180015520
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001553a
mov qword [r8], 0
lea rdx, [0x1801df1b8]
call fcn.1800153f0
mov rbx, rax
test rax, rax
jne 0x18001555a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180015631
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180015631
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180015631
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180015631
cmp rdi, 0xffffffffffffffff
je 0x180015631
mov rax, qword [0x180243400]
test rax, rax
je 0x1800155ce
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180015631
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18001561e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180243400]
test rax, rax
je 0x180015613
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001563a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001562c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001563c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800180b0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1801df5c0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x180243400]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ebc], ebx
jne 0x180018146
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.180029820
mov eax, ebx
add rsp, 0x20
pop rbx
ret