joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401b4840
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a8]
sub rsp, 0x4a8
mov rax, qword [0x144269058]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r13, r9
mov r12, r8
mov r15, rdx
mov r14, qword [rbp + 0x418]
mov rax, qword [rbp + 0x410]
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], al
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], al
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
call fcn.1401b4220
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x50]
test al, al
jne 0x1401b48db
xor bl, bl
jmp 0x1401b49d9
movups xmm0, xmmword [str.SYSTEMCurrentControlSetControlClass_]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x1403eeee0]
movaps xmmword [rbp - 0x60], xmm1
movsd xmm0, qword [0x1403eeef0]
movsd qword [rbp - 0x50], xmm0
lea r8, [rsp + 0x50]
cmp rsi, 0x10
cmovae r8, rdi
lea rcx, [rbp - 0x70]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1401b4912
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1401b4920
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1401b49b4
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.KMD_EnableInternalLargePage
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1401b49b0
cmp dword [rsp + 0x34], 4
jne 0x1401b49b0
cmp dword [rsp + 0x38], 2
sete al
jmp 0x1401b49b6
xor al, al
jmp 0x1401b49b6
mov al, 1
mov byte [r14], al
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, r13
mov r8, r12
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.1401b5020
movzx ebx, al
cmp rsi, 0x10
jb 0x1401b4a0d
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1401b4a04
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b4a71
mov rcx, rdi
call fcn.14030698c
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1401b4a45
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b4a40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b4a6b
call fcn.14030698c
movzx eax, bl
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140306aa0
add rsp, 0x4a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14030d68c
nop
call fcn.14030d68c
nop
int3
Function at 0x14031fbdc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14031fa08
Function at 0x140001da0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140001e10
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000e094]
mov rbx, rcx
test esi, esi
jle 0x140001f40
mov rax, qword [0x14000e098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001e5b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001ee5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001e40
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001f62
mov rax, qword [0x14000e098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000e098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.DLL_VirtualQuery]
test rax, rax
je 0x140001f47
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001ede
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001ef0
add dword [0x14000e094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000e098]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.DLL_VirtualProtect]
test eax, eax
jne 0x140001ede
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001e68
mov rax, qword [0x14000e098]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400024f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000e100]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rbx, qword [0x14000e0e0]
test rbx, rbx
je 0x14000254c
mov rbp, qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.DLL_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140002543
test eax, eax
jne 0x140002543
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002528
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
Function at 0x140002760
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002778
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002780
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002790
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400027dd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400027d4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400027df
add rax, 0x28
cmp rax, r9
jne 0x1400027c0
xor eax, eax
ret

Function at 0x1400027e0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002870
mov rdx, qword [0x14000a790]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000285e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000285e
cmp word [rax + 0x18], 0x20b
jne 0x14000285e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002870
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002849
add rbx, 0x28
cmp rbx, rdi
je 0x140002870
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002840
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002880
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a790]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400028a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400028a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400028a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400028fd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400028f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400028a0
add rax, 0x28
cmp rax, r9
jne 0x1400028e0
xor eax, eax
ret

Function at 0x140002900
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a790]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000291f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002928
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000291f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002940
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000a790]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002960
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002968
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002960
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400029b0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400029a7
test rcx, rcx
je 0x140002960
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002998
xor eax, eax
ret

Function at 0x1400029c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a790]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400029df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400029e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002a00
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a790]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002a20
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002a28
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002a20
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002a20
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002a74
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002a80
add rdx, 0x28
cmp rdx, r9
jne 0x140002a60
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002a90
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000a790]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002ab2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002ac0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002ab2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002ab2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002ab2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002b15
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002b28
add rdx, 0x28
cmp r10, rdx
jne 0x140002b00
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002b37
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002b47
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002b1e
test ecx, ecx
jg 0x140002b30
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140005418
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x14003a020]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rax, qword gs:[0x60]
mov rdi, rcx
mov r8d, 0x208
lea rcx, [rsp + 0x230]
mov rdx, qword [rax + 0x18]
mov rbx, qword [rdx + 0x20]
xor edx, edx
call fcn.140008df0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.140008df0
test rbx, rbx
je 0x1400017cf
xor esi, esi
nop word [rax + rax]
cmp word [rbx + 0x48], si
je 0x1400017cf
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x208
call fcn.140008df0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.140008df0
mov rax, qword [rbx + 0x50]
lea rcx, [rsp + 0x230]
mov r8d, 0x104
test rax, rax
je 0x1400016ff
movzx edx, word [rax]
test dx, dx
je 0x1400016fc
cmp r8, 1
jbe 0x1400016fc
add rax, 2
mov word [rcx], dx
add rcx, 2
dec r8
movzx edx, word [rax]
test dx, dx
jne 0x1400016e0
mov word [rcx], si
lea rcx, [rsp + 0x20]
mov edx, 0x104
test rdi, rdi
je 0x14000173f
cmp word [rdi], si
je 0x14000173c
lea rax, [rsp + 0x20]
mov r8, rdi
sub r8, rax
nop
cmp rdx, 1
jbe 0x14000173c
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], si
jne 0x140001720
mov word [rcx], si
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000ecf0
mov edx, 0x104
lea rcx, [rsp + 0x230]
call fcn.14000ecf0
movzx r10d, word [rsp + 0x20]
lea r9, [rsp + 0x230]
test r10w, r10w
je 0x14000180b
cmp word [rsp + 0x230], si
je 0x1400017c3
lea r8, [rsp + 0x20]
lea rax, [rsp + 0x230]
sub r8, rax
nop dword [rax]
nop word [rax + rax]
mov rax, r9
movzx ecx, r10w
mov rdx, rax
cmp word [rax], cx
jne 0x1400017f6
movzx ecx, word [rdx + r8 + 2]
add rax, 2
test cx, cx
jne 0x1400017a7
test r9, r9
jne 0x14000180b
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140001690
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140006810
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
test cx, cx
je 0x1400017be
add r9, 2
sub r8, 2
cmp word [r9], si
jne 0x1400017a0
jmp 0x1400017c3
mov rax, qword [rbx + 0x20]
jmp 0x1400017d1
Function at 0x140001820
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbp, rcx
add rcx, 0x88
xor esi, esi
add rcx, rax
mov r13d, edx
mov qword [rsp + 0x60], rcx
mov ebx, esi
mov r14d, 0x1631
mov r12d, dword [rcx]
add r12, rbp
mov eax, dword [r12 + 0x1c]
mov edi, dword [r12 + 0x20]
add rax, rbp
mov r15d, dword [r12 + 0x18]
add rdi, rbp
mov qword [rsp + 0x78], rax
mov eax, dword [r12 + 0x24]
add rax, rbp
mov qword [rsp + 0x70], rax
test r15d, r15d
je 0x1400018de
nop dword [rax]
mov ecx, dword [rdi]
add rcx, rbp
movzx eax, byte [rcx]
test al, al
jne 0x1400018a1
mov eax, r14d
jmp 0x1400018b1
mov edx, eax
xor edx, 0x2dc51
inc rcx
call fcn.140003e20
cmp r13d, eax
je 0x1400018c3
inc ebx
add rdi, 4
cmp ebx, r15d
jb 0x140001890
jmp 0x1400018d9
mov rcx, qword [rsp + 0x70]
mov eax, ebx
movzx ecx, word [rcx + rax*2]
mov rax, qword [rsp + 0x78]
mov esi, dword [rax + rcx*4]
add rsi, rbp
mov rcx, qword [rsp + 0x60]
cmp rsi, r12
jb 0x140001956
mov eax, dword [rcx + 4]
lea rdx, [rax + rax*4]
lea rax, [r12 + rdx*8]
test rax, rax
je 0x140001956
mov rcx, rsi
call fcn.14000cf10
mov rbx, rax
test rax, rax
je 0x14000196e
mov edx, 0x2e
mov rcx, rax
call fcn.1400085c4
mov byte [rax], 0
movzx ecx, byte [rax + 1]
test cl, cl
je 0x14000192f
mov edx, ecx
lea rcx, [rax + 2]
xor edx, 0x2dc51
call fcn.140003e20
mov r14d, eax
mov rcx, rbx
call qword [0x14003c938]
mov rcx, rbx
mov rdi, rax
call fcn.14000ca58
test rdi, rdi
je 0x14000196e
mov edx, r14d
mov rcx, rdi
call fcn.140001820
mov rsi, rax
mov rax, rsi
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
jmp 0x140001959
Function at 0x140003820
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x14003a020]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov r14, rcx
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], bl
mov edi, ebx
mov dword [rsp + 0x48], 0x690057
mov dword [rsp + 0x4c], 0x69006e
mov dword [rsp + 0x50], 0x65006e
mov dword [rsp + 0x54], 0x2e0074
mov dword [rsp + 0x58], 0x6c0064
mov dword [rsp + 0x5c], 0x6c
lea rcx, [rsp + 0x48]
call fcn.140001620
mov rsi, rax
test rax, rax
jne 0x1400038c3
mov qword [rsp + 0x50], rbx
jmp 0x140003995
mov edx, 0xc4f59a3e
mov rcx, rsi
call fcn.140001820
mov r15, rax
mov edx, 0x50f3d696
mov rcx, rsi
call fcn.140001820
mov r12, rax
mov edx, 0xcbca35ba
mov rcx, qword [0x14003c958]
call fcn.140001820
lea r9, [rsp + 0x20]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, qword [0x14003c948]
call r15
test eax, eax
je 0x14000397c
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x14000397c
lea rcx, [rdi + rax]
call fcn.1400068a0
mov rsi, rax
test rbx, rbx
je 0x140003941
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.140008740
mov rcx, rbx
call fcn.14000686c
mov r8d, dword [rsp + 0x20]
lea rcx, [rsi + rdi]
lea rdx, [rsp + 0x60]
call fcn.140008740
mov rbx, rsi
mov eax, dword [rsp + 0x20]
add rdi, rax
lea r9, [rsp + 0x20]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, qword [0x14003c948]
call r15
test eax, eax
jne 0x140003912
mov rcx, qword [0x14003c948]
call r12
mov rcx, qword [0x14003c940]
call r12
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [r14], xmm0
mov rax, r14
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.140006810
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140003bb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14003a020]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rsp + 0x30]
lea rcx, [0x140035388]
call fcn.1400015c0
xor edi, edi
mov dword [rsp + 0x40], 0x65006b
lea rcx, [rsp + 0x40]
mov word [rsp + 0x58], di
mov dword [rsp + 0x44], 0x6e0072
mov dword [rsp + 0x48], 0x6c0065
mov dword [rsp + 0x4c], 0x320033
mov dword [rsp + 0x50], 0x64002e
mov dword [rsp + 0x54], 0x6c006c
call fcn.140001620
mov qword [0x14003c958], rax
call fcn.140003d60
lea r9, [0x140003b60]
xor ecx, ecx
lea edx, [rdi + 1]
mov r8d, 0x1388
call qword [sym.imp.USER32.dll_SetTimer]
mov rbx, rax
test rax, rax
je 0x140003c9c
cmp dword [0x14003c950], 0xe
jge 0x140003c9c
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 2
mov ecx, dword [rsp + 0x28]
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x28]
add ecx, ecx
add eax, ecx
mov dword [rsp + 0x20], eax
call fcn.1400039e0
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_KillTimer]
call fcn.140002b50
xor eax, eax
jmp 0x140003ca1
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140006810
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x140003e40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
movzx edx, byte [rcx + 1]
mov dword [rsp + 0x38], 0x3713baab
call fcn.140003ea0
mov rcx, rax
call fcn.140002ef0
test edi, edi
jle 0x140003e8b
xor ecx, ecx
mov edx, edi
mov rax, rcx
lea rbx, [rbx + 1]
and eax, 3
inc rcx
movzx eax, byte [rsp + rax + 0x38]
xor byte [rbx - 1], al
sub rdx, 1
jne 0x140003e70
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001496c
Capabilities:
Parse pe header

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

Function at 0x100411cb0
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
xor al, 0x34
jl 0x100411cf9
xor al, 0x35
add dword [rbx], 0xffffffbd
mov dh, 0x7b
out 0x14, eax
Function at 0x140001e80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rbx, qword [0x140193058]
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x140001eb0
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140001ec9
add rax, 8
jmp 0x140001f6f
mov rcx, qword [0x140193058]
call fcn.140143d70
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140001ea7
je 0x140001f6d
test rsi, rsi
je 0x140001ee5
mov rdi, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
jne 0x140001eff
mov rax, qword [0x140193038]
mov edi, 1
lock xadd qword [rax], rdi
test rdi, rdi
je 0x140001fa8
mov rax, qword [0x140472688]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.14000d8f0
test rax, rax
je 0x140001f99
mov r14, rax
mov rsi, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x140001f79
dec ecx
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x140001f89
dec ecx
add r14, 8
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140001f68
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.14000d900
invalid
add byte [rax], al
mov rax, r14
jmp 0x140001f6f
xor eax, eax
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x140193058]
call fcn.140143d70
mov ecx, eax
jmp 0x140001f33
mov rcx, qword [0x140193058]
call fcn.140143d70
mov ecx, eax
jmp 0x140001f44
mov ecx, 8
mov edx, 0x10
add byte [rax], al
invalid
call fcn.14016da90
lea rax, str.regex:_thread_ID_allocation_space_exhausted
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.7_srcutilpool.rs
lea rcx, [rsp + 0x28]
call fcn.14017af40
int3

Function at 0x1400056a0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, r9
mov rbx, rcx
add r8, rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], r8
mov word [rsp + 0x48], 0
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x38]
call fcn.140006b70
movzx r9d, byte [rdi + 0x18]
mov rsi, qword [rsp + 0x60]
mov rax, qword [rdi + 8]
mov ecx, dword [rdi + 0x10]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
call sub.advapi32.dll_RegSetValueExW
mov edi, eax
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14000571d
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.14000d900
mov rcx, rdi
shl rcx, 0x20
or rcx, 2
xor eax, eax
test edi, edi
cmovne rax, rcx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400058d0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
lea rcx, [rsp + 0x38]
call fcn.1400eb0e0
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x60], 1
mov word [rsp + 0x68], 0
mov dword [rsp + 0x70], 1
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x58]
call fcn.140006b70
movzx r9d, byte [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x40]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call sub.advapi32.dll_RegSetValueExW
mov edi, eax
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x140005962
add rdx, rdx
mov r8d, 2
mov rcx, rbx
call fcn.14000d900
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14000597a
mov r8d, 1
mov rcx, rsi
call fcn.14000d900
mov rcx, rdi
shl rcx, 0x20
or rcx, 2
xor eax, eax
test edi, edi
cmovne rax, rcx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret