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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14001b143
call fcn.14001a6c4
mov dword [rax], 0x16
call fcn.1400179d4
xor eax, eax
jmp 0x14001b1d1
mov rdx, r9
mov rcx, r8
call fcn.14001b0a8
mov rbx, rax
test rax, rax
je 0x14001b1ce
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14001afd4]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14001b1bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001a638
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14001b1a2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14001b1b1
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14001d0f4
jmp 0x14001b1ce
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001b1cb
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14001ba7c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001b878
Function at 0x140020d6c
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 0x140020df3
mov rsi, rbx
cmp word [rax], bp
je 0x140020db2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140020d9c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140020d98
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001d130
mov rdi, rax
test rax, rax
je 0x140020de0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400122a0
mov rbp, rdi
xor ecx, ecx
call fcn.14001d0f4
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 0x1408dc058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1408dc1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1408dc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408dc06f
add dl, dl
jne 0x1408dc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408dc0f6
xor eax, eax
add dl, dl
jne 0x1408dc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408dc1ad
add dl, dl
jne 0x1408dc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408dc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408dc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408dc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408dc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1408dc07e
mov eax, 1
add dl, dl
jne 0x1408dc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408dc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408dc0fb
sub eax, ebx
mov ebx, 1
jne 0x1408dc14c
mov ecx, 1
add dl, dl
jne 0x1408dc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408dc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408dc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408dc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1408dc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408dc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408dc15d
cmp eax, 0x7d00
jae 0x1408dc19b
cmp eax, 0x500
jb 0x1408dc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408dc07e
cmp eax, 0x7f
ja 0x1408dc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408dc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408dc1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1408dc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002950
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 0x1400029ad
lea rbx, [0x14004efa0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002994
cmp r10, 2
jb 0x140002994
cmp byte [r9], r8b
jne 0x140002994
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 0x140002970
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400029ef
lea rbx, [0x14004efa0]
cmp r8b, 0x23
jne 0x1400029d3
cmp byte [r9], r8b
jne 0x1400029d3
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 0x1400029c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002b30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002b4a
mov qword [r8], 0
lea rdx, [0x14004e9fc]
call fcn.140002a00
mov rbx, rax
test rax, rax
jne 0x140002b6a
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 0x140002c43
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 0x140002c43
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002c43
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 0x140002c43
cmp rdi, 0xffffffffffffffff
je 0x140002c43
mov rax, qword [0x140081b00]
test rax, rax
je 0x140002be0
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002c43
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 0x140002c30
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140081b00]
test rax, rax
je 0x140002c25
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002c4c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002c3e
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002c4e
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 0x140010940
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140081b00]
lea r11, [0x14004efa0]
mov r8d, ecx
mov r10, qword [rax + 0x1d18]
movsxd rdx, dword [r10 + 0x108]
mov rax, qword [r10 + 0x110]
mov r9d, dword [rax + rdx*4 - 4]
not r9d
movzx eax, cl
movzx edx, r9b
xor rdx, rax
shr r9d, 8
mov eax, ecx
shr eax, 8
xor r9d, dword [r11 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
mov eax, r8d
xor rdx, rcx
shr eax, 0x10
xor r9d, dword [r11 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
mov eax, r8d
xor rdx, rcx
shr rax, 0x18
lea rcx, [r10 + 0x108]
xor r9d, dword [r11 + rdx*4]
movzx edx, r9b
xor rdx, rax
shr r9d, 8
xor r9d, dword [r11 + rdx*4]
lea rdx, [rsp + 0x30]
not r9d
mov dword [rsp + 0x30], r9d
call fcn.140022870
add rsp, 0x28
ret

Function at 0x1400114e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140081b00]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x140011540
cmp byte [rbx + 0x20d6], 0
jne 0x140011540
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400028d0
test dil, 1
je 0x140011667
jmp 0x1400115d1
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140055010]
mov edx, 0x10
mulss xmm1, dword [0x140055000]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x140054f5c]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.1400028d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140011621
lea r11, [0x14004efa0]
cmp r9b, 0x23
jne 0x140011604
cmp byte [r8], r9b
jne 0x140011604
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 0x1400115f1
not ecx
call fcn.14000a460
test rax, rax
je 0x140011667
cmp byte [rax + 0xcf], 0
je 0x140011667
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, 0x10
mov r9d, dword [rbx + 0x3178]
call fcn.1400028d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000cee0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004b290
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140016380
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 + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140016427
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400163da
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.140023250
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003070
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140081af8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001642f
mov rcx, rbx
call fcn.140003070
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140016870
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x1400168c2
lea r11, [0x14004efa0]
cmp r9b, 0x23
jne 0x1400168a5
cmp byte [r8], r9b
jne 0x1400168a5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140016892
mov r11, qword [0x140081b00]
xor r9d, r9d
not eax
mov r10, qword [r11 + 0x3228]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x14001690e
cmp dword [r9], eax
je 0x140016917
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x1400168e5
mov rcx, rbx
pop rbx
jmp fcn.140016780
test r9, r9
je 0x14001690e
mov rax, r9
pop rbx
ret
Function at 0x140019d70
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140019fae
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x14004efa0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x140019f76
mov rcx, rbp
call fcn.1400193b0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140019e41
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140019e31
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140019e29
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x140019e2c
mov rdx, rcx
test rdx, rdx
jne 0x140019e00
cmp r8, r10
je 0x140019e41
cmp dword [r8], r9d
jne 0x140019e41
mov rcx, qword [r8 + 8]
jmp 0x140019e43
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x140019ed7
cmp qword [rcx + 0x18], 0
jne 0x140019ecc
mov qword [rcx + 0x18], rbx
jmp 0x140019ed7
cmp qword [rcx + 0x20], 0
jne 0x140019ed7
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140019f0c
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140019f00
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.1400028d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x140019f68
cmp r9b, 0x23
jne 0x140019f4b
cmp byte [r8], r9b
jne 0x140019f4b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140019f38
not ecx
call fcn.14000a460
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x140019dc0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004b290
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140047bc0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13e0
call fcn.14004c470
sub rsp, rax
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13c4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x44], eax
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, 0x270
jb 0x140047c00
mov dword [rsp + 0x40], 0x270
mov ebx, 0x1f4
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x40]
call fcn.14004b0f0
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x319
ja 0x140047c6a
nop
lea rcx, [rsp + 0x40]
call fcn.14004b0f0
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x31a
jb 0x140047c50
shr rax, 0x20
lea rcx, [rsp + 0x40]
add eax, 0x80000000
xor eax, 0x80000000
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.14004b0f0
mov ecx, eax
imul rax, rcx, 0x781
cmp eax, 0x4ea
ja 0x140047cba
nop dword [rax]
lea rcx, [rsp + 0x40]
call fcn.14004b0f0
mov ecx, eax
imul rax, rcx, 0x781
cmp eax, 0x4eb
jb 0x140047ca0
mov rdx, qword [0x140081c38]
shr rax, 0x20
add eax, 0x80000000
movss dword [rsp + 0x28], xmm1
xor eax, 0x80000000
cmp rdx, qword [0x140081c40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
je 0x140047d02
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x140081c38], 8
movsd qword [rsp + 0x24], xmm0
jmp 0x140047d13
lea r8, [rsp + 0x24]
lea rcx, [0x140081c30]
call fcn.14004ad20
lea rcx, [rsp + 0x40]
call fcn.14004b0f0
sar eax, 0x1f
lea rcx, [rsp + 0x40]
and eax, 2
dec eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.14004b0f0
mov rdx, qword [0x140081c50]
sar eax, 0x1f
and eax, 2
dec eax
movss dword [rsp + 0x30], xmm1
cmp rdx, qword [0x140081c58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
je 0x140047d78
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x140081c50], 8
movsd qword [rsp + 0x2c], xmm0
jmp 0x140047d89
lea r8, [rsp + 0x2c]
lea rcx, [0x140081c48]
call fcn.14004ad20
mov rdx, qword [0x140081c70]
cmp rdx, qword [0x140081c78]
je 0x140047da9
mov dword [rdx], 3
add qword [0x140081c70], 4
jmp 0x140047db3
lea r8, [rsp + 0x20]
call fcn.14004aec0
sub rbx, 1
jne 0x140047c34
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.14004b290
add rsp, 0x13e0
pop rbx
ret
Function at 0x140047de0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
test eax, eax
jne 0x140047e34
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.Would_delete_registry_key:
call fcn.14004a680
mov rcx, rax
mov rdx, rbx
call fcn.14004a680
lea rdx, [0x14004a860]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Failed_to_delete_registry_key:
call fcn.14004a680
mov rcx, rax
mov rdx, rbx
call fcn.14004a680
mov rcx, rax
lea rdx, str.._Error:
call fcn.14004a680
mov edx, edi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x14004a860]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x140047e90
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov eax, 0x614
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x28], 3
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
test eax, eax
jne 0x140047f1f
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.Would_delete_directory:
call fcn.14004a680
mov rcx, rax
mov rdx, rbx
call fcn.14004a680
lea rdx, [0x14004a860]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov al, 1
jmp 0x140047f69
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Failed_to_delete_directory:
call fcn.14004a680
mov rcx, rax
mov rdx, rbx
call fcn.14004a680
mov rcx, rax
lea rdx, str.._Error:
call fcn.14004a680
mov edx, edi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x14004a860]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004b290
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140047f90
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140047fd9
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.Would_delete_file:
call fcn.14004a680
mov rcx, rax
mov rdx, rbx
call fcn.14004a680
lea rdx, [0x14004a860]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Failed_to_delete_file:
call fcn.14004a680
mov rcx, rax
mov rdx, rbx
call fcn.14004a680
mov rcx, rax
lea rdx, str.._Error:
call fcn.14004a680
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x14004a860]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
add rsp, 0x20
pop rbx
ret