joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017e090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
cmp qword [rsp + 0x20], 0
je 0x14017e0ba
cmp qword [rsp + 0x28], 0
je 0x14017e0ba
cmp dword [rsp + 0x30], 0
jne 0x14017e0c1
xor eax, eax
jmp 0x14017e218
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
cmp dword [rax], 0x4550
je 0x14017e10f
xor eax, eax
jmp 0x14017e218
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
movzx eax, word [rax + 0x16]
and eax, 0x2000
test eax, eax
je 0x14017e12e
mov dword [rsp], 1
jmp 0x14017e135
mov dword [rsp], 0
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp]
mov dword [rax + 0x48], ecx
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x10]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
mov ecx, 8
imul rcx, rcx, 1
lea rax, [rax + rcx + 0x88]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
mov ecx, 8
imul rcx, rcx, 5
lea rax, [rax + rcx + 0x88]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
mov ecx, 8
imul rcx, rcx, 9
lea rax, [rax + rcx + 0x88]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
mov ecx, 8
imul rcx, rcx, 3
lea rax, [rax + rcx + 0x88]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
mov ecx, 8
imul rcx, rcx, 0
lea rax, [rax + rcx + 0x88]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x40], rax
mov eax, 1
add rsp, 0x18
ret
Function at 0x14017f908
Capabilities:
Parse pe header

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

