joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ab1f0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.14014fe30
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.1400b2140
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14020b860]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.1400b2340
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x1400ab288
mov rax, qword [rsp + 0x38]
jmp 0x1400ab28b
and eax, 0x7f
test rax, rax
jne 0x1400ab2cd
lea rcx, [rsp + 0x30]
call fcn.1400ff6e0
lea rcx, [rsp + 0x298]
call fcn.1400b2290
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.14014ced0
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.14014fe30
mov rcx, r15
mov rdx, r14
call fcn.1400b2300
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x1400ab3ee
mov rcx, r14
call fcn.1400b2050
test al, al
jne 0x1400ab39d
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x1400ab32b
mov rcx, qword [rsp + 0x30]
call r13
test eax, eax
jne 0x1400ab423
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.140039860
mov rcx, r15
mov rdx, r14
call fcn.1400b2340
mov rcx, rdi
mov rdx, r14
call fcn.140097e60
mov rcx, r14
call fcn.1400ff6e0
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x1400ab389
mov rax, qword [rsp + 0x38]
jmp 0x1400ab38c
and eax, 0x7f
mov r12d, ebp
test rax, rax
je 0x1400ab290
jmp 0x1400ab2e4
xor ebp, ebp
test bl, bl
je 0x1400ab34c
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.1400ab1f0
test eax, eax
jne 0x1400ab440
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x1400ab3c8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400ab34c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x1400ab34c
test bl, bl
je 0x1400ab403
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
jns 0x1400ab42a
mov rcx, qword [rsp + 0x30]
jmp 0x1400ab42f
lea rcx, [rsp + 0x48]
call fcn.1400b2050
test al, al
je 0x1400ab43a
lea rcx, [rsp + 0x48]
call fcn.1400b2050
test al, al
je 0x1400ab31c
xor ebp, ebp
jmp 0x1400ab34c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x1400ab30c
mov edx, dword [rsp + 0x48]
jmp 0x1400ab3f2
mov ebp, eax
jmp 0x1400ab34c
Function at 0x1400ab5d0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x50], rax
movaps xmm0, xmmword [0x14020b860]
movaps xmmword [r14 + 0x40], xmm0
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.DoInitialize
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x16f
call fcn.140100410
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14010c8f0
mov eax, edi
and eax, 1
neg eax
and eax, 3
test dil, 2
mov edx, 1
cmove edx, eax
test dil, 4
mov ecx, 4
cmovne edx, ecx
test dil, 8
mov r8d, 2
cmove r8d, edx
test dil, 0x10
mov eax, 5
cmove eax, r8d
test eax, eax
je 0x1400ab837
mov edx, edi
and edx, 0x40
shl edx, 0x18
test dil, 0x80
cmove ecx, edx
mov edx, edi
rol edx, 0x1a
mov r8d, edi
shl r8d, 0xb
and r8d, 0x20000000
mov r9d, edi
shr r9d, 4
and r9d, 0x10000
and edx, 0x80000100
or edx, r8d
or edx, r9d
or edx, ecx
mov ecx, edi
shr ecx, 8
and ecx, 3
mov r8d, edi
shr r8d, 0xd
and r8d, 4
or r8d, ecx
xor r8d, 3
mov r14d, edi
and r14d, 0x400
mov ecx, r14d
shl ecx, 0x14
mov r9d, edi
shr r9d, 3
and r9d, 0x100
or r9d, ecx
mov ecx, edi
shr ecx, 0xb
and ecx, 2
or ecx, r9d
mov r9d, edi
shl r9d, 0xd
and r9d, 0x4000000
or r9d, ecx
mov ecx, edi
shl ecx, 8
and ecx, 0xa000000
or ecx, r9d
cmp byte [rbx + 0x17], 0
jns 0x1400ab74c
mov rbx, qword [rbx]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov rcx, rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp qword [rsi], rax
je 0x1400ab7a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400ab81e
mov rax, rbx
inc rax
cmp rax, 2
jb 0x1400ab79d
mov qword [rsi], rbx
call fcn.140100430
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi]
inc rbx
cmp rbx, 2
jb 0x1400ab7fb
shr r14d, 0xa
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x29], r14b
test dil, 4
jne 0x1400ab80d
test dil, 0xa
je 0x1400ab7d0
mov byte [rsi + 0x28], 1
lea rcx, [rsp + 0x60]
call fcn.14010c950
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14014ced0
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400ab460
mov dword [rsi + 0x24], eax
jmp 0x1400ab7d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [rsi + 0x28]
jmp 0x1400ab7d0
call fcn.140100430
mov rcx, qword [rsi]
call fcn.140112e70
mov qword [rsi], 0
jmp 0x1400ab789
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 0x24], 0xffffffff
jmp 0x1400ab7d0
Function at 0x1400ac3a0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call fcn.1400ca4b0
mov byte [rsi + 8], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
lea rax, [0x14020a2b0]
mov qword [rsi], rax
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp qword [rsi + 0x18], rax
je 0x1400ac415
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x1400ac420
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400ac40d
mov qword [rsi + 0x18], rdi
call fcn.140100430
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140100430
mov rcx, qword [rsi + 0x18]
call fcn.140112e70
mov qword [rsi + 0x18], 0
jmp 0x1400ac3fa
Function at 0x1400acf50
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 0x1400acf7a
call fcn.140100430
mov qword [rsi], 0
test r14, r14
je 0x1400acfb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400acfd5
cmp r15, 2
jb 0x1400acfa8
mov qword [rsi], r14
call fcn.140100430
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 0x1400acfeb
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140100430
mov rcx, qword [rsi]
call fcn.140112e70
mov qword [rsi], 0
jmp 0x1400acf9a
call fcn.140100430
mov rcx, qword [rdi]
call fcn.140112e70
mov qword [rdi], 0
jmp 0x1400acfc6
Function at 0x1400aebd0
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 [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x58], rax
shl ebp, 0x10
mov ecx, SafeArrayCopy
call fcn.14014c3b0
mov rsi, rax
mov rax, qword [0x1402329e0]
and rax, r15
cmp rax, qword [0x1402329c8]
je 0x1400aec94
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, [0x1400af0c0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x1400aec9e
test r14, r14
je 0x1400aece9
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014ced0
mov eax, ebx
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, r15
call fcn.1401023b0
jmp 0x1400aec2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x1400aecb7
mov ebp, eax
cmp eax, 0x5af
je 0x1400aecb7
cmp ebp, 0xe
jne 0x1400aecf7
mov rcx, rbx
call fcn.1401bf070
test rsi, rsi
je 0x1400aec70
mov rcx, qword [rsi]
mov rax, qword [0x1402329e0]
and rax, rcx
cmp rax, qword [0x1402329c8]
jne 0x1400aecdf
call fcn.140102500
mov rcx, rsi
call fcn.14014c3ec
jmp 0x1400aec70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400aec70
mov eax, dword [0x140243da0]
mov ecx, dword [0x14023ece4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400aed6f
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov edx, ebp
call fcn.1400a3030
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 [0x140243d98]
call fcn.1400fef10
cmp byte [rbx + 0x17], 0
jns 0x1400aecbf
mov rcx, qword [rsp + 0x30]
call fcn.14014c3ec
jmp 0x1400aecbf
lea rcx, [0x140243da0]
call fcn.14014c510
cmp dword [0x140243da0], 0xffffffff
jne 0x1400aed18
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140097700
mov qword [0x140243d98], rax
lea rcx, [0x140243da0]
call fcn.14014c5a8
jmp 0x1400aed18
Function at 0x1400afbb0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, qword [rcx + 8]
lea rax, [r14 + 1]
cmp rax, 1
ja 0x1400afc36
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, rax
cmp qword [rdi + 8], rax
je 0x1400afc36
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x1400afce3
mov rax, r14
inc rax
cmp rax, 2
jb 0x1400afc2a
mov qword [rdi + 8], r14
call fcn.140100430
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
inc r14
cmp r14, 2
jb 0x1400afd21
call fcn.140113180
xor r8d, r8d
cmp eax, 5
setge r8b
shl r8d, 0x1c
or r8d, 0xf
mov r9, qword [rdi + 8]
mov dword [rsp + 0x20], 1
mov rcx, rbx
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
jne 0x1400afcfe
lea rcx, [rdi + 0x68]
mov rdx, rsi
call fcn.140100230
lea rbx, [rdi + 0x10]
lea rdx, str.StartWatching
lea r8, str....._basewin_registry.cc
lea r14, [rsp + 0x28]
mov rcx, r14
mov r9d, 0x65
call fcn.140100410
mov rdx, qword [rdi + 8]
mov rcx, rbx
mov r8, rdi
mov r9, r14
call fcn.1400af700
mov edi, eax
mov rcx, rsi
call fcn.1401002d0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14014ced0
mov eax, edi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.140100430
mov rcx, qword [rdi + 8]
call fcn.140112e70
mov qword [rdi + 8], 0
jmp 0x1400afc15
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jb 0x1400afd21
call fcn.140100430
mov rcx, qword [rdi + 8]
call fcn.140112e70
mov qword [rdi + 8], 0
xor edi, edi
jmp 0x1400afcc1

Function at 0x1400aff00
Capabilities:
Query or enumerate registry value

Disassembly:
add rcx, 0x18
cmp byte [rdx + 0x17], 0
jns 0x14006648d
mov rdx, qword [rdx]
jmp 0x1400aff00
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 0x1400affb0
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 [0x14022f038]
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 0x1400b0023
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14014ced0
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 0x1400afff5
mov ebp, eax
test eax, eax
jne 0x1400afff5
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x70]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x14020b860]
movaps xmmword [r14], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.140189970
movzx eax, byte [r14 + 0x17]
test al, al
jns 0x1400b0093
mov rax, qword [rsp + 0x78]
jmp 0x1400b0096
and eax, 0x7f
test rax, rax
je 0x1400b00af
lea rcx, [rsp + 0x70]
call fcn.140091160
cmp word [rax], 0x5c
jne 0x1400b01d7
movzx r15d, byte [rsp + 0x87]
test r15b, r15b
jns 0x1400b00c4
mov r15, qword [rsp + 0x78]
jmp 0x1400b00c8
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.1400ae400
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 0x1400b0187
mov edx, dword [rsp + 0x4c]
mov rcx, r12
xor r8d, r8d
call fcn.1400fdf70
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400fdf70
movzx r8d, byte [rsp + 0x67]
test r8b, r8b
jns 0x1400b0153
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
jmp 0x1400b015a
and r8d, 0x7f
mov rdx, r12
mov rcx, r14
call fcn.1400934a0
cmp byte [rsp + 0x87], 0
mov rdx, r14
jns 0x1400b0174
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
mov r8d, esi
call fcn.1400affb0
test eax, eax
je 0x1400b00ea
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 0x1400b01ba
mov rcx, qword [rsp + 0x50]
call fcn.14014c3ec
cmp byte [rsp + 0x87], 0
jns 0x1400afff5
mov rcx, qword [rsp + 0x70]
call fcn.14014c3ec
jmp 0x1400afff5
lea rcx, [rsp + 0x70]
mov dx, 0x5c
call fcn.1400fdd50
jmp 0x1400b00af
Function at 0x1400b0200
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x14022f038]
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 0x1400b0288
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400b0272
cmp dword [rsp + 0x38], 4
jne 0x1400b0272
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14014ced0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x1400b0272

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

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.14014ce70
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.14014fe30
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 0x1400b0353
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x1400b0357
lea rcx, [rsp + 0x840]
call fcn.140174394
lea rdx, [rsp + 0x840]
mov rcx, rsi
mov r8, rax
call fcn.1400930f0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14014ced0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x1400b0334
cmp eax, 2
jne 0x1400b03ac
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.14014fe30
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 0x1400b03b3
lea rcx, [rsp + 0x40]
call fcn.140174394
lea rdx, [rsp + 0x40]
jmp 0x1400b0327
mov edi, 0x3f4
jmp 0x1400b0334
mov edi, 0xea
jmp 0x1400b0334

Function at 0x1400b03c0
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.140174394
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 0x1400b1630
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140243e20]
mov ecx, dword [0x14023ece4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b166b
movzx eax, word [0x140243df0]
cmp eax, 9
jne 0x1400b16b3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140243e20]
call fcn.14014c510
cmp dword [0x140243e20], 0xffffffff
jne 0x1400b1655
xorps xmm0, xmm0
movups xmmword [0x140243e10], xmm0
movups xmmword [0x140243e00], xmm0
movups xmmword [0x140243df0], xmm0
lea rcx, [0x140243df0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140243e20]
call fcn.14014c5a8
jmp 0x1400b1655
test eax, eax
je 0x1400b1666
cmp eax, 6
jne 0x1400b16c3
mov eax, 2
jmp 0x1400b1666
cmp eax, 0xc
jne 0x1400b16cf
mov eax, 3
jmp 0x1400b1666
mov eax, 4
jmp 0x1400b1666
Function at 0x1400b2f00
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, qword [rcx]
lea r14, [rsi + 1]
cmp r14, 2
jb 0x1400b302b
mov rdi, rcx
cmp dword [rcx + 8], 1
jne 0x1400b302f
mov qword [rdi], 0
call fcn.140100430
test rsi, rsi
je 0x1400b2f5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140100430
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x38]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 5
mov rcx, rax
mov rdx, rsi
mov r8, rax
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebx, eax
test eax, eax
je 0x1400b2fe0
mov r15, qword [rsp + 0x38]
cmp qword [rdi], r15
je 0x1400b2fd9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400b3015
lea rax, [r15 + 1]
cmp rax, 2
jb 0x1400b2fd1
mov qword [rdi], r15
call fcn.140100430
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rdi + 8], 0
test ebx, ebx
setne dil
cmp r14, 2
jb 0x1400b2ff9
call fcn.140100430
mov rcx, rsi
call fcn.140112e70
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14014ced0
mov eax, edi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140100430
mov rcx, qword [rdi]
call fcn.140112e70
mov qword [rdi], 0
jmp 0x1400b2fbf
xor edi, edi
jmp 0x1400b2ff9
int3
Function at 0x1400b5370
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, [0x140209bb8]
mov qword [rcx], rax
add rcx, 8
call fcn.1400f1200
lea rcx, [rsi + 0x10]
call fcn.1400f1200
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.1400f1200
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
mov qword [rsi + 0xc0], rbx
movups xmmword [rsi + 0xc8], xmm6
movups xmmword [rsi + 0xd8], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xe8], ebp
mov dword [rsi + 0xf0], ebx
movups xmmword [rsi + 0xf8], xmm6
movups xmmword [rsi + 0x108], xmm6
mov dword [rsi + 0x118], ebp
movups xmmword [rsi + 0x120], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x140], ebp
movups xmmword [rsi + 0x148], xmm6
movups xmmword [rsi + 0x158], xmm6
mov dword [rsi + 0x168], ebp
movups xmmword [rsi + 0x170], xmm6
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebp
mov qword [rsi + 0x1b0], rbx
movups xmmword [rsi + 0x198], xmm6
mov dword [rsi + 0x1a8], ebx
mov eax, dword [reloc.WS2_32.dll_accept]
mov dword [rsi + 0x1b8], eax
lea rcx, [rsi + 0x1c0]
call fcn.1400cf9d0
lea rcx, [rsi + 0x310]
movups xmmword [rsi + 0x2f8], xmm6
mov qword [rsi + 0x308], rbx
xor edx, edx
call fcn.1400a7400
lea rcx, [rsi + 0x320]
xor edx, edx
call fcn.1400a7400
lea rcx, [rsi + 0x330]
xor edx, edx
call fcn.1400a7400
movups xmmword [rsi + 0x340], xmm6
movups xmmword [rsi + 0x350], xmm6
mov dword [rsi + 0x360], ebp
movups xmmword [rsi + 0x368], xmm6
movups xmmword [rsi + 0x378], xmm6
movups xmmword [rsi + 0x388], xmm6
mov byte [rsi + 0x398], bl
mov dword [rsi + 0x39c], edi
mov byte [rsi + 0x3a0], bl
movups xmmword [rsi + 0x3a8], xmm6
movups xmmword [rsi + 0x3b8], xmm6
call fcn.140039860
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x1a8], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x1a0], rax
mov rcx, rsi
call fcn.1400b55a0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x1400b558b
call fcn.1400b40d0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.1400b4180
mov qword [0x1402442a8], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1401b58f0.0]
jmp 0x1400b5559