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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rbp - 0x48]
mov r8d, 0xb
mov rdx, rax
call fcn.1400b6d60
mov dword [rbp - 4], 0x800
mov dword [rbp - 8], 0
movzx eax, byte [0x1402b3399]
mov rcx, qword [0x1402b32e8]
test rcx, rcx
jne 0x140069538
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14006966e
mov rcx, rax
mov qword [0x1402b32e8], rax
mov r8d, 0x800
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14006966e
mov rbx, rax
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 0x800
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0
mov r14, qword [rbp - 0x40]
lea r12, [rbp - 4]
lea r15, [rbp - 8]
mov rsi, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r13, qword [rbp - 0x20]
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x30], rax
sub r13, rax
nop dword [rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
mov r9, r15
call rsi
cmp eax, 0xea
jne 0x1400695cb
mov r8d, dword [rbp - 4]
cmp r13, r8
jae 0x140069590
lea rcx, [rbp - 0x20]
mov rdx, qword [rbp - 0x30]
call fcn.1401f07d0
mov rbx, qword [rbp - 0x18]
jmp 0x14006957d
test eax, eax
jne 0x1400695ee
mov eax, dword [rbp - 4]
mov qword [rbp - 0x10], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
mov rdx, qword [rbp - 0x28]
jbe 0x140069653
movabs rax, 0xde00000002
jmp 0x1400695fa
shl rax, 0x20
or rax, 2
mov rdx, qword [rbp - 0x28]
mov qword [rdx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rdx], rax
cmp qword [rbp - 0x20], 0
je 0x140069624
mov rcx, qword [0x1402b32e8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp - 0x48], 0
je 0x14006963e
mov r8, qword [rbp - 0x40]
mov rcx, qword [0x1402b32e8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x10]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
cmp qword [rbp - 0x48], 0
jne 0x14006962b
jmp 0x14006963e
mov ecx, 1
mov edx, 0x800
call fcn.1401e5b40
ud2
Function at 0x1400afd40
Capabilities:
Get remote cert context via schannel

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rdx + 0xf0]
mov qword [rbp - 8], 0
lea r8, [rbp - 8]
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x1400afd9f
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp eax, 0x8009030e
call fcn.14004da10
movabs rdi, 0x8000000000000000
jmp 0x1400afe1b
mov r15, qword [rbp - 8]
mov rbx, qword [r15 + 8]
mov edi, dword [r15 + 0x10]
test rdi, rdi
je 0x1400afdfe
movzx eax, byte [0x1402b3399]
mov rcx, qword [0x1402b32e8]
test rcx, rcx
jne 0x1400afdd8
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400afdeb
mov rcx, rax
mov qword [0x1402b32e8], rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x1400afe04
mov qword [rbp - 0x10], r15
mov ecx, 1
mov rdx, rdi
call fcn.1401e5b40
ud2
mov r14d, 1
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r15
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rdi
mov qword [rsi], rdi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
Function at 0x14000e7b0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14000e7d2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000e84c
mov rdi, r14
mov rcx, rbx
call fcn.140010de0
test rax, rax
jle 0x14000e824
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14002df90
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000e83c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14000e844
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14000e7e6
sub r14, rdi
jmp 0x14000e939
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14000e863
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000e865
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000e89a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14002df90
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000e936
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x14000e8d5
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x14000e911
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140039644
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x14000e94f
cmp rbp, rax
ja 0x14000e8e1
mov r8, rdi
test rdi, rdi
je 0x14000e936
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140039644
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x14000e939
Function at 0x14000ed60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14006e060]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000ed8d
xor eax, eax
jmp 0x14000eed3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000edc7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000edc7
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 0x14000eed3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000eec6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000ee0a
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 0x14000ee19
movsx ecx, dil
jmp 0x14000ee6d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x14000ee87
sub eax, 1
je 0x14000ee87
cmp eax, 2
jne 0x14000eec6
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.140037614
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000eecb
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000eeb4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.140038eb0
cmp rsi, rax
jne 0x14000eec6
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14000eecb
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14002bda0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400212f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x160
mov rax, qword [0x14006e060]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r14, r9
mov rbp, r8
mov rsi, rdx
xor ebx, ebx
mov qword [r11 - 0x60], rbx
lea rax, [r11 - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x201
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
je 0x1400213e2
lea r8, str.GetRegKeyValue
lea edx, [rbx + 4]
lea rcx, [rsp + 0x30]
call fcn.1400211d0
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x1400213b8
lea rdx, str.RegOpenKeyEx
mov rcx, rbx
call fcn.140024dc0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x1400213b8
mov rdx, rsi
mov rcx, rbx
call fcn.1400250a0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x1400213b8
lea rdx, str._failed
mov rcx, rbx
call fcn.140024dc0
cmp byte [rbx + 0x80], 0
je 0x1400213b8
mov edx, edi
mov rcx, rbx
call fcn.140022c80
nop
lea rcx, [rsp + 0x30]
call fcn.140021030
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14002bda0
add rsp, 0x160
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x138], xmm1
mov qword [rsp + 0x148], rbx
mov ecx, 0x10025
call fcn.14002c060
test rax, rax
je 0x140021598
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
mov qword [rsp + 0x138], rcx
lea rbx, [rcx + 0xfffe]
mov qword [rsp + 0x148], rbx
xor edx, edx
mov r8d, 0xfffe
call fcn.14002e640
mov qword [rsp + 0x140], rbx
mov rcx, qword [rsp + 0x138]
sub rbx, rcx
sar rbx, 1
lea eax, [rbx + rbx]
mov dword [rsp + 0x130], eax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x1400214b8
mov rdx, qword [rsp + 0x138]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400214a0
mov rcx, r14
call fcn.1400036c0
jmp 0x140021539
lea r8, str.GetRegKeyValue
mov edx, 4
lea rcx, [rsp + 0x30]
call fcn.1400211d0
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x14002152f
lea rdx, str.RegQueryValueEx
mov rcx, rbx
call fcn.140024dc0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x14002152f
mov rdx, rbp
mov rcx, rbx
call fcn.1400250a0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x14002152f
lea rdx, str._failed
mov rcx, rbx
call fcn.140024dc0
cmp byte [rbx + 0x80], 0
je 0x14002152f
mov edx, edi
mov rcx, rbx
call fcn.140022c80
nop
lea rcx, [rsp + 0x30]
call fcn.140021030
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete bl
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x140021590
mov rdx, qword [rsp + 0x148]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov r8, rcx
cmp rdx, 0x1000
jb 0x14002158b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140021598
call fcn.14002bdc0
movzx eax, bl
jmp 0x1400213c4
call fcn.14003759c
int3
Function at 0x1400215a0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x160
mov rax, qword [0x14006e060]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, r9
mov rbp, rdx
xor r14d, r14d
mov qword [r11 - 0x30], r14
lea rax, [r11 - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x202
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
je 0x14002174a
lea r8, str.SetRegKeyValue
lea edx, [r14 + 4]
lea rcx, [rsp + 0x50]
call fcn.1400211d0
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x140021674
lea rdx, str.RegOpenKeyEx
mov rcx, rbx
call fcn.140024dc0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140021674
mov rdx, rbp
mov rcx, rbx
call fcn.1400250a0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140021674
lea rdx, str._failed
mov rcx, rbx
call fcn.140024dc0
cmp byte [rbx + 0x80], r14b
je 0x140021674
mov edx, esi
mov rcx, rbx
call fcn.140022c80
nop
lea rcx, [rsp + 0x50]
call fcn.140021030
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x148]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test eax, eax
je 0x14002174a
lea r8, str.SetRegKeyValue
mov edx, 4
lea rcx, [rsp + 0x50]
call fcn.1400211d0
mov rbx, rax
movzx ecx, byte [rax + 0x80]
test cl, cl
je 0x140021739
lea rdx, str.RegCreateKeyEx
mov rcx, rax
call fcn.140024dc0
movzx ecx, byte [rbx + 0x80]
test cl, cl
je 0x140021739
mov rdx, rbp
mov rcx, rbx
call fcn.1400250a0
movzx ecx, byte [rbx + 0x80]
test cl, cl
je 0x140021739
lea rdx, str._failed
mov rcx, rbx
call fcn.140024dc0
cmp byte [rbx + 0x80], 0
je 0x140021739
mov edx, esi
mov rcx, rbx
call fcn.140022c80
nop
lea rcx, [rsp + 0x50]
call fcn.140021030
xor al, al
jmp 0x14002182c
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x140021751
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, str.lang
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
je 0x140021819
lea r8, str.SetRegKeyValue
mov edx, 4
lea rcx, [rsp + 0x50]
call fcn.1400211d0
mov rbx, rax
movzx ecx, byte [rax + 0x80]
test cl, cl
je 0x14002180f
lea rdx, str.RegSetValueEx
mov rcx, rax
call fcn.140024dc0
movzx ecx, byte [rbx + 0x80]
test cl, cl
je 0x14002180f
lea rdx, str.lang
mov rcx, rbx
call fcn.1400250a0
movzx ecx, byte [rbx + 0x80]
test cl, cl
je 0x14002180f
lea rdx, str._failed
mov rcx, rbx
call fcn.140024dc0
cmp byte [rbx + 0x80], 0
je 0x14002180f
mov edx, edi
mov rcx, rbx
call fcn.140022c80
nop
lea rcx, [rsp + 0x50]
call fcn.140021030
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14002bda0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140021860
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x14006e060]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov rbx, r9
mov qword [r11 - 0x20], 0
lea rax, [r11 - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x201
xor r8d, r8d
lea rdx, str..DEFAULTSoftwareSetID
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
je 0x140021948
lea r8, str.GetRegKeyValue
mov edx, 4
lea rcx, [rsp + 0x30]
call fcn.1400211d0
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x140021937
lea rdx, str.RegOpenKeyEx
mov rcx, rbx
call fcn.140024dc0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140021937
lea rdx, str..DEFAULTSoftwareSetID
mov rcx, rbx
call fcn.1400250a0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140021937
lea rdx, str._failed
mov rcx, rbx
call fcn.140024dc0
cmp byte [rbx + 0x80], 0
je 0x140021937
mov edx, edi
mov rcx, rbx
call fcn.140022c80
nop
lea rcx, [rsp + 0x30]
call fcn.140021030
xor al, al
jmp 0x140021a36
mov dword [rsp + 0x130], 4
lea rax, [rsp + 0x130]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x134]
xor r8d, r8d
lea rdx, [0x140062658]
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14002199e
cmp dword [rsp + 0x134], 4
je 0x140021a23
jmp 0x140021a36
lea r8, str.GetRegKeyValue
mov edx, 4
lea rcx, [rsp + 0x30]
call fcn.1400211d0
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x140021a19
lea rdx, str.RegQueryValueEx
mov rcx, rbx
call fcn.140024dc0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140021a19
lea rdx, [0x140062658]
mov rcx, rbx
call fcn.1400250a0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140021a19
lea rdx, str._failed
mov rcx, rbx
call fcn.140024dc0
cmp byte [rbx + 0x80], 0
je 0x140021a19
mov edx, edi
mov rcx, rbx
call fcn.140022c80
nop
lea rcx, [rsp + 0x30]
call fcn.140021030
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14002bda0
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
Function at 0x1400293c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x140
mov rax, qword [0x14006e060]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, rdx
mov rbp, rcx
mov rdi, qword [rdx + 0x10]
add rdi, rdi
cmp qword [rdx + 0x18], 8
jb 0x1400293fe
mov rsi, qword [rdx]
xor r14d, r14d
mov ebx, r14d
test rdi, rdi
je 0x14002944b
nop dword [rax]
mov dword [rsp + 0x128], r14d
mov r8d, edi
sub r8d, ebx
lea rdx, [rbx + rsi]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x128]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14002944b
mov eax, dword [rsp + 0x128]
add rbx, rax
cmp rbx, rdi
jb 0x140029410
lea r8, str.write_stdout
mov edx, 0x10
lea rcx, [rsp + 0x30]
call fcn.1400211d0
nop
lea rcx, str.success_write
lea rdx, str.fail_write
cmp rbx, rdi
cmove rdx, rcx
cmp byte [rax + 0x80], 0
je 0x140029489
mov rcx, rax
call fcn.1400250a0
nop
lea rcx, [rsp + 0x30]
call fcn.140021030
cmp rbx, rdi
sete al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14002bda0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [str.Hr2_]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [str.Dr2_]
mov dword [rax], 1
mov rax, qword [0x140312990]
mov dword [rax], 1
mov rax, qword [0x140312920]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140312960]
mov dword [0x14032700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140312a40]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [str.Pr2_]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1403128c0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140042ba0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rcx
movdqa xmm0, xmmword [rdx]
aeskeygenassist xmm0, xmm0, 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x14004f740
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x54], 0x1000193
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdx
mov dword [rsp + 0x6c], 0x811c9dc5
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x58], 1
jne 0x14004f7ab
lea rax, [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x90], rax
xor eax, eax
cmp rax, qword [rsp + 0x60]
jb 0x14004f7b7
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
jmp 0x14004f7d8
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
cmp qword [rax], rcx
ja 0x14004f7ab
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
cmp rax, qword [rsp + 0x78]
jb 0x14004f7f0
mov eax, dword [rsp + 0x6c]
add rsp, 0xa8
ret
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
cmp rax, rcx
setb al
test al, 1
jne 0x14004f80b
jmp 0x14004f858
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rax + rcx]
xor eax, dword [rsp + 0x6c]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0xa0], eax
mov dword [rsp + 0xa4], 0x1000193
imul eax, eax, 0x1000193
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x70]
add rax, 1
mov qword [rsp + 0x28], rax
setb al
test al, 1
jne 0x14004f87f
jmp 0x14004f870
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
lea r8, str._home_vagrant_.cargo_registry_src_index.crates.io_6f17d22bba15001f_const_fnv1a_hash_1.1.0_src_lib.rs
call dbg.panic_bounds_check
ud2
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
jmp 0x14004f7d8
lea rcx, str.attempt_to_add_with_overflow
lea r8, str._home_vagrant_.cargo_registry_src_index.crates.io_6f17d22bba15001f_const_fnv1a_hash_1.1.0_src_lib.rs
mov edx, 0x1c
call dbg.panic
ud2
Function at 0x14004f8a0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rcx
movabs rax, 0x100000001b3
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rdx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
cmp qword [rsp + 0x50], 1
jne 0x14004f916
lea rax, [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x88], rax
xor eax, eax
cmp rax, qword [rsp + 0x58]
jb 0x14004f922
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
jmp 0x14004f943
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
cmp qword [rax], rcx
ja 0x14004f916
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x68]
cmp rax, qword [rsp + 0x70]
jb 0x14004f95c
mov rax, qword [rsp + 0x60]
add rsp, 0xa8
ret
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
cmp rax, rcx
setb al
test al, 1
jne 0x14004f977
jmp 0x14004f9d8
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rax + rcx]
xor rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x98], rax
movabs rcx, 0x100000001b3
mov qword [rsp + 0xa0], rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x68]
add rax, 1
mov qword [rsp + 0x20], rax
setb al
test al, 1
jne 0x14004f9ff
jmp 0x14004f9f0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
lea r8, str._home_vagrant_.cargo_registry_src_index.crates.io_6f17d22bba15001f_const_fnv1a_hash_1.1.0_src_lib.rs
call dbg.panic_bounds_check
ud2
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x68], rax
jmp 0x14004f943
lea rcx, str.attempt_to_add_with_overflow
lea r8, str._home_vagrant_.cargo_registry_src_index.crates.io_6f17d22bba15001f_const_fnv1a_hash_1.1.0_src_lib.rs
mov edx, 0x1c
call dbg.panic
ud2

Function at 0x140050ed0
Capabilities:
Initialize winsock library

Disassembly:
push rsi
push rdi
sub rsp, 0x1f8
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x140050f28
lea rsi, [rsp + 0x60]
mov r8d, 0x198
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov cx, 0x202
mov rdx, rsi
call sub.ws2_32.dll_WSAStartup
mov dword [rsp + 0x2c], eax
test eax, eax
jne 0x140050f42
lea rax, [0x1400e4334]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srcio_borrowed_buf.rs_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rs
lea r8, str._A__
mov edx, 0x2b
call dbg.panic
ud2
mov qword [rsp + 0x30], 0
lea rdx, [0x1402f57d0]
lea r9, str.library_std_src_syswindows_net.rs
lea rcx, [rsp + 0x2c]
lea r8, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
ud2