Function at 0x140184104
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140183f00
Function at 0x1401871cc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1401871fc
xor eax, eax
jmp 0x1401872bf
mov rbp, rbx
cmp word [rax], si
je 0x140187221
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140187208
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140187204
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1401870ec
movsxd r14, eax
test eax, eax
jne 0x14018725f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401871f5
mov rcx, r14
call fcn.1401880a8
mov rdi, rax
test rax, rax
jne 0x140187278
xor ecx, ecx
call fcn.14018574c
jmp 0x140187254
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1401870ec
test eax, eax
jne 0x1401872a9
mov rcx, rdi
call fcn.14018574c
jmp 0x1401872b3
xor ecx, ecx
call fcn.14018574c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14018a7b0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1401861bc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14018a83a
cmp byte [rbp - 0x21], r15b
je 0x14018a835
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14018a870
call fcn.1401888b8
test eax, eax
jne 0x14018a85c
cmp byte [rbp - 0x21], r15b
je 0x14018a854
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14018a870
cmp byte [rbp - 0x21], r15b
je 0x14018a86d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14018579c
test eax, eax
jne 0x14018a910
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1401861bc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14018a8af
cmp byte [rbp - 0x21], r15b
je 0x14018a8e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14018a8e4
call fcn.1401888b8
test eax, eax
jne 0x14018a8d0
cmp byte [rbp - 0x21], r15b
je 0x14018a8c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14018a8e4
cmp byte [rbp - 0x21], r15b
je 0x14018a8e1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14018579c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14018a910
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14018a913
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14018a921
mov rcx, rdi
call fcn.14018574c
cmp byte [rbp + 0x3f], r15b
je 0x14018a930
mov rcx, qword [rbp + 0x27]
call fcn.14018574c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14018d760
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14018d788
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14018d788
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800047d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x18008d3b7], 0
jne 0x18000486a
mov ecx, 0x1388
call fcn.18006ed64
mov rbx, rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.msvcp140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
mov edx, 1
lea r8, [rbx + 8]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x180004811
mov dword [rbx], 0x270
mov qword [0x18008d438], rbx
mov ecx, 8
call fcn.18006ed64
mov qword [rsp + 0x30], rax
mov dword [rax], 0
mov dword [rax + 4], 0xffffffff
mov qword [0x18008d440], rax
mov byte [0x18008d3b7], 1
call fcn.18002c680
movzx ecx, al
xor cl, 0x61
cmp cl, 0x61
je 0x18000486a
cmp cl, 0x41
je 0x18000486a
add rsp, 0x20
pop rbx
ret
Function at 0x180007990
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18008c020]
xor rax, rsp
mov qword [rsp + 0x30], rax
movzx ebx, byte [0x18008d232]
lea rcx, [0x1800750a0]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
lea r9, [rsp + 0x28]
mov edx, 0x100
mov r8d, 0x40
lea rdi, [rax + 0x162c82d]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_VirtualProtect]
mov ecx, dword [rdi]
test bl, bl
je 0x180007a10
mov dword [0x18008d250], ecx
movzx eax, word [rdi + 4]
mov word [0x18008d254], ax
cmp cl, 0xf
jne 0x180007a33
cmp byte [0x18008d251], 0x87
jne 0x180007a33
mov dword [rdi], 0x90909090
mov word [rdi + 4], 0x9090
jmp 0x180007a33
mov dword [rsp + 0x20], ecx
cmp cl, 0xf
je 0x180007a33
cmp byte [rsp + 0x21], 0x87
je 0x180007a33
mov eax, dword [0x18008d250]
mov dword [rdi], eax
movzx eax, word [0x18008d254]
mov word [rdi + 4], ax
mov r8d, dword [rsp + 0x28]
lea r9, [rsp + 0x28]
mov edx, 0x100
mov rcx, rdi
call qword [sym.imp.kernel32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18006e840
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180027e60
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180027e8e
call qword [sym.imp.kernel32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x18001cb80]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.kernel32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x18002aa30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18008c020]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18002ab03
cmp byte [rcx + 0x71], 0
je 0x18002ab03
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18002aaff
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18002aac4
sub eax, 1
je 0x18002aac8
cmp eax, 2
jne 0x18002aaff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18006e840
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18002aaf6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x18002aaff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18002aaac
xor al, al
jmp 0x18002aaac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18006e840
add rsp, 0x60
pop rbx
ret
Function at 0x1800317a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x180031801
lea r8, [r10 + 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 r9, 1
jne 0x1800317c0
mov ecx, dword [r10]
jmp 0x1800318ea
cmp ecx, 0x4e0
jb 0x1800318ea
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x180031820
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x180031870
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 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 0x1800320d0
Capabilities:
Connect to http server
Create http request

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rsi, rdx
mov r14, rcx
xor edi, edi
mov dword [rbp - 0x40], edi
mov rcx, qword [rcx]
test rcx, rcx
je 0x1800320ff
call qword [sym.imp.wininet.dll_InternetCloseHandle]
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x18003210e
call qword [sym.imp.wininet.dll_InternetCloseHandle]
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x180074e97]
call qword [sym.imp.wininet.dll_InternetOpenA]
mov qword [r14], rax
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x180032137
mov rdx, qword [rsi]
mov r8d, 0x1bb
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0x80000100
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rcx, rax
call qword [sym.imp.wininet.dll_InternetConnectA]
mov qword [r14 + 8], rax
test rax, rax
jne 0x180032292
mov r15, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqa xmm0, xmmword [0x18007fbf0]
movdqu xmmword [rbp - 0x18], xmm0
mov dword [rbp - 8], 0x56025641
mov word [rbp - 4], 0x24d
mov byte [rbp - 2], dil
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rdi
mov ecx, 0xf
mov qword [rbp - 0x20], rcx
mov byte [rbp - 0x38], al
mov dword [rbp - 0x40], 1
mov rbx, rdi
nop word [rax + rax]
movzx r9d, byte [rbp - 0x18]
xor r9b, byte [rbp + rbx - 0x17]
cmp rdi, rcx
jae 0x1800321ef
lea rax, [rdi + 1]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x38]
cmp rcx, 0x10
cmovae rax, qword [rbp - 0x38]
mov byte [rax + rdi], r9b
mov byte [rax + rdi + 1], 0
jmp 0x1800321f8
lea rcx, [rbp - 0x38]
call fcn.18002dd90
mov byte [rbp + rbx - 0x17], 0
inc rbx
cmp rbx, 0x15
jae 0x180032210
mov rcx, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x28]
jmp 0x1800321c0
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
mov rcx, r15
call fcn.18002ef50
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x180032238
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.18002ef50
lea rdx, [0x18002d000]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x180032292
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003228d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003228d
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18006f1f8
mov rax, r14
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180033e40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x18008da24], 0
lea rdi, [0x18008da20]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x180033f18
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x180033e70
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x180033f4e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x180033f30
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x180033f8f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x180033f73
cmp byte [r8], r9b
jne 0x180033f73
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x180033f60
not eax
pop rdi
ret
Function at 0x180045d40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rsi, qword [0x18008d3f8]
xor edi, edi
mov r15, rcx
mov dword [rsi + 0x2db4], edi
test rcx, rcx
je 0x180045e79
mov qword [rsp + 0x40], rbx
lea rbx, [rsi + 0x2db8]
mov dword [rsi + 0x2db4], edi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x180045d9a
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.180047110
mov dword [rbx], edi
cmp dword [rbx + 4], edi
jne 0x180045dae
mov edx, 8
mov rcx, rbx
call fcn.180047110
movsxd rcx, dword [rbx]
mov ebp, edi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], dil
inc dword [rbx]
mov eax, dword [rsi + 0x2dc8]
test eax, eax
jle 0x180045e19
mov qword [rsp + 0x50], r14
mov r14, rdi
cmp edi, eax
jl 0x180045ded
mov r8d, 0x5bf
lea rdx, [0x18007a560]
lea rcx, [0x18007cce8]
call qword [sym.imp.ucrtbase.dll__wassert]
mov r9, qword [rsi + 0x2dd0]
mov r8, rbx
add r9, r14
mov rcx, rsi
mov rdx, r9
call qword [r9 + 0x20]
mov eax, dword [rsi + 0x2dc8]
inc ebp
add r14, 0x30
cmp ebp, eax
jl 0x180045ded
mov r14, qword [rsp + 0x50]
cmp qword [rbx + 8], rdi
je 0x180045e23
mov edi, dword [rbx]
dec edi
mov rax, qword [rsi + 0x2dc0]
lea rdx, [0x18007cbf0]
test rax, rax
movsxd rbp, edi
lea rdi, [0x18008d3b5]
mov rcx, r15
cmovne rdi, rax
call fcn.180033fa0
mov rbx, rax
test rax, rax
je 0x180045e6f
mov r9, rax
mov r8, rbp
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x18004e360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x18004e5c2
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, 0x100
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x18007fc70]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x18004e42a
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x18004e449
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x18004e560
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x18004e490
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x18004e493
mov edx, dword [rax + rsi]
mov rcx, r14
call fcn.180049070
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [r13 + 0x24]
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.18004bc70
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x18004e480
jmp 0x18004e567
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, 0x100
sub qword [rsp + 0x60], 1
jne 0x18004e3e0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x180068990
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
movzx edx, byte [rcx + 0x20]
cmp dl, 0x42
jne 0x1800689a4
xor al, al
add rsp, 0x28
ret
lea eax, [rdx - 0x39]
cmp al, 4
ja 0x180068a0f
mov qword [rsp + 0x30], rbx
lea rcx, [rdx + rdx*2]
lea rax, [0x180079910]
mov qword [rsp + 0x20], rdi
movsxd rbx, dword [rax + rcx*8 + 0x10]
mov rdi, qword [0x18008d3f8]
cmp ebx, 4
jbe 0x1800689eb
mov r8d, 0xf58
lea rdx, [0x18007a620]
lea rcx, [0x18007ba60]
call qword [sym.imp.ucrtbase.dll__wassert]
movss xmm1, dword [rdi + rbx*4 + 0x45c]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
jp 0x18006899d
jne 0x18006899d
mov al, 1
add rsp, 0x28
ret
cmp dl, 0x67
mov ecx, 0x42
cmovb ecx, edx
movzx eax, cl
lea rcx, [rax + rax*2]
lea rax, [0x180079910]
mov ecx, dword [rax + rcx*8 + 0x10]
call qword [sym.imp.user32.dll_GetKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret