joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180004a7c
Capabilities:
Parse pe header

Disassembly:
push rdx
xor rdx, rdx
test rdx, rdx
jne 0x180004c39
inc rdx
test rdx, rdx
je 0x1800063ea
pop rdx
push rdx
xor rdx, rdx
test rdx, rdx
jne 0x180004c88
inc rdx
test rdx, rdx
je 0x180006915
pop rdx
push rbx
push rbp
push rdi
push rsi
push r12
push r13
push rax
xor rax, rax
inc rax
test rax, rax
je 0x180006c04
test byte [rcx], ah
add byte [rax], al
pop rax
push rcx
xor rcx, rcx
test rcx, rcx
jne 0x1800064ad
inc rcx
test rcx, rcx
je 0x180006a2e
pop rcx
push r14
push r15
sub rsp, 8
mov rbp, rsp
cmp rdx, 1
jne 0x180006c55
mov r13, rdx
sub rsp, 0x20
push rcx
pop rbx
xor rax, rax
push rdx
xor rdx, rdx
test rdx, rdx
jne 0x180006855
inc rdx
test rdx, rdx
je 0x180004bc2
pop rdx
push rbp
pop rcx
mov r15, rsp
sub rcx, r15
mov rdi, r15
rep stosb byte [rdi], al
push rbx
pop rcx
rdrand rax
cmp al, 0x61
jle 0x180004ae5
cmp al, 0x63
jge 0x180004ae5
sub rax, 2
and rax, 0xff
mov r11, qword gs:[rax]
mov rax, 0x15
add rax, 3
mov rbx, qword [r11 + rax]
mov rax, 0x1f
add rax, 1
mov rbx, qword [rbx + rax]
push rdx
xor rdx, rdx
test rdx, rdx
jne 0x180004bc2
inc rdx
test rdx, rdx
je 0x180006319
pop rdx
mov r12, rbx
add rsp, 0x20
mov qword [r14 + 0x400], rax
mov al, 0xf
add al, 0x39
mov byte [r14], al
mov al, 0x1b
add al, 0x4a
mov byte [r14 + 1], al
mov al, 0x46
add al, 0x1b
mov byte [r14 + 2], al
mov al, 0x24
add al, 0x4c
mov byte [r14 + 3], al
mov al, 0xd
add al, 0x48
mov byte [r14 + 4], al
push rdx
xor rdx, rdx
test rdx, rdx
jne 0x180004c39
inc rdx
test rdx, rdx
je 0x180006c4a
pop rdx
mov al, 0x26
add al, 0x48
mov byte [r14 + 5], al
mov al, 0x68
add al, 4
mov byte [r14 + 6], al
mov al, 0x36
add al, 0x39
mov byte [r14 + 7], al
mov al, 0x5f
add al, 4
mov byte [r14 + 8], al
mov al, 0xc
add al, 0x5f
mov byte [r14 + 9], al
mov byte [r14 + 0xa], 0
mov rcx, r15
mov rdx, r14
sub rsp, 0x20
push rax
xor rax, rax
inc rax
test rax, rax
je 0x1800063ce
pop rax
push rcx
xor rcx, rcx
test rcx, rcx
jne 0x180004c94
inc rcx
test rcx, rcx
Function at 0x180004a9c
Capabilities:
Parse pe header

Disassembly:
push rdx
xor rdx, rdx
test rdx, rdx
jne 0x180004c39
inc rdx
test rdx, rdx
je 0x1800063ea
pop rdx
push rdx
xor rdx, rdx
test rdx, rdx
jne 0x180004c88
inc rdx
test rdx, rdx
je 0x180006915
pop rdx
push rbx
push rbp
push rdi
push rsi
push r12
push r13
push rax
xor rax, rax
inc rax
test rax, rax
je 0x180006c04
test byte [rcx], ah
add byte [rax], al
pop rax
push rcx
xor rcx, rcx
test rcx, rcx
jne 0x1800064ad
inc rcx
test rcx, rcx
je 0x180006a2e
pop rcx
push r14
push r15
sub rsp, 8
mov rbp, rsp
cmp rdx, 1
jne 0x180006c55
mov r13, rdx
sub rsp, 0x20
push rcx
pop rbx
xor rax, rax
push rdx
xor rdx, rdx
test rdx, rdx
jne 0x180006855
inc rdx
test rdx, rdx
je 0x180004bc2
pop rdx
push rbp
pop rcx
mov r15, rsp
sub rcx, r15
mov rdi, r15
rep stosb byte [rdi], al
push rbx
pop rcx
rdrand rax
cmp al, 0x61
jle 0x180004ae5
cmp al, 0x63
jge 0x180004ae5
sub rax, 2
and rax, 0xff
mov r11, qword gs:[rax]
mov rax, 0x15
add rax, 3
mov rbx, qword [r11 + rax]
mov rax, 0x1f
add rax, 1
mov rbx, qword [rbx + rax]
push rdx
xor rdx, rdx
test rdx, rdx
jne 0x180004bc2
inc rdx
test rdx, rdx
je 0x180006319
pop rdx
mov r12, rbx
add rsp, 0x20
mov qword [r14 + 0x400], rax
mov al, 0xf
add al, 0x39
mov byte [r14], al
mov al, 0x1b
add al, 0x4a
mov byte [r14 + 1], al
mov al, 0x46
add al, 0x1b
mov byte [r14 + 2], al
mov al, 0x24
add al, 0x4c
mov byte [r14 + 3], al
mov al, 0xd
add al, 0x48
mov byte [r14 + 4], al
push rdx
xor rdx, rdx
test rdx, rdx
jne 0x180004c39
inc rdx
test rdx, rdx
je 0x180006c4a
pop rdx
mov al, 0x26
add al, 0x48
mov byte [r14 + 5], al
mov al, 0x68
add al, 4
mov byte [r14 + 6], al
mov al, 0x36
add al, 0x39
mov byte [r14 + 7], al
mov al, 0x5f
add al, 4
mov byte [r14 + 8], al
mov al, 0xc
add al, 0x5f
mov byte [r14 + 9], al
mov byte [r14 + 0xa], 0
mov rcx, r15
mov rdx, r14
sub rsp, 0x20
push rax
xor rax, rax
inc rax
test rax, rax
je 0x1800063ce
pop rax
push rcx
xor rcx, rcx
test rcx, rcx
jne 0x180004c94
inc rcx
test rcx, rcx

Function at 0x180004b58
Capabilities:
Parse pe header

Disassembly:
xor ecx, ecx
add rsp, 0x20
mov r15, rax
sub rsp, 0x20
lea rax, [0x180005ef8]
push rax
push rdx
xor rdx, rdx
test rdx, rdx
invalid
invalid

Function at 0x180004b74
Capabilities:
Parse pe header

Disassembly:
mov r15, 0x18
add r15, 0x33
cmp byte [rdx + 0x28], r15b
je 0x180004b9b
mov r15, 0x36
add r15, 0x35

Function at 0x180004b90
Capabilities:
Parse pe header

Disassembly:
cmp byte [rdx + 0x28], r15b
je 0x180004b9b
jmp 0x180004c88

Function at 0x180004c00
Capabilities:
Parse pe header

Disassembly:
xor rdx, rdx
test rdx, rdx
jne 0x18000617a
inc rdx
test rdx, rdx
je 0x180004c88
pop rdx
mov r15, 0x25
and eax, 0x49000000
add edi, 0x27
cmp byte [rdx + 0x3c], r15b
je 0x180004c39
mov r15, 0x56
add r15, 0x16
cmp byte [rdx + 0x3c], r15b
je 0x180004c39
jmp 0x180004c88
Function at 0x180004c40
Capabilities:
Parse pe header

Disassembly:
add r15, 0x25
cmp byte [rdx + 0x3e], r15b
je 0x180004c5d
mov r15, 0x1e
add r15, 0x4e
cmp byte [rdx + 0x3e], r15b
je 0x180004c5d
jmp 0x180004c88
mov r15, 7
add r15, 0x19
mov rbx, qword [rbx + r15]
push rdx
xor rdx, rdx
test rdx, rdx
jne 0x180005db7
inc rdx
test rdx, rdx
je 0x180004bff
pop rdx
jmp 0x180004c94

Function at 0x180004cb8
Capabilities:
Parse pe header

Disassembly:
xor rcx, rcx
test rcx, rcx
jne 0x180004bc2
inc rcx
test rcx, rcx
je 0x1800063ea
pop rcx
mov rdx, r8
add rdx, rbx
mov r10, 0x47
add r10, 0x41
push rdx
xor rdx, rdx
test rdx, rdx
sal byte [rbp - 0x63], cl
inc rdx
test rdx, rdx
je 0x180004bff
pop rdx
mov r8d, dword [rdx + r10]

Function at 0x180004ce8
Capabilities:
Parse pe header

Disassembly:
xor rcx, rcx
test rcx, rcx
jne 0x180004bc2
inc rcx
test rcx, rcx
je 0x1800063ea
pop rcx
mov rdx, r8
add rdx, rbx
mov r10, 0x47
add r10, 0x41
push rdx
xor rdx, rdx
test rdx, rdx
sal byte [rbp - 0x63], cl
inc rdx
test rdx, rdx
je 0x180004bff
pop rdx
mov r8d, dword [rdx + r10]

