joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017b00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14013ac80]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5bc4], ecx
test rbx, rbx
je 0x140017b6f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140017b80
lea rdx, [0x14005c04c]
mov rcx, rbx
mov rdi, rax
call fcn.14000c420
mov rbx, rax
test rax, rax
je 0x140017b6a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x14001c310
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x14013ac80]
cmp byte [rbx + 0x5bc1], 0
jne 0x14001c46c
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001c465
lea rdx, [0x14005c048]
mov qword [rsp + 0x40], rdi
call fcn.14000c420
mov rdi, rax
test rax, rax
je 0x14001c460
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001c44d
xor edx, edx
mov r8d, 2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001c44d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001c44d
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001c44d
cmp rsi, 0xffffffffffffffff
je 0x14001c44d
mov rax, qword [0x14013ac80]
test rax, rax
je 0x14001c3d7
inc dword [rax + 0xf4]
mov rdx, qword [0x14013ac90]
mov rcx, rsi
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x14001c44d
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x14001c413
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001c429
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14001c429
mov rdx, rsi
mov rcx, rbp
call fcn.14000e980
mov rax, qword [0x14013ac80]
test rax, rax
je 0x14001c43b
dec dword [rax + 0xf4]
mov rdx, qword [0x14013ac90]
mov rcx, rbp
call qword [0x140089008]
jmp 0x14001c456
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x5bc1], 1
movss xmm0, dword [rbx + 0x5bc4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001c4af
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5bc4], xmm0
jb 0x14001c4af
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001c49e
call fcn.140017b00
jmp 0x14001c4a5
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x5bc4], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400315f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14013ac80]
mov rcx, qword [rax + 0x4b10]
mov r10, qword [rax + 0x3ed0]
movsxd rax, dword [rcx + 0x74]
movups xmm0, xmmword [rcx + 0x168]
movss xmm4, dword [rcx + 0x168]
movss xmm3, dword [rcx + 0x16c]
movss xmm2, dword [rcx + 0x170]
movss xmm1, dword [rcx + 0x174]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x70
mov rax, qword [r10 + 0x298]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x238], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x298]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [r9 + 0x5c]
mov rdx, qword [r10 + 0x298]
mov rcx, qword [rcx + 0x198]
add rsp, 0x38
jmp 0x1400264e0

Function at 0x1400316c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14013ac80]
mov rcx, qword [rax + 0x4b10]
mov r9, qword [rax + 0x3ed0]
movups xmm0, xmmword [r9 + 0x238]
movups xmmword [rcx + 0x168], xmm0
mov rax, qword [r9 + 0x298]
movups xmm0, xmmword [rcx + 0x148]
movss xmm4, dword [rcx + 0x148]
movss xmm3, dword [rcx + 0x14c]
movss xmm2, dword [rcx + 0x150]
movss xmm1, dword [rcx + 0x154]
movups xmmword [r9 + 0x238], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x298]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x21e]
mov rcx, qword [rcx + 0x198]
mov rdx, qword [r9 + 0x298]
add rsp, 0x38
jmp 0x1400264e0
Function at 0x140049b40
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 0x140049ba1
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 0x140049b60
mov ecx, dword [r9]
jmp 0x140049c8b
cmp ecx, 0x4e0
jb 0x140049c8b
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 0x140049bc0
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 0x140049c10
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 0x14004b250
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14013ab40]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea r13, [rbp + 0x1f8]
movabs rax, 0xff00ff00ff00ff00
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r13
mov rbx, qword [r13]
mov r15, rbx
xor r15, rax
mov qword [rsp + 0x48], r15
xor r12d, r12d
mov qword [r13], r12
movups xmmword [rcx], xmm0
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rsp + 0x20], 1
cmp qword [rdx + 0x10], r12
je 0x14004b31f
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r14, rax
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14004b330
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [r13], rbx
jmp 0x14004b44d
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14004b350
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.140047fe0
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14004b376
mov rax, qword [rsi]
lea r8, [rsp + 0x28]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x40]
cmp r10, 7
cmova r8, r9
mov rdx, qword [rsp + 0x38]
cmp rdx, qword [rsi + 0x10]
jne 0x14004b3b8
test rdx, rdx
je 0x14004b3b4
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14004b3b8
add rax, 2
sub rdx, 1
jne 0x14004b3a0
mov bl, 1
jmp 0x14004b3ba
xor bl, bl
cmp r10, 7
jbe 0x14004b3f5
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14004b3ed
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b482
mov rcx, r9
call fcn.140056908
test bl, bl
je 0x14004b41d
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14004b410
mov eax, dword [rsp + 0x78]
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x14004b41d
lea r8, [rsp + 0x78]
mov rcx, rdi
call fcn.140048240
lea rdx, [rsp + 0x70]
mov rcx, r14
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14004b330
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
movabs rax, 0xff00ff00ff00ff00
xor r15, rax
mov qword [r13], r15
mov rcx, rsi
call fcn.14004cc60
mov rax, rdi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140056a20
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3
Function at 0x1400575dc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140057626
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140057626
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140057626
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140057626
cmp dword [rcx + 0x84], 0xe
jbe 0x140057626
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140057628
xor al, al
add rsp, 0x28
ret
Function at 0x140131000
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
xchg r9, r12
mov qword [rsp + 0x20], r12
add dword [rax], eax
add cl, ch
push rbx
add byte [rax], al
add byte [rax - 0x69], cl
lea rdx, [rdx + 1]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [rdx - 1]
jmp 0x140131f83
xchg r12, r9
mov r8d, r13d
movsxd rcx, dword [rax + 0x3c]
mov r11d, dword [rcx + rax + 0x88]
mov ebx, dword [r11 + rax + 0x20]
nop word [rax + rax]
jmp 0x14013206e
test al, al
jne 0x140132022
cmp ecx, 0x5ba90b5e
je 0x1401320ac
inc r8d
jmp 0x140131fad
call r9
xchg r12, r9
mov r12, rax
jmp 0x140131f5c
jmp 0x14013206e
Function at 0x140132f27
Capabilities:
Access peb ldr_data
Execute syscall
Hash data using fnv

Disassembly:
add byte [rbp + 0x3b], dh
mov rcx, qword [r15 + 0x1c]
and al, 0x78
div dh
div dh
cmp rbx, rbp
add r9d, 0x5a32352d
jle 0x140131629
pushfq
jmp 0x1401330a3
call rcx
cmp rsi, rbp
push r15
jge 0x1401324a6
lea edx, [rcx + 0xd8c1]
jb 0x140131fc6
jmp 0x140132e61
inc r13
jmp 0x140132ef8
rol r13d, 0x2b
jmp rcx

Function at 0x140134a90
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
adc al, 0x26
mov dword [rbp + 0x70], 0xf6f6f6f6
mov dword [rbp + 0xc4], 0x76766b7e
mov word [rbp + 0x74], 0xf6f6
mov dword [rbp + 0xc8], 0x386e6f
mov byte [rbp + 0x76], 0xf6
nop dword [rax]
nop word [rax + rax]
mov dword [rbp + 0x68], 0xf6f6f6f6
mov dword [rbp + 0xbc], 0x6f7c6b2a
mov dword [rbp + 0x6c], 0xf6f6f6f6
mov dword [rbp + 0xc0], 0x7d78732a
jmp 0x14013470b
xchg rcx, r9
mov qword [rsp + 0x20], rcx
xchg r9, rcx
je 0x140134ab6
jne 0x140134ab6
jp 0x14013455a
lea ecx, [rcx - 0x3d21]
jmp rcx
jmp 0x140134ad7
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
xchg rcx, rbp
mov qword [rsp + 8], rbp
xchg rcx, rbp
jmp 0x140134afa
mov qword [rsp + 0x10], rax
jmp 0x140134b7c
sub rsp, 0x28
lea rax, [0x140134d40]
xchg rcx, rax
mov qword [rsp + 0x18], rcx
xchg rcx, rax
mov dword [rsp + 8], 0
mov rax, qword [rsp + 0x30]
jmp 0x140134af0
mov eax, dword [rsp + 0x38]
xchg rcx, rbp
mov rbp, qword [rsp + 0x30]
xchg rbp, rcx
jne 0x140134bb1
je 0x140134bb1
cmp r9d, 0x955d0e51
test r14, rbp
jno 0x140135b40
lea r13d, [rdx + 0xd460]
or r15d, 0x8ec4d5e8
syscall
movabs rsi, 0x529d248c225c0beb
jmp 0x140134840
jmp 0x140134bbe
add rcx, rax
xchg r8, rax
mov r8, rcx
jmp 0x140134bcb
xchg r8, rax
cmp qword [rsp + 0x10], rax
jae 0x140134d31
mov byte [rsp], 0
mov dword [rsp + 4], 0
jmp 0x140134caa
add rsp, 0x28
ret
invalid
Function at 0x1400013c0
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [0x140006690]
mov rbp, r8
xor r9d, r9d
xor r8d, r8d
mov edi, edx
mov rsi, rcx
movups xmmword [rsp + 0x78], xmm0
test dl, 7
je 0x1400014ae
lea rdx, [0x140004408]
lea rcx, [rsp + 0x50]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x14000156e
mov rcx, qword [rsp + 0x50]
lea r8, str.ChainingModeCFB
xor ebx, ebx
lea rdx, str.ChainingMode
mov r9d, 0x20
mov dword [rsp + 0x20], ebx
call qword [sym.imp.bcrypt.dll_BCryptSetProperty]
test eax, eax
js 0x14000156e
mov rcx, qword [rsp + 0x50]
lea rax, [0x140006680]
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x28], 0x10
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.bcrypt.dll_BCryptGenerateSymmetricKey]
test eax, eax
js 0x14000156e
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x400
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x10
jmp 0x14000154b
lea rdx, str.3DES
lea rcx, [rsp + 0x58]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x14000156e
mov rcx, qword [rsp + 0x58]
lea r8, str.ChainingModeCBC
xor ebx, ebx
lea rdx, str.ChainingMode
mov r9d, 0x20
mov dword [rsp + 0x20], ebx
call qword [sym.imp.bcrypt.dll_BCryptSetProperty]
test eax, eax
js 0x14000156e
mov rcx, qword [rsp + 0x58]
lea rax, [0x1400066a0]
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x28], 0x18
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.bcrypt.dll_BCryptGenerateSymmetricKey]
test eax, eax
js 0x14000156e
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x400
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x78]
xor r9d, r9d
mov r8d, edi
mov qword [rsp + 0x20], rax
mov rdx, rsi
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
test eax, eax
jne 0x14000156e
mov eax, dword [rsp + 0x70]
jmp 0x140001570
xor eax, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400023b0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret

Function at 0x140002c70
Capabilities:
Parse pe header

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

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000ddb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000ddb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14005fe6c
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x14005feb4
lea ebx, [rsi + 0xd]
jmp 0x14005ff1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x14005ff1f
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003cffc
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14005ff11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14005ff1f
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.1400033fc
mov ebx, esi
lea rcx, [rbp - 0x20]
call fcn.1400174fc
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x140060a48
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400bd0c0], eax
call fcn.140060cf8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400bd0c0], 0
jne case.default.0x140060a9e
mov ecx, 1
call fcn.140060cf8
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]
out 0x4e, eax
fild word [rdi]
invalid
Function at 0x14000c0c0
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140035010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea r12, [rsp + 0xc8]
movabs r13, 0xff00ff00ff00ff00
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r12
mov rbx, qword [r12]
mov rsi, rbx
xor rsi, r13
mov qword [rsp + 0x68], rsi
mov qword [r12], r15
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14000c13b
mov rcx, qword [rdx]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, dword [rdx + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14000c177
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [r12], rbx
jmp 0x14000c292
mov ebp, dword [rsp + 0x48]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
test rbp, rbp
je 0x14000c1eb
cmp rbp, 0x1000
jb 0x14000c1c3
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x14000c2c0
call fcn.140028ca8
mov rcx, rax
test rax, rax
je 0x14000c263
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000c1cb
mov rcx, rbp
call fcn.140028ca8
mov qword [rsp + 0x50], rax
lea rbx, [rax + rbp]
mov qword [rsp + 0x60], rbx
mov r8, rbp
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x58], rbx
mov edx, dword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x14000c1f9
mov r14, qword [r14]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8d, 1
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14000c271
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000c28b
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c26a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c26a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140028ca0
jmp 0x14000c28b
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
xor rsi, r13
mov qword [r12], rsi
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140028c80
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400018e0
nop
int3
Function at 0x14001bda0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140035010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, 0xffff
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x14001bdd1
xor eax, eax
jmp 0x14001bf20
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14001be0e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x14001be0e
lea ecx, [r10 - 1]
movzx eax, si
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x14001bf20
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x14001bf15
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14001be55
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14001be7f
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, di
je 0x14001bf15
movzx edi, si
jmp 0x14001bf15
lea rax, [rsp + 0x40]
mov word [rsp + 0x50], si
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x52]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14001bed5
sub eax, 1
je 0x14001bed5
cmp eax, 2
jne 0x14001bf15
movzx ecx, word [rsp + 0x50]
jmp 0x14001be61
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x14001bf03
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x14001bf15
lea rax, [rsp + 0x50]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x48], rax
cmovne di, si
mov rbp, qword [rsp + 0xb0]
movzx eax, di
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140028c80
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001c8a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 0x1384], 0xffffffff
lea r9, [rcx + 8]
mov dword [rcx + 4], edx
mov r8d, 1
nop word [rax + rax]
mov eax, edx
lea r9, [r9 + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9 - 4], edx
cmp r8, 0x270
jb 0x14001c8c0
mov dword [rcx], 0x270
mov rax, rcx
ret

Function at 0x14001d220
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14001d254
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001d240
ret