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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov rax, qword [0x14023ab58]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, r8
xor r13d, r13d
mov qword [r8], r13
mov r9d, 0x104
lea rdx, [rsp + 0x30]
lea rax, [rsp + 0x30]
sub rcx, rax
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x14000b3b9
movzx eax, word [rcx + rdx]
test ax, ax
je 0x14000b3b9
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x14000b397
lea rax, [rdx - 2]
test r9, r9
cmovne rax, rdx
mov word [rax], r13w
lea r8, [0x1401fd580]
lea rcx, [rsp + 0x30]
call fcn.140009594
lea r8, [rsp + 0x30]
xor edx, edx
mov ebx, 0x1f0003
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov rdi, rax
test rax, rax
setne r12b
test rax, rax
jne 0x14000b423
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14000b4f6
mov rcx, qword [rbp + 0x178]
mov edx, 0xc9
call fcn.14000b134
mov esi, eax
jmp 0x14000b4f9
mov dword [rsp + 0x24], r13d
mov dword [rsp + 0x20], r13d
lea rdx, [rsp + 0x24]
mov rcx, rdi
call fcn.14000b200
mov esi, eax
test eax, eax
jns 0x14000b459
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.14000b114
jmp 0x14000b4f9
lea r8, [0x1401fd588]
lea rcx, [rsp + 0x30]
call fcn.140009594
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov rbx, rax
test rax, rax
setne r14b
test rax, rax
jne 0x14000b49d
mov rcx, qword [rbp + 0x178]
mov edx, 0xd5
call fcn.14000b134
mov esi, eax
jmp 0x14000b4c4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000b200
mov esi, eax
test eax, eax
jns 0x14000b4d4
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xd7
call fcn.14000b114
test r14b, r14b
je 0x14000b4f9
mov rcx, rbx
call fcn.14000b190
nop
jmp 0x14000b4f9
test r14b, r14b
je 0x14000b4e2
mov rcx, rbx
call fcn.14000b190
nop
movsxd rcx, dword [rsp + 0x20]
shl rcx, 0x1f
movsxd rax, dword [rsp + 0x24]
or rax, rcx
mov qword [r15], rax
mov esi, r13d
test r12b, r12b
je 0x14000b507
mov rcx, rdi
call fcn.14000b190
nop
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1401d2140
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140016a2c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov edi, dword [0x1402343b8]
lea eax, [rdx + rdx]
and edi, 0x3fffffff
mov dword [0x1402343dc], 1
and dword [0x1402343d0], 0
lea r14, str.H__
mov esi, edx
mov dword [0x1402343e0], eax
mov rcx, qword [0x1402343c0]
lea rdx, [0x1402343c8]
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
test eax, eax
jne 0x140016abf
mov rax, qword [str.H__]
cmp rax, r14
je 0x140016abf
test byte [rax + 0x1c], 1
je 0x140016abf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.H__]
lea r8, [0x1401fdee8]
mov edx, 0x20
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000dc34
mov rcx, qword [0x1402343f0]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140016b2d
mov ebx, dword [0x1402343b8]
and ebx, 0x3fffffff
cmp ebx, edi
jb 0x140016b20
mov rcx, qword [str.H__]
cmp rcx, r14
je 0x140016b0c
test byte [rcx + 0x1c], 1
je 0x140016b0c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401fdee8]
mov edx, 0x21
call fcn.14000dc14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
inc dword [0x1402343dc]
mov edi, ebx
jmp 0x140016a70
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140016b44
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
sub rsp, 0x20
and dword [0x1402343d0], 0
xor r9d, r9d
and dword [0x1402343d4], 0
mov rbx, rdx
and dword [0x1402343d8], 0
xor r8d, r8d
and dword [0x1402343dc], 0
xor ecx, ecx
and dword [0x1402343e0], 0
lea esi, [r9 + 1]
mov edx, esi
mov dword [0x1402343c8], 0x10
mov dword [0x1402343cc], 2
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1402343f0], rax
lea rbp, str.H__
test rax, rax
jne 0x140016bf0
mov rax, qword [str.H__]
cmp rax, rbp
je 0x140016be9
test byte [rax + 0x1c], sil
je 0x140016be9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [rsi + 0x17]
mov rcx, qword [str.H__]
lea r8, [0x1401fdee8]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000dc68
xor ebx, ebx
jmp 0x140016c96
xor r9d, r9d
xor r8d, r8d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1402343e8], rax
test rax, rax
jne 0x140016c2b
mov rax, qword [str.H__]
cmp rax, rbp
je 0x140016be9
test byte [rax + 0x1c], sil
je 0x140016be9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x19
jmp 0x140016bcf
xor r8d, r8d
lea rdx, [0x1400164a0]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerExW]
mov qword [0x1402343c0], rax
test rax, rax
jne 0x140016c6c
mov rax, qword [str.H__]
cmp rax, rbp
je 0x140016be9
test byte [rax + 0x1c], sil
je 0x140016be9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x1a
jmp 0x140016bcf
call fcn.1400167cc
mov ebx, eax
call fcn.1400165d8
test eax, eax
je 0x140016c83
call fcn.1400168e4
jmp 0x140016c8a
mov edx, esi
call fcn.1400166b8
call fcn.140016604
mov edx, eax
call fcn.140016a2c
mov rax, qword [0x1402343e8]
test rax, rax
je 0x140016cb3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x1402343e8], 0
mov rax, qword [0x1402343f0]
test rax, rax
je 0x140016cd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x1402343f0], 0
test ebx, ebx
je 0x140016d4a
mov rcx, qword [0x1402343c0]
lea rdx, [0x1402343c8]
and dword [0x1402343d0], 0
and dword [0x1402343dc], 0
and dword [0x1402343e0], 0
mov dword [0x1402343cc], esi
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
test eax, eax
jne 0x140016d4a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.H__]
cmp rcx, rbp
je 0x140016d39
test byte [rcx + 0x1c], sil
je 0x140016d39
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401fdee8]
mov edx, 0x22
mov r9d, eax
call fcn.14000dc68
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x14001d528
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14023ab58]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor r14d, r14d
lea rax, [rsp + 0x60]
mov rdi, rcx
mov qword [rsp + 0x48], r14
mov rcx, qword [rcx]
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov rsi, rdx
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x14001d63b
mov ebx, r14d
test rcx, rcx
je 0x14001d5ae
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test ebx, ebx
jne 0x14001d63b
mov qword [rsp + 0x68], r14
jmp 0x14001d5dd
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14001d528
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x14001d63b
lea rax, [rsp + 0x68]
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14001d5c3
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001d629
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r14
mov rdx, rsi
mov rcx, rdi
call fcn.14001d694
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x14001d646
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1401d2140
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14001e230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x480
mov rax, qword [0x14023ab58]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r14, r9
mov rdi, r8
mov rax, rdx
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x60], rbx
xor edx, edx
lea r8d, [rbx + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001e299
call fcn.14001ca7c
mov ebx, eax
jmp 0x14001e3c3
xor r9d, r9d
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rdi, rax
test rax, rax
jne 0x14001e2bd
call fcn.14001ca7c
jmp 0x14001e3b7
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14001e2b3
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, edi
jae 0x14001e30f
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x14001e305
lea rcx, [rsp + 0x60]
call fcn.14001ca2c
nop
mov eax, 0x8007000e
jmp 0x14001e3dc
mov ecx, eax
test eax, eax
je 0x14001e346
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14001e400
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14001e346
lea rcx, [rsp + 0x60]
call fcn.14001ca50
mov rax, qword [rsp + 0x60]
jmp 0x14001e350
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x14001e367
test rax, rax
jne 0x14001e373
mov ebx, 0x8007000e
jmp 0x14001e3b9
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14001e2b3
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], bx
mov r8d, dword [rsp + 0x4c0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.14001e098
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x14001e3da
lea rcx, [rsp + 0x60]
call fcn.14001ca2c
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1401d2140
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x480
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80070057
call fcn.14001d460
int3
Function at 0x14004c038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14004c06e
mov rdx, qword [rsi]
movabs r14, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
add r8, r8
je 0x14004c0a0
movzx eax, byte [rcx + rdx]
xor r14, rax
movabs r9, 0x100000001b3
imul r14, r9
inc rcx
cmp rcx, r8
jb 0x14004c083
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14004b208
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14004c0c9
mov qword [rdi], rax
mov byte [rdi + 8], r13b
jmp 0x14004c21a
movabs rax, 0x555555555555555
cmp qword [rbp + 0x10], rax
je 0x14004c23b
lea r12, [rbp + 8]
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov ecx, 0x30
call fcn.140013038
mov rbx, rax
mov qword [rsp + 0x28], rax
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
movups xmm0, xmmword [rsi]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rax + 0x20], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14004c13b
cvtsi2ss xmm0, rcx
jmp 0x14004c150
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14004c163
cvtsi2ss xmm1, rcx
jmp 0x14004c178
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x14004c1b0
mov rcx, rbp
call fcn.14004eadc
mov r9, r14
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14004b208
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
mov r9, qword [rbp + 0x10]
mov qword [rsp + 0x28], r13
mov rdx, qword [rsp + 0x30]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rbx], rdx
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdx + 8], rbx
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r14
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x14004c1f2
mov qword [rcx + rax*8], rbx
jmp 0x14004c204
cmp r9, rdx
jne 0x14004c1fd
mov qword [rcx + rax*8], rbx
jmp 0x14004c209
cmp qword [rcx + rax*8 + 8], r8
jne 0x14004c209
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
lea rcx, [rsp + 0x20]
call fcn.14004ea0c
mov rax, rdi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.unordered_map_set_too_long
call fcn.140056c84
int3
Function at 0x1400533f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140053427
mov rdx, qword [rsi]
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
add r8, r8
je 0x140053455
movzx eax, byte [rcx + rdx]
xor r14, rax
movabs r9, 0x100000001b3
imul r14, r9
inc rcx
cmp rcx, r8
jb 0x140053438
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14004b208
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14005347e
mov qword [rdi], rax
mov byte [rdi + 8], 0
jmp 0x1400535b7
movabs rax, 0x555555555555555
cmp qword [rbp + 0x10], rax
je 0x1400535d9
lea r12, [rbp + 8]
mov qword [rsp + 0x20], r12
and qword [rsp + 0x28], 0
mov ecx, 0x30
call fcn.140013038
mov rbx, rax
mov qword [rsp + 0x28], rax
mov rdx, rsi
lea rcx, [rax + 0x10]
call fcn.14000edb4
nop
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400534d7
cvtsi2ss xmm0, rcx
jmp 0x1400534ec
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400534ff
cvtsi2ss xmm1, rcx
jmp 0x140053514
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x14005354c
mov rcx, rbp
call fcn.14004eadc
mov r9, r14
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14004b208
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
mov r9, qword [rbp + 0x10]
and qword [rsp + 0x28], 0
mov rdx, qword [rsp + 0x30]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rbx], rdx
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdx + 8], rbx
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r14
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x14005358f
mov qword [rcx + rax*8], rbx
jmp 0x1400535a1
cmp r9, rdx
jne 0x14005359a
mov qword [rcx + rax*8], rbx
jmp 0x1400535a6
cmp qword [rcx + rax*8 + 8], r8
jne 0x1400535a6
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
lea rcx, [rsp + 0x20]
call fcn.14004ea0c
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
lea rcx, str.unordered_map_set_too_long
call fcn.140056c84
int3
Function at 0x140067140
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rdi
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14006719f
lea r8, [r9 + 8]
mov r11d, 0x7fffffff
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r11d
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 0x14006715f
mov ecx, dword [r9]
jmp 0x14006727d
cmp ecx, 0x4e0
jb 0x14006727d
lea r10, [r9 + 0x9c4]
mov edi, 0xe3
mov eax, dword [r10]
mov r11d, 0x7fffffff
lea r8, [r10 + 4]
mov edx, dword [r8]
xor edx, eax
and edx, r11d
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub rdi, 1
jne 0x1400671c0
lea r10, [r9 + 0xd50]
mov edi, 0x18c
mov eax, dword [r10]
mov edx, eax
lea r8, [r10 + 4]
xor edx, dword [r8]
and edx, r11d
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd4c]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub rdi, 1
jne 0x140067209
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
and edx, r11d
xor edx, dword [r9 + 0x1380]
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 rdi, qword [rsp + 8]
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
ret
Function at 0x1400942f8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, qword [r9]
mov rdi, r9
mov eax, r14d
mov r15, r8
mov dword [rsp + 0x68], eax
mov rbp, rdx
cmp rax, r14
je 0x14009432f
mov ebx, 0x80070057
jmp 0x140094377
mov rbx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x1400943b1
test rbx, rbx
je 0x140094392
mov eax, dword [rsp + 0x68]
cmp rax, qword [rdi]
jbe 0x140094392
mov ebx, 0x800700ea
mov qword [rdi], rax
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
mov eax, dword [rsp + 0x68]
mov r9, rdi
mov qword [rdi], rax
mov rdx, r14
mov r8d, dword [r15]
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call fcn.14009425c
jmp 0x140094379
mov ebx, 0x80070002
cmp esi, ebx
jne 0x1400943ed
mov rcx, qword [str.H__]
lea rax, str.H__
cmp rcx, rax
je 0x140094377
test byte [rcx + 0x1c], 4
je 0x140094377
mov rcx, qword [rcx + 0x10]
lea r8, [0x140201760]
mov edx, 0x15
mov r9, rbp
call fcn.140021f40
jmp 0x140094377
mov ebx, 0x800700ea
cmp esi, ebx
je 0x140094432
mov rcx, qword [str.H__]
lea rax, str.H__
cmp rcx, rax
je 0x14009442b
test byte [rcx + 0x1c], 1
je 0x14009442b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140201760]
mov edx, 0x16
mov dword [rsp + 0x20], esi
mov r9, rbp
call fcn.14005db7c
mov ebx, esi
jmp 0x140094377
mov eax, dword [rsp + 0x68]
cmp qword [rdi], rax
jb 0x140094374
mov ebx, 0x8000ffff
jmp 0x140094377

Function at 0x140094958
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400949c1
call fcn.140092c00
mov ebx, eax
lea ecx, [rax + 0x7ff8fffe]
cmp ecx, 1
jbe 0x1400949bd
mov rcx, qword [str.H__]
lea rax, str.H__
cmp rcx, rax
je 0x1400949bd
test byte [rcx + 0x1c], 1
je 0x1400949bd
mov rcx, qword [rcx + 0x10]
lea r8, [0x140201770]
mov edx, 0x1e
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.14005db7c
mov eax, ebx
jmp 0x1400949c5
mov dword [rbx], eax
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140094a38
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, dword [rdx]
mov rdi, r8
mov rsi, rdx
mov r8d, ebx
mov rdx, rdi
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor edx, edx
mov r9d, eax
test eax, eax
jne 0x140094aac
call fcn.140092c00
mov ebx, eax
mov rcx, qword [str.H__]
lea rax, str.H__
cmp rcx, rax
je 0x140094aa8
test byte [rcx + 0x1c], 1
je 0x140094aa8
mov rcx, qword [rcx + 0x10]
lea r8, [0x140201770]
mov edx, 0x27
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.14005db7c
mov eax, ebx
jmp 0x140094ace
cmp r9d, ebx
ja 0x140094ac2
lea eax, [r9 - 1]
cmp word [rdi + rax*2], dx
je 0x140094ac9
mov eax, 0x8000ffff
jmp 0x140094ace
test ebx, ebx
je 0x140094ac9
mov word [rdi], dx
mov qword [rsi], r9
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400950a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14023ab58]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x30], rcx
xor edi, edi
mov qword [rcx], rdi
mov qword [rbp - 0x38], rdi
mov dword [rbp - 0x28], 0x650076
mov dword [rbp - 0x24], 0x730072
mov dword [rbp - 0x20], 0x6f0069
mov dword [rbp - 0x1c], 0x2e006e
mov dword [rbp - 0x18], 0x6c0064
mov dword [rbp - 0x14], 0x6c
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x38]
call fcn.1400928ac
test eax, eax
js 0x1400951f8
mov byte [rbp - 0x40], dil
lea r8, str.GetFileVersionInfoSizeExW
lea rdx, [rbp - 0x28]
lea rcx, [0x140234020]
call fcn.1400929f4
lea rdx, [rbp - 0x28]
test eax, eax
jns 0x140095180
lea rax, [0x140094ee0]
mov qword [0x140234020], rax
lea r8, str.GetFileVersionInfoSizeW
lea rcx, [0x140234008]
call fcn.1400929f4
test eax, eax
js 0x140095200
lea r8, str.GetFileVersionInfoW
lea rdx, [rbp - 0x28]
lea rcx, [0x140234018]
call fcn.1400929f4
test eax, eax
js 0x1400951f0
jmp 0x140095197
lea r8, str.GetFileVersionInfoExW
lea rcx, section..data
call fcn.1400929f4
test eax, eax
js 0x140095208
lea r8, str.VerQueryValueW
lea rdx, [rbp - 0x28]
lea rcx, [0x140234010]
call fcn.1400929f4
test eax, eax
js 0x1400951e8
mov rcx, qword [rbx]
mov rax, qword [rbp - 0x38]
mov qword [rbx], rax
test rcx, rcx
je 0x1400951c8
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401d2140
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, eax
call fcn.140092114
int3
mov ecx, eax
call fcn.140092114
nop
mov ecx, eax
call fcn.140092114
nop
mov ecx, eax
call fcn.140092114
int3
mov ecx, eax
call fcn.140092114
int3