Function at 0x180004cfc
Capabilities:
Parse pe header

Disassembly:
add r8, rbx
xor rsi, rsi
mov r10, 5
add r10, 0x1b
mov esi, dword [r8 + r10]
add rsi, rbx
xor rcx, rcx
movabs r9, 0x98caf88450c4a0
movabs rax, 0x40caa479cc23a0a7
add r9, rax
Function at 0x180004e6c
Capabilities:
Parse pe header

Disassembly:
push rsi
push rax
pop rax
push r15
mov rbp, rsp
sub rsp, 8
sub rsp, 8
sub rsp, 0x108
push rcx
pop rbx
xor rax, rax
push rbp
pop rcx
mov r15, rsp
sub rcx, r15

Function at 0x180004e90
Capabilities:
Parse pe header

Disassembly:
mov rdi, r15
rep stosb byte [rdi], al
push rbx
pop rcx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x88], rdx
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x78], r9
mov r12, r10
mov r13, r11
mov qword [rbp - 0x38], r12
sub r13, 0x10
mov qword [rbp - 0x68], r13

Function at 0x180004ec4
Capabilities:
Parse pe header

Disassembly:
movabs rax, 0x5300450040
inc rax
mov qword [rbp - 0x10], rax
sub rsp, 0x100
mov rdi, rsp
add rdi, 0x10
mov al, 0x4d
add al, 9
mov byte [rdi], al
mov al, 0x12
add al, 0x57
mov byte [rdi + 1], al
mov al, 0x3e
add al, 0x34
mov byte [rdi + 2], al
mov al, 0x26
add al, 0x4e
mov byte [rdi + 3], al
mov al, 4
add al, 0x71
mov byte [rdi + 4], al
mov al, 0x44
add al, 0x1d
mov byte [rdi + 5], al
mov al, 0x28
add al, 0x44
mov byte [rdi + 6], al
mov al, 0x38
add al, 9
mov byte [rdi + 7], al
mov al, 0x1b
add al, 0x51
mov byte [rdi + 8], al
mov al, 0x1a
add al, 0x52
mov byte [rdi + 9], al
mov al, 0x66
add al, 9
mov byte [rdi + 0xa], al
mov al, 0x62
add al, 1
mov byte [rdi + 0xb], al
mov byte [rdi + 0xc], 0
mov rcx, qword [rbp - 0x80]
mov rdx, rdi
sub rsp, 0x20
mov rax, qword [rbp - 0x88]
call rax
add rsp, 0x20
mov qword [rbp - 0xd0], rax
add rsp, 0x100
mov rcx, 0
mov rdx, 0xf4240
mov r8, 0x3000
mov r9, 4
sub rsp, 0x20
mov rax, qword [rbp - 0xd0]
call rax
add rsp, 0x20
mov r14, rax
mov rdi, r14
add rdi, 0x2710
mov al, 0x3c
add al, 0x13
mov byte [rdi], al
mov byte [rdi + 1], 0
mov al, 0xd
add al, 0x55
mov byte [rdi + 2], al
mov byte [rdi + 3], 0
mov al, 0xf
add al, 0x5b
mov byte [rdi + 4], al
mov byte [rdi + 5], 0
mov al, 0x27
add al, 0x3e
mov byte [rdi + 6], al
mov byte [rdi + 7], 0
mov al, 0x24
add al, 0x3f
mov byte [rdi + 8], al
mov byte [rdi + 9], 0
mov al, 0x19
add al, 0x5b
mov byte [rdi + 0xa], al
mov byte [rdi + 0xb], 0
mov al, 0x1e
add al, 0x2e
mov byte [rdi + 0xc], al
mov byte [rdi + 0xd], 0
mov al, 0x16
add al, 0x4f
mov byte [rdi + 0xe], al
mov byte [rdi + 0xf], 0
mov al, 0x1e
add al, 0x50
mov byte [rdi + 0x10], al
mov byte [rdi + 0x11], 0
mov al, 0x31
add al, 0x36
mov byte [rdi + 0x12], al
mov byte [rdi + 0x13], 0
mov al, 0x10
add al, 0x64
mov byte [rdi + 0x14], al
mov byte [rdi + 0x15], 0
mov al, 0x63
add al, 5
invalid
invalid
Function at 0x140002b20
Capabilities:
Change the wallpaper

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x140002b2e
mov rcx, qword [rcx]
xor edx, edx
mov r8, rcx
mov r9d, 3
lea ecx, [rdx + 0x14]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x140003460
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.0x140003481
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 0x1400034ae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400034b0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140003509
test ecx, ecx
jle 0x1400034e9
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 0x140003509
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140003509
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
fmulp st(6)
invalid
Function at 0x140003530
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140003552
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140003561
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140003584
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003586
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400035c2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000365e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400035fd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000363e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000365e
cmp rbx, rax
ja 0x140003610
test rbx, rbx
je 0x14000365e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
std
invalid
Function at 0x140003ac0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140003aed
xor eax, eax
jmp 0x140003c59
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003b27
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140003b27
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140003c59
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140003c4c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003b6a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140003b95
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003c51
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
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_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003c04
sub eax, 1
je 0x140003c04
cmp eax, 2
jne 0x140003c4c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003c51
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140003c32
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140003c4c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140003c51
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400062f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140004380
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004453
cmp byte [rcx + 0x71], 0
je 0x140004453
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000444f
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 0x140004414
sub eax, 1
je 0x140004418
cmp eax, 2
jne 0x14000444f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400062f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004446
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000444f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400043fc
xor al, al
jmp 0x1400043fc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400062f0
add rsp, 0x60
pop rbx
ret
Function at 0x140006100
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 0x140006161
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 0x140006120
mov ecx, dword [r9]
jmp 0x14000624b
cmp ecx, 0x4e0
jb 0x14000624b
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 0x140006180
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 0x1400061d0
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 0x140006e30
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006e7a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006e7a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006e7a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006e7a
cmp dword [rcx + 0x84], 0xe
jbe 0x140006e7a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006e7c
xor al, al
add rsp, 0x28
ret
Function at 0x14000f540
Capabilities:
Create directory
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400720d0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor esi, esi
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x20], esi
xor edx, edx
mov r8d, 0x208
call fcn.14002c2a0
mov r8d, 0x104
lea rdx, [rsp + 0x50]
lea rcx, [0x14004f888]
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
cmp eax, 0x104
jbe 0x14000f5a0
xor al, al
jmp 0x14000f6c6
test rdi, rdi
mov qword [rsp + 0x288], rbx
lea rcx, [rdi + 0x10]
cmove rcx, rsi
lea rdx, [rsp + 0x50]
call fcn.14000dd90
mov rcx, rax
lea rdx, str.Intel
call fcn.14000dd90
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.140010d10
cmp qword [rax + 0x18], 8
jb 0x14000f5e3
mov rax, qword [rax]
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
test eax, eax
jne 0x14000f603
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
je 0x14000f603
mov bl, 1
jmp 0x14000f605
xor bl, bl
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x14000f622
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
inc r8
call fcn.140006870
test bl, bl
jne 0x14000f697
test rdi, rdi
lea rcx, [rdi + 0x10]
lea rdx, str.Logs
cmove rcx, rsi
call fcn.14000dd90
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.140010d10
cmp qword [rax + 0x18], 8
jb 0x14000f654
mov rax, qword [rax]
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
test eax, eax
jne 0x14000f674
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
je 0x14000f674
mov bl, 1
jmp 0x14000f676
xor bl, bl
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x14000f693
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
inc r8
call fcn.140006870
test bl, bl
je 0x14000f69b
xor al, al
jmp 0x14000f6be
test rdi, rdi
lea rcx, [rdi + 0x10]
lea rdx, str.IntelCPHS.log
cmove rcx, rsi
call fcn.14000dd90
xor edx, edx
mov rcx, rax
call fcn.1400083e0
mov al, 1
mov rbx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140029210
mov rsi, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
Function at 0x140013410
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14001343e
mov r8, rdx
mov rdx, qword [rdi]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140014c50
cmp byte [0x140073f98], 0
mov qword [rsp + 0x30], rbx
jne 0x140013491
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140013481
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rbx, rax
mov qword [0x140073f90], rax
mov byte [0x140073f98], 1
jmp 0x140013498
mov rbx, qword [0x140073f90]
mov byte [0x140073f98], 1
jmp 0x140013498
mov rbx, qword [0x140073f90]
test rbx, rbx
je 0x1400134c8
mov rcx, rbx
call qword [fcn.14000cbb0]
mov r8d, dword [rdi + 8]
xor r9d, r9d
mov rcx, qword [rdi]
mov rdx, rsi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp rax
mov rcx, qword [rdi]
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x140014cc7
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140014cdb
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140014cdb
mov rcx, rax
call qword [fcn.14000cbb0]
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rsi
mov rcx, rbp
call rdi
jmp 0x140014ce0
cmp dword [rcx + 8], 0
je 0x140014cdb
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
jmp 0x140014ce0
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret