joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401003e0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x20], 0
test rdx, rdx
je 0x14010048d
mov rdi, rdx
lea rbx, [rsp + 0x40]
mov qword [rbx], 0xffffffffffffffff
mov r15, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r15
mov r14, rax
call r15
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 0x400
mov rcx, rax
mov rdx, rdi
mov r8, r14
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rbx, qword [rbx]
cmp qword [rsi], rbx
je 0x14010048d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1401004a9
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140100485
mov qword [rsi], rbx
call fcn.1401ee3c0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14024c3c0
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1401ee3c0
mov rcx, qword [rsi]
call fcn.140201a20
mov qword [rsi], 0
jmp 0x140100473

Function at 0x1401004c0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x140100507
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140100521
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1401004ff
mov qword [rsi], rdi
call fcn.1401ee3c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x140100537
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1401ee3c0
mov rcx, qword [rsi]
call fcn.140201a20
mov qword [rsi], 0
jmp 0x1401004ed
int3

Function at 0x140100570
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14010059a
call fcn.1401ee3c0
cmp qword [rsi], r14
je 0x1401005c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140100604
cmp r15, 2
jb 0x1401005c1
mov qword [rsi], r14
call fcn.1401ee3c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1401005ee
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1401ee3c0
mov rcx, qword [rdi]
call fcn.140201a20
mov qword [rdi], 0
jmp 0x1401005df
call fcn.1401ee3c0
mov rcx, qword [rsi]
call fcn.140201a20
mov qword [rsi], 0
jmp 0x1401005b3
Function at 0x140102510
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r12d, dword [rsp + 0xc0]
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x58], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.14024abdc
mov rsi, rax
mov rcx, r15
btr rcx, 0x3f
mov rax, qword [0x140433360]
and rax, rcx
cmp rax, qword [0x140433348]
je 0x1401025e0
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r12d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x140102a20]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x1401025e7
test r14, r14
je 0x14010263c
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14024c3c0
mov eax, ebx
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1401f0350
jmp 0x140102575
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x140102600
mov ebp, eax
cmp eax, 0x5af
je 0x140102600
cmp ebp, 0xe
jne 0x14010264a
mov rcx, rbx
call fcn.140317a00
test rsi, rsi
je 0x1401025bc
movabs rcx, 0x7fffffffffffffff
and rcx, qword [rsi]
mov rax, qword [0x140433360]
and rax, rcx
cmp rax, qword [0x140433348]
jne 0x140102632
call fcn.1401f04a0
mov rcx, rsi
call fcn.14024ac18
jmp 0x1401025bc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1401025bc
mov eax, dword [0x140448560]
mov ecx, dword [0x140441a2c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401026c2
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov edx, ebp
call fcn.1400f5fa0
movzx eax, byte [rbx + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rbx]
cmovns rax, rbx
cmovs rcx, qword [rbx + 8]
lea rdx, [rsp + 0x48]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov rcx, qword [0x140448558]
call fcn.140209cf0
cmp byte [rbx + 0x17], 0
jns 0x140102608
mov rcx, qword [rsp + 0x30]
call fcn.14024ac18
jmp 0x140102608
lea rcx, [0x140448560]
call fcn.14024ad30
cmp dword [0x140448560], 0xffffffff
jne 0x14010266b
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.14013c010
mov qword [0x140448558], rax
lea rcx, [0x140448560]
call fcn.14024adc8
jmp 0x14010266b

Function at 0x140102f40
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
add rsp, 0x38
ret
Function at 0x140102ff0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x98], rax
xor ebp, ebp
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
jne 0x140103063
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14024c3c0
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x90]
mov qword [rax], 0
mov r9d, esi
or r9d, 8
mov qword [rsp + 0x20], rax
xor ebp, ebp
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
je 0x140103035
mov ebp, eax
test eax, eax
jne 0x140103035
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x70]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x1403be790]
movaps xmmword [r14], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.1402884c0
movzx eax, byte [r14 + 0x17]
test al, al
jns 0x1401030d3
mov rax, qword [rsp + 0x78]
jmp 0x1401030d6
and eax, 0x7f
test rax, rax
je 0x1401030ef
lea rcx, [rsp + 0x70]
call fcn.1400d1d50
cmp word [rax], 0x5c
jne 0x140103217
movzx r15d, byte [rsp + 0x87]
test r15b, r15b
jns 0x140103104
mov r15, qword [rsp + 0x78]
jmp 0x140103108
and r15d, 0x7f
xorps xmm6, xmm6
lea r12, [rsp + 0x50]
movaps xmmword [r12], xmm6
mov qword [r12 + 0x10], 0
lea r13, [rsp + 0x4c]
mov rbp, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x4c], 0x104
mov edx, 0x104
mov rcx, r12
call fcn.140101c90
mov rcx, qword [rsp + 0x90]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
xor edx, edx
mov r8, rax
mov r9, r13
call rbp
test eax, eax
jne 0x1401031c7
mov edx, dword [rsp + 0x4c]
mov rcx, r12
xor r8d, r8d
call fcn.1401eb900
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401eb900
movzx r8d, byte [rsp + 0x67]
test r8b, r8b
jns 0x140103193
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
jmp 0x14010319a
and r8d, 0x7f
mov rdx, r12
mov rcx, r14
call fcn.1400d3eb0
cmp byte [rsp + 0x87], 0
mov rdx, r14
jns 0x1401031b4
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
mov r8d, esi
call fcn.140102ff0
test eax, eax
je 0x14010312a
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebp, eax
cmp byte [rsp + 0x67], 0
jns 0x1401031fa
mov rcx, qword [rsp + 0x50]
call fcn.14024ac18
cmp byte [rsp + 0x87], 0
jns 0x140103035
mov rcx, qword [rsp + 0x70]
call fcn.14024ac18
jmp 0x140103035
lea rcx, [rsp + 0x70]
mov dx, 0x5c
call fcn.1401eb610
jmp 0x1401030ef
Function at 0x140103240
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401032c8
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1401032b2
cmp dword [rsp + 0x38], 4
jne 0x1401032b2
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14024c3c0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x1401032b2

Function at 0x1401032d0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.14024c360
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.14024e4f0
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140103393
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140103397
lea rcx, [rsp + 0x840]
call fcn.140272ba4
lea rdx, [rsp + 0x840]
mov rcx, rsi
mov r8, rax
call fcn.1400d3b00
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14024c3c0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140103374
cmp eax, 2
jne 0x1401033f3
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.14024e4f0
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x1401033ec
lea rcx, [rsp + 0x40]
call fcn.140272ba4
lea rdx, [rsp + 0x40]
jmp 0x140103367
mov edi, 0xea
jmp 0x140103374
mov edi, 0x3f4
jmp 0x140103374

Function at 0x140103400
Capabilities:
Set registry value

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x34]
mov dword [rax], r8d
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14024c3c0
mov eax, esi
add rsp, 0x40
pop rsi
ret

Function at 0x140103460
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.140272ba4
add eax, eax
add eax, 2
mov rcx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140103630
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rcx], 0
je 0x14010371f
cmp dword [rsi + 8], 0xffffffff
je 0x14010371f
lea rdi, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x140103777
mov ebp, dword [rsi + 0x20]
dec ebp
lea rbx, [rsp + 0x44]
mov dword [rbx], ebp
mov eax, dword [rsi + 0x30]
mov r12, qword [rsi + 0x28]
sub eax, r12d
and eax, 0xfffffffe
add eax, 0xfffffffe
lea r14, [rsi + 0x40]
mov dword [rsi + 0x40], eax
lea r15, [rsi + 0x44]
mov edx, ebp
mov rcx, rdi
call fcn.140101c90
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0
mov r8, rax
mov r9, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
je 0x140103781
test eax, eax
jne 0x14010371f
mov eax, dword [rsi + 0x40]
inc rax
shr rax, 1
mov rcx, qword [rsi + 0x28]
mov rdx, qword [rsi + 0x30]
sub rdx, rcx
sar rdx, 1
cmp rdx, rax
jbe 0x14010374b
mov word [rcx + rax*2], 0
mov sil, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14024c3c0
mov eax, esi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x14010372c
mov rax, qword [rax]
mov word [rax], 0
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x30], rax
je 0x14010374b
mov word [rax], 0
mov dword [rsi + 0x40], 0
xor esi, esi
jmp 0x140103701
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str.__n___size__
mov r8d, 0x5aa
call fcn.14028c680
mov ebp, 0xa
jmp 0x140103677
mov edx, dword [rsi + 0x40]
inc rdx
shr rdx, 1
mov r12, qword [rsi + 0x28]
mov rax, qword [rsi + 0x30]
sub rax, r12
mov rcx, rax
sar rcx, 1
sub rdx, rcx
jb 0x1401037c2
lea rcx, [rsi + 0x28]
lea r8, [rsp + 0x42]
mov word [r8], 0
inc rdx
call fcn.140103ae0
mov r12, qword [rsi + 0x28]
mov rax, qword [rsi + 0x30]
sub rax, r12
and eax, 0xfffffffe
add eax, 0xfffffffe
mov dword [rsi + 0x40], eax
lea rbx, [rsp + 0x44]
cmp dword [rbx], ebp
mov edx, 0x4000
cmovne edx, ebp
mov dword [rbx], edx
mov rcx, rdi
call fcn.140101c90
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0
mov r8, rax
mov r9, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x1401036d8

Function at 0x140103890
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [rcx + 8]
cmp eax, 0xffffffff
je 0x14010389d
dec eax
mov dword [rcx + 8], eax
jmp fcn.140103630
Function at 0x1401038d0
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x70], rax
or r9d, 0x20019
mov qword [rsp + 0x20], rcx
mov rcx, rdx
mov rdx, r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401039ae
lea rdi, [rsp + 0x60]
mov dword [rdi], 0
mov rcx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x58], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1401039a5
mov edx, dword [rsp + 0x60]
sub edx, 1
setb al
mov dword [rsi + 8], edx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1401039b5
test al, al
jne 0x1401039b5
lea r8, [rsi + 0xc]
lea r9, [rsp + 0x6c]
mov dword [r9], 0x104
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x38], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1401039bb
jmp 0x1401039b5
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsi], 0
mov word [rsi + 0xc], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14024c3c0
nop
add rsp, 0x78
pop rdi
pop rsi
ret

Function at 0x140103a50
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, dword [rcx + 8]
cmp edx, 0xffffffff
je 0x140103ac6
sub edx, 1
setb al
mov dword [rsi + 8], edx
mov rcx, qword [rsi]
test rcx, rcx
je 0x140103ac6
test al, al
jne 0x140103ac6
lea r8, [rsi + 0xc]
lea r9, [rsp + 0x54]
mov dword [r9], 0x104
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r10, [rsp + 0x48]
mov qword [r10], rax
mov qword [rsp + 0x38], r10
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140103acc
mov word [rsi + 0xc], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14024c3c0
nop
add rsp, 0x60
pop rsi
ret
Function at 0x140107da0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, str.P_r__
mov qword [rcx], rax
add rcx, 8
call fcn.1401e5740
lea rcx, [rsi + 0x10]
call fcn.1401e5740
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.1401e5740
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x1403dcdc8]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.140157330
lea rcx, [rsi + 0x2e0]
xor edx, edx
call fcn.1400f9a00
lea rcx, [rsi + 0x2f0]
xor edx, edx
call fcn.1400f9a00
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.1400f9a00
movups xmmword [rsi + 0x310], xmm6
movups xmmword [rsi + 0x320], xmm6
mov dword [rsi + 0x330], ebp
movups xmmword [rsi + 0x338], xmm6
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
mov byte [rsi + 0x368], bl
mov dword [rsi + 0x36c], edi
mov byte [rsi + 0x370], bl
movups xmmword [rsi + 0x378], xmm6
mov qword [rsi + 0x388], rbx
call fcn.140098280
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [reloc.OLEAUT32.dll_SysReAllocString], edx
je 0x140107fc5
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.14021b3a0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x140107fe9
call fcn.140106a20
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140106ad0
mov qword [0x1404489f8], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [reloc.OLEAUT32.dll_VariantClear], edx
jne 0x140107ffc
test dword [0x1403dcdd4], edx
jne 0x14010800a
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.140157740
jmp 0x140107f86
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1402ceac0.0]
jmp 0x140107f93
cmp rax, 0x40
mov eax, 0x100
jmp 0x140107f7d
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x140107fde
Function at 0x1401096a0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, 2
cmp rdx, 1
jne 0x1401096d0
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x1401096de
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400ef550
lea rax, [rdx - 1]
test rdx, rax
jne 0x1401096f4
mov rdi, rdx
jmp 0x1401096b5
jae 0x1401097e1
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x140109701
cvtsi2ss xmm0, rax
jmp 0x140109716
mov rcx, rdx
call fcn.1401e8d80
mov rdi, rax
jmp 0x1401096b5
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.14028669c
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x1403a7738]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x1401097c9
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbx
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x1401097c9
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x1401097d1
mov rcx, rdx
call fcn.1401e8d80
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x1401096be
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x140113be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r8d, edx
mov rsi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp edx, 0x921
jg 0x140113c23
cmp r8d, 0x692
je 0x140113c3e
cmp r8d, 0x7da
jne 0x140113c63
lea rdi, [0x1403ceec0]
jmp 0x140113c4e
cmp r8d, 0x922
je 0x140113c47
cmp r8d, 0xdf0
jne 0x140113c63
lea rdi, [0x1403ceee0]
jmp 0x140113c4e
lea rdi, [0x1403ceeb0]
jmp 0x140113c4e
lea rdi, [0x1403ceed0]
call fcn.14010a750
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x10]
movsxd rax, dword [rax + 8]
mov r8d, dword [rdi + rax*4]
mov rcx, qword [0x140448bd0]
test rcx, rcx
je 0x140113c9b
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov rdx, rsi
call qword [case.0x1402ceac0.0]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14024c3c0
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
movsxd r15, r8d
call fcn.1402d7b50
add r15, qword [rax + 0x30]
mov rax, r15
shr rax, 0x20
jne 0x140113da6
mov rbx, qword [0x140441a78]
mov eax, r15d
shr eax, 4
inc eax
movzx edx, ax
mov r8d, 6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140113c7f
mov r14, rax
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140113c7f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140113c7f
mov rdi, rax
mov rcx, rbx
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setne cl
and r15d, 0xf
je 0x140113d53
test eax, eax
je 0x140113d53
mov ecx, eax
mov rax, rdi
add rax, rcx
dec r15d
movzx ecx, word [rdi]
lea rdi, [rdi + rcx*2]
add rdi, 2
cmp rdi, rax
setb cl
add r15d, 0xffffffff
jae 0x140113d53
cmp rdi, rax
jb 0x140113d37
test cl, cl
je 0x140113c7f
movzx r8d, word [rdi]
test r8, r8
je 0x140113c7f
test rdi, rdi
je 0x140113c7f
add rdi, 2
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.1400acc70
cmp byte [rsi + 0x17], 0
jns 0x140113d90
mov rcx, qword [rsi]
call fcn.14024ac18
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
jmp 0x140113c7f
int3