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

Disassembly:
jmp 0x180039bc0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x1800718a5]
call fcn.18001b45a
nop
cmp dword [rbp + 0x108], 1
jne 0x180039c3f
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
nop
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x100]
lea r8, [0x18001b3dd]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x180039c3f
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x18001ab81
Capabilities:
Terminate process

Disassembly:
jmp 0x18004ba50
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x18001af00
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x18003e330
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x180071adc]
call fcn.18001b45a
nop
call fcn.18001a974
test rax, rax
jne 0x18003e35f
jmp 0x18003e537
mov rax, qword [rbp + 0xf0]
mov ecx, dword [rax + 0x20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x18003e384
mov rcx, qword [rbp + 0xf0]
call fcn.18001aafa
nop
mov rax, qword [rbp + 0xf0]
movzx eax, byte [rax + 0x79]
test eax, eax
jne 0x18003e46f
call fcn.18001a37f
cdq
and edx, 3
add eax, edx
sar eax, 2
mov rcx, qword [rbp + 0xf0]
mov dword [rcx + 0x70], eax
call fcn.18001ac85
cvtsi2ss xmm0, eax
divss xmm0, dword [0x1800597e4]
cvttss2si eax, xmm0
mov rcx, qword [rbp + 0xf0]
mov dword [rcx + 0x74], eax
call fcn.18001a37f
cvtsi2ss xmm0, eax
divss xmm0, dword [0x180059800]
mov rax, qword [rbp + 0xf0]
movss dword [rax + 0x3c], xmm0
mov rax, qword [rbp + 0xf0]
movss xmm0, dword [0x1800597fc]
mulss xmm0, dword [rax + 0x3c]
cvttss2si eax, xmm0
mov dword [rbp + 0xc0], eax
mov rcx, qword [rbp + 0xf0]
mov eax, dword [rcx + 0x70]
cdq
mov ecx, dword [rbp + 0xc0]
idiv ecx
mov rcx, qword [rbp + 0xf0]
mov dword [rcx + 0x40], eax
call fcn.18001b2b1
cvtsi2ss xmm0, eax
mov rax, qword [rbp + 0xf0]
mulss xmm0, dword [rax + 0x3c]
cvttss2si eax, xmm0
mov ecx, eax
call fcn.18001a924
nop
mov rax, qword [rbp + 0xf0]
mov eax, dword [rax + 0x70]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov rcx, qword [rbp + 0xf0]
mov dword [rcx + 0x38], eax
mov rax, qword [rbp + 0xf0]
mov byte [rax + 0x79], 1
mov rax, qword [rbp + 0xf0]
cmp qword [rax + 0x28], 0
jne 0x18003e4af
mov rax, qword [rbp + 0xf0]
movss xmm0, dword [0x1800597f0]
mulss xmm0, dword [rax + 0x3c]
cvttss2si eax, xmm0
mov rcx, qword [rbp + 0xf0]
add rcx, 0x28
lea r8, str.Arial
mov edx, eax
call fcn.18001a6f9
nop
cmp qword [0x180065f78], 0
jne 0x18003e4e7
mov rax, qword [rbp + 0xf0]
movss xmm0, dword [0x1800597ec]
mulss xmm0, dword [rax + 0x3c]
cvttss2si eax, xmm0
lea r8, str.Arial
mov edx, eax
lea rcx, [0x180065f78]
call fcn.18001a6f9
nop
mov rax, qword [rbp + 0xf0]
movzx eax, byte [rax + 0x78]
test eax, eax
je 0x18003e537
mov rcx, qword [rbp + 0xf0]
call fcn.18001b342
nop
mov rcx, qword [rbp + 0xf0]
call fcn.18001b20c
nop
mov rcx, qword [rbp + 0xf0]
call fcn.18001ac7b
nop
mov rcx, qword [rbp + 0xf0]
call fcn.18001a78f
nop
mov rcx, qword [rbp + 0xf0]
call fcn.18001b3a6
nop
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret
Function at 0x18001b423
Capabilities:
Write file on windows

Disassembly:
jmp 0x180034520
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x180065040]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x18007178b]
call fcn.18001b45a
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x180034587
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x18003458e
mov al, 1
jmp 0x1800346fe
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.18001a5a0
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.18001a5a0
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.18001b05e
movzx eax, al
test eax, eax
je 0x1800345f1
xor al, al
jmp 0x1800346fe
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.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 [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x180034664
cmp dword [rbp + 0x160], 1
je 0x18003466f
cmp dword [rbp + 0x160], 3
je 0x1800346ed
jmp 0x1800346fc
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x1800346bf
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x1800346bf
xor al, al
jmp 0x1800346fe
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1800346da
mov dword [rbp + 0x154], 1
jmp 0x1800346e4
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1800346fe
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1800346fe
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x180058060]
call fcn.18001b126
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.18001a9dd
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400e58b0
Capabilities:
Parse pe header

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

Function at 0x1400e8d10
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400e8d7f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e8d7f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e8d7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e8d7f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e8d7f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e8d7f
cmp dword [rcx + 0xf8], 0
je 0x1400e8d7f
mov ecx, ebx
call fcn.1400e8e30
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400e8c0c
nop
cmp dword [rbp + 0x20], 0
je 0x1400e8dcd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400e8dd8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400e8d10

Function at 0x1400e8f14
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400e8d10
Function at 0x1400eb970
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400eb9f7
mov rsi, rbx
cmp word [rax], bp
je 0x1400eb9b6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400eb9a0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400eb99c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400ec390
mov rdi, rax
test rax, rax
je 0x1400eb9e4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400f12e0
mov rbp, rdi
xor ecx, ecx
call fcn.1400ea638
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f0b40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400f0b68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400f0b68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14003173c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1400317b4
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400317b4
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1400317b4
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400317a8
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400317c6
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140031796
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1400317b6

Function at 0x140033300
Capabilities:
Parse pe header

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

Function at 0x14003c094
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003bdf8

Function at 0x140045fb0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140045fd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140045fd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140007374
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400073be
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400073be
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400073be
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400073be
cmp dword [rcx + 0x84], 0xe
jbe 0x1400073be
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400073c0
xor al, al
add rsp, 0x28
ret
Function at 0x140003ab0
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 0x140003b0d
lea rbx, [0x14014cb60]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003af4
cmp r10, 2
jb 0x140003af4
cmp byte [r9], r8b
jne 0x140003af4
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 0x140003ad0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003b4f
lea rbx, [0x14014cb60]
cmp r8b, 0x23
jne 0x140003b33
cmp byte [r9], r8b
jne 0x140003b33
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 0x140003b20
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003c90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140003caa
mov qword [r8], 0
lea rdx, [0x1401521cc]
call fcn.140003b60
mov rbx, rax
test rax, rax
jne 0x140003cca
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 0x140003da3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003da3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003da3
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 0x140003da3
cmp rdi, 0xffffffffffffffff
je 0x140003da3
mov rax, qword [0x140519520]
test rax, rax
je 0x140003d40
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003da3
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 0x140003d90
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140519520]
test rax, rax
je 0x140003d85
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003dac
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140003d9e
mov qword [r14], rdi
mov rax, rsi
jmp 0x140003dae
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 0x140007040
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x14014cb60]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x140519520]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x1400070d5
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001a120
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140013e40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14016c0c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140519520]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x140013ea1
cmp byte [rbx + 0x4a5e], 0
jne 0x140013ea1
movsx r9d, word [rbx + 0x5b5a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003970
test dil, 1
je 0x140014010
jmp 0x140013f78
movss xmm3, dword [rbx + 0xdfc]
lea r8, str.Tooltip__02d
movss xmm1, dword [rbx + 0xe00]
xor ecx, ecx
movss xmm2, dword [rbx + 0x3898]
mov edx, reloc.WS2_32.dll_recv
movss xmm4, dword [rbx + 0x18]
movaps xmm0, xmm2
mulss xmm0, dword [0x140153248]
mulss xmm4, dword [0x140153230]
mulss xmm2, dword [0x140153220]
subss xmm3, xmm0
subss xmm1, xmm2
subss xmm3, dword [0x1405198f8]
subss xmm1, dword [0x1405198fc]
mulss xmm3, xmm4
addss xmm3, dword [0x1405198f8]
mulss xmm1, xmm4
addss xmm1, dword [0x1405198fc]
movss dword [0x1405198f8], xmm3
movss dword [0x1405198fc], xmm1
mov eax, dword [rbx + 0x47a8]
movsx r9d, word [rbx + 0x5b5a]
or eax, 1
mov dword [rbx + 0x47a8], eax
or eax, 0x40
movsd xmm0, qword [0x1405198f8]
mov qword [rbx + 0x47c0], rcx
mov dword [rbx + 0x4808], ecx
lea rcx, [rsp + 0x20]
movsd qword [rbx + 0x47b8], xmm0
mov dword [rbx + 0x47ac], 1
mov dword [rbx + 0x47a8], eax
call fcn.140003970
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013fc8
lea r11, [0x14014cb60]
cmp r9b, 0x23
jne 0x140013fab
cmp byte [r8], r9b
jne 0x140013fab
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140013f98
not ecx
call fcn.14000acb0
test rax, rax
je 0x140014010
cmp byte [rax + 0xae], 0
je 0x140014010
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b5a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b5a]
call fcn.140003970
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d510
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14011b320
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400189c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c40], 0
lea rbx, [rcx + 0x5c48]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018a67
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140018a1a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001ad90
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400041b0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c40]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c50]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140519518]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140018a6f
mov rcx, rbx
call fcn.1400041b0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140018fe0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140519520]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019043
mov qword [rsp], rbx
lea rbx, [0x14014cb60]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019023
cmp byte [r8], r9b
jne 0x140019023
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 [rbx + rdx*4]
test r9b, r9b
jne 0x140019010
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bb8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140019077
mov r10, qword [r10 + 0x5bc0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001907e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140019064
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1400436f0
Capabilities:
Delete file
Execute command

Disassembly:
sub rsp, 0x48
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14011b940
mov rdx, rax
mov qword [rsp + 0x20], rax
movdqa xmm0, xmmword [reloc.WLDAP32.dll_Ordinal_30]
movdqu xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [str.C:WindowsSystem32driver.sys]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140152da8]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x140152db0]
mov dword [rax + 0x18], ecx
movzx eax, word [0x140152db4]
mov word [rdx + 0x1c], ax
mov byte [rdx + 0x1e], 0
mov r8d, 0x2600
lea rdx, [0x14016c170]
lea rcx, [rsp + 0x20]
call fcn.1400432d0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400437ac
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400437a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400437a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011ba54
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14011b940
mov rdx, rax
mov qword [rsp + 0x20], rax
movdqa xmm0, xmmword [0x1401533c0]
movdqu xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [str.C:WindowsSystem32_strnmap.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140152dc8]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x140152dd0]
mov dword [rax + 0x18], ecx
movzx eax, word [0x140152dd4]
mov word [rdx + 0x1c], ax
movzx eax, byte [0x140152dd6]
mov byte [rdx + 0x1e], al
mov byte [rdx + 0x1f], 0
mov r8d, 0x84800
lea rdx, [0x14016e770]
lea rcx, [rsp + 0x20]
call fcn.1400432d0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14004386e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043869
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043869
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011ba54
lea rcx, str.C:WindowsSystem32_strnmap.exe_C:WindowsSystem32driver.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:WindowsSystem32driver.sys
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.C:WindowsSystem32_strnmap.exe
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rdx, str._n_Driver_loaded_successfully._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add rsp, 0x48
jmp fcn.140048080
Function at 0x140045af0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140045b11
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140045b3e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140045b40
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140045b99
test ecx, ecx
jle 0x140045b79
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140045b99
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140045b99
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
lahf
mov word [rdx - 0x37], cs
cmp eax, 0xe8fedf7d
xchg esi, eax
pushfq
invalid
xor byte [rdi], ah
int 0x81
lodsb al, byte [rsi]
or dh, byte [rdx]
stosd dword [rdi], eax
ja 0x14028a5d8
fcmove st(0), st(1)
sub ebx, ebx
xchg ecx, eax
outsd dx, dword [rsi]
mov ch, 0xbf
and eax, 0x2b6138d3
add dh, byte [rbx - 0x24]
sbb al, 0xc4
jo 0x14028a599
ret 0x4754