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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
lea rbp, [rcx + 8]
mov rsi, rcx
mov rcx, rbp
mov rdi, rdx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
lea rbx, [rsi + 0x28]
cmp qword [rbx + 0x18], 8
jb 0x14001baf2
mov rbx, qword [rbx]
mov dword [rsp + 0x78], 0xc
call fcn.140066c7c
mov rcx, qword [0x1400cc3a8]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov r9d, 0xffff
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rdi
mov r8, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
mov r14d, 0x80070000
mov ecx, r14d
cmovle ecx, eax
shr ecx, 0x1f
xor cl, 1
jne 0x14001bbb0
cmp byte [0x1400cf3d4], cl
je 0x14001bba1
mov rcx, qword [0x1400cc398]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov r9d, 0xffff
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rdi
mov r8, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
cmovle r14d, eax
shr r14d, 0x1f
xor r14b, 1
jne 0x14001bbb0
movsd xmm0, qword [rsi + 0x1c]
movsd qword [rdi], xmm0
mov eax, dword [rsi + 0x24]
mov dword [rdi + 8], eax
test rbp, rbp
je 0x14001bbc4
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14001bbdc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rdi, [rcx + 8]
mov rbx, rcx
mov rcx, rdi
mov rsi, rdx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
movsd xmm0, qword [rsi]
lea rdx, [rbx + 0x28]
movsd qword [rbx + 0x1c], xmm0
mov eax, dword [rsi + 8]
mov dword [rbx + 0x24], eax
cmp qword [rdx + 0x18], 8
jb 0x14001bc21
mov rdx, qword [rdx]
mov rcx, qword [0x1400cc3a8]
mov r9d, 3
mov dword [rsp + 0x28], 0xc
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
mov ebx, 0x80070000
cmovle ebx, eax
shr ebx, 0x1f
xor bl, 1
test rdi, rdi
je 0x14001bc6e
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400641b8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400641f1
mov rax, qword [rcx]
xor r15d, r15d
mov qword [rcx + 0x10], r15
mov word [rax], r15w
mov qword [rbp - 0x40], r15
or rax, 0xffffffffffffffff
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
lea r9, [rbp - 0x40]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1400b0fa0]
call qword [sym.imp.api_ms_win_shell_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14006424d
mov rcx, qword [rbp + 0x18]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
lea edx, [r15 + 0x4a]
call fcn.140005d70
jmp 0x1400642d7
movdqa xmm0, xmmword [0x1400b6aa0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.140006ed8
nop
mov r14d, r15d
lea rsi, [0x1400a56e8]
mov rdx, qword [rsi]
test rdx, rdx
je 0x14006428f
mov r8b, 1
lea rcx, [rbp - 0x28]
call fcn.140073f68
mov ebx, eax
jmp 0x140064292
mov ebx, r15d
test ebx, ebx
js 0x1400642b4
inc r14d
add rsi, 8
cmp r14d, 3
jb 0x140064277
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1400655c4
mov ebx, r15d
jmp 0x1400642cd
mov rcx, qword [rbp + 0x18]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov edx, 0x4f
call fcn.140005d70
nop
lea rcx, [rbp - 0x28]
call fcn.140006c74
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400642ec
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140097f60
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14006431c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov rax, r8
mov esi, edx
mov rbp, rcx
jb 0x140064342
mov rax, qword [r8]
and qword [rsp + 0x20], 0
mov r9d, 2
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_CreateFile2]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14006438a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14006438c
xor ebx, ebx
test ebx, ebx
jns 0x140064397
mov edx, 0x5a
jmp 0x1400643f0
mov r8d, 0x4004
mov rdx, rbp
cmp esi, r8d
mov rcx, rdi
cmovb r8d, esi
and qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x140064406
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
test ebx, ebx
jns 0x140064406
mov edx, 0x5d
mov rcx, qword [rsp + 0x38]
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov r9d, ebx
call fcn.140005d70
jmp 0x140064408
xor ebx, ebx
lea rcx, [rdi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140064421
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400646d0
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov r14d, ecx
lea rax, [0x1400a02b8]
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov ebx, r15d
mov qword [rsp + 0x30], rbx
mov edi, r15d
mov r12d, 0x80070000
test ecx, ecx
jne 0x140064738
lea rdx, [0x1400b0f48]
jmp 0x140064831
mov r8d, r14d
mov edx, 1
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x140064781
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, r12d
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
jmp 0x140064784
mov ecx, r15d
test ecx, ecx
js 0x1400647f4
mov dword [rsp + 0x20], 0x104
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_0.dll_GetPackageFamilyName]
nop dword [rax + rax]
movzx edi, ax
or edi, r12d
test eax, eax
cmovle edi, eax
test edi, edi
js 0x1400647f4
movdqa xmm0, xmmword [0x1400b6aa0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140006ed8
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1400655c4
lea rcx, [rsp + 0x38]
call fcn.140006c74
jmp 0x140064860
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32GetProcessImageFileNameW]
nop dword [rax + rax]
movzx edi, ax
or edi, r12d
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14006483b
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFindFileNameW]
nop dword [rax + rax]
mov rdx, rax
mov rcx, rsi
call fcn.140006ed8
jmp 0x140064860
mov edx, r14d
lea rcx, [rsp + 0x38]
call fcn.1400175b0
mov rdx, rax
mov rcx, rsi
call fcn.1400655c4
lea rcx, [rsp + 0x38]
call fcn.140006c74
mov edi, r15d
test rbx, rbx
je 0x140064878
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x1400648a6
mov eax, edi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140097f60
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, r12d
test eax, eax
cmovle ecx, eax
call fcn.140013fa8
int3
Function at 0x1400675a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
call fcn.140066c7c
mov rcx, qword [0x1400cc3a8]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, 0x10
lea rax, [rsp + 0x78]
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x28], rax
mov r8, rsi
and qword [rsp + 0x20], 0
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140067670
cmp byte [0x1400cf3d4], 0
je 0x140067668
mov rcx, qword [0x1400cc398]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, 0x10
lea rax, [rsp + 0x78]
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x28], rax
mov r8, rsi
and qword [rsp + 0x20], 0
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140067670
mov eax, dword [rbx]
jmp 0x140067674
mov eax, dword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140067a48
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, r8
mov rbx, rcx
mov ebp, 0x4e
lea rcx, [rsp + 0x50]
mov r8d, ebp
xor edx, edx
mov rsi, r9
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x40], ebp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor ebp, ebp
lea rax, [rsp + 0x50]
mov r8, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rbp
lea r9d, [rbp + 2]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
je 0x140067ac8
mov word [rsp + 0x50], bp
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
js 0x140067aed
mov rdx, rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140097f60
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140067b18
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, 0x50
xor r14d, r14d
mov esi, r9d
mov rbp, r8
mov rdi, rcx
mov ebx, r14d
test rdx, rdx
je 0x140067b7c
cmp word [rdx], r14w
je 0x140067b7c
mov qword [r11 - 0x28], r14
lea rax, [r11 + 0x10]
mov qword [r11 - 0x30], rax
xor r9d, r9d
mov qword [r11 - 0x38], r14
xor r8d, r8d
mov dword [rsp + 0x28], 2
mov dword [r11 - 0x48], r14d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
jmp 0x140067b81
mov qword [rsp + 0x78], rcx
test ebx, ebx
jne 0x140067bca
mov eax, dword [rsp + 0x98]
mov r9d, esi
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rax, qword [rsp + 0x90]
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
cmp rcx, rdi
je 0x140067bca
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14006b730
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword gs:[0x58]
mov r14, rcx
mov ecx, 4
mov edi, edx
mov r8, qword [rax]
mov eax, dword [rcx + r8]
cmp dword [0x1400cf6e0], eax
jg 0x14006b917
test edi, edi
mov ebp, 0x3e8
sete bl
test edi, edi
je 0x14006b7e8
lea rsi, [r14 + 0x5d8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
mov ebx, dword [r14 + 0x5ac]
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov rax, qword [rsp + 0x90]
sub rax, qword [r14 + 0x5e0]
cmp rax, qword [0x1400cf6d8]
jle 0x14006b7d2
sub ebx, dword [r14 + 0x5e8]
cmp ebx, ebp
jbe 0x14006b7d2
mov bl, 1
jmp 0x14006b7d4
xor bl, bl
test rsi, rsi
je 0x14006b7e8
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
test bl, bl
je 0x14006b8fd
lea r15, [r14 + 0x5d8]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov r12d, dword [r14 + 0x5ac]
mov rax, qword [rsp + 0xa0]
test edi, edi
je 0x14006b856
mov rcx, rax
sub rcx, qword [r14 + 0x5e0]
cmp rcx, qword [0x1400cf6d8]
jle 0x14006b8e9
mov ecx, r12d
sub ecx, dword [r14 + 0x5e8]
cmp ecx, ebp
jbe 0x14006b8e9
mov qword [r14 + 0x5e0], rax
mov dword [r14 + 0x5e8], r12d
call fcn.14001054c
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14006b8e9
cmp dword [rcx], 0
jbe 0x14006b8e9
call fcn.14001054c
mov ebp, dword [r14 + 0x5d0]
mov ecx, dword [r14 + 0x5cc]
mov esi, dword [r14 + 0x5c8]
mov edi, dword [r14 + 0x5c4]
mov ebx, dword [r14 + 0x5c0]
mov r11d, dword [r14 + 0x5bc]
mov r10d, dword [r14 + 0x5b8]
mov eax, dword [r14 + 0x5b4]
mov r9d, dword [r14 + 0x5b0]
mov dword [rsp + 0x58], ebp
lea rdx, [r14 + 0x38]
mov dword [rsp + 0x50], ecx
mov r8d, r12d
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], eax
call fcn.14007059c
test r15, r15
je 0x14006b8fd
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [0x1400cf6e0]
call fcn.1400987b0
cmp dword [0x1400cf6e0], 0xffffffff
jne 0x14006b76c
xorps xmm0, xmm0
lea rcx, [0x1400cf6e0]
cvtsi2sd xmm0, qword [0x1400cf300]
mulsd xmm0, qword [0x1400b69f8]
cvttsd2si rax, xmm0
mov qword [0x1400cf6d8], rax
call fcn.140098748
jmp 0x14006b76c
Function at 0x14006c100
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword gs:[0x58]
mov rbx, rcx
mov ecx, 4
mov ebp, r8d
mov r14, rdx
mov r9, qword [rax]
mov eax, dword [rcx + r9]
cmp dword [0x1400cf6f0], eax
jg 0x14006c27d
test ebp, ebp
sete dil
test ebp, ebp
je 0x14006c1b2
lea rsi, [rbx + 0x348]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
mov edi, dword [rbx + 0x338]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov rax, qword [rsp + 0x50]
sub rax, qword [rbx + 0x350]
cmp rax, qword [0x1400cf6e8]
jle 0x14006c19b
sub edi, dword [rbx + 0x358]
cmp edi, 0x7d0
jbe 0x14006c19b
mov dil, 1
jmp 0x14006c19e
xor dil, dil
test rsi, rsi
je 0x14006c1b2
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
test dil, dil
je 0x14006c269
lea rdi, [rbx + 0x348]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov esi, dword [rbx + 0x338]
mov rax, qword [rsp + 0x68]
test ebp, ebp
je 0x14006c214
mov rcx, rax
sub rcx, qword [rbx + 0x350]
cmp rcx, qword [0x1400cf6e8]
jle 0x14006c255
mov ecx, esi
sub ecx, dword [rbx + 0x358]
cmp ecx, 0x7d0
jbe 0x14006c255
mov qword [rbx + 0x350], rax
mov dword [rbx + 0x358], esi
call fcn.14001054c
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14006c255
cmp dword [rcx], 0
jbe 0x14006c255
call fcn.14001054c
mov eax, dword [rbx + 0x340]
mov r9d, dword [rbx + 0x33c]
mov r8d, esi
mov dword [rsp + 0x20], eax
mov rdx, r14
call fcn.140070374
test rdi, rdi
je 0x14006c269
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
lea rcx, [0x1400cf6f0]
call fcn.1400987b0
cmp dword [0x1400cf6f0], 0xffffffff
jne 0x14006c13c
xorps xmm0, xmm0
lea rcx, [0x1400cf6f0]
cvtsi2sd xmm0, qword [0x1400cf300]
mulsd xmm0, qword [0x1400b69f8]
cvttsd2si rax, xmm0
mov qword [0x1400cf6e8], rax
call fcn.140098748
jmp 0x14006c13c
Function at 0x140073f68
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov bpl, r8b
mov rsi, rdx
mov rbx, rcx
cmp word [rdx], di
je 0x140074044
mov rcx, qword [rcx + 0x10]
lea r8d, [rdi + 0x5c]
test rcx, rcx
je 0x140073fbe
lea rdx, [rcx - 1]
cmp rcx, rdx
jbe 0x14007405c
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x140073fb7
mov rax, qword [rbx]
cmp word [rax + rdx*2], r8w
je 0x140073ff4
cmp word [rsi], r8w
je 0x140073ff4
mov rax, qword [rbx + 0x18]
sub rax, rcx
cmp rax, 1
jb 0x140073fec
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140073fe6
mov rax, qword [rbx]
mov dword [rax + rcx*2], r8d
jmp 0x140073ff4
mov rcx, rbx
call fcn.1400742c0
mov rdx, rsi
mov rcx, rbx
call fcn.14000e548
test bpl, bpl
je 0x140074044
cmp qword [rbx + 0x18], 8
jb 0x14007400e
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140074044
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
je 0x140074044
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call fcn.14000fcc8
int3
Function at 0x140074068
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, r8
mov r14b, dl
mov qword [rsp + 0x48], r8
movdqa xmm0, xmmword [0x1400b6aa0]
movdqu xmmword [rsp + 0x68], xmm0
xor r15d, r15d
mov word [rsp + 0x58], r15w
mov rdx, rcx
lea rcx, [rsp + 0x58]
call fcn.140006ed8
nop
xor r8d, r8d
lea rdx, [0x1400b12e4]
lea rcx, [rsp + 0x58]
call fcn.140073f68
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileExW]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
jne 0x140074133
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140074136
mov ebx, r15d
test ebx, ebx
js 0x140074213
mov byte [rsp + 0x30], 1
mov eax, dword [rbp - 0x80]
shr eax, 4
and al, 1
test r14b, r14b
je 0x14007417a
test al, al
je 0x1400741b3
movzx eax, word [rbp - 0x52]
cmp word [rbp - 0x54], 0x2e
jne 0x14007417e
test ax, ax
je 0x1400741b3
cmp word [rbp - 0x54], 0x2e
jne 0x14007417e
cmp ax, 0x2e
jne 0x14007417e
cmp word [rbp - 0x50], r15w
jne 0x14007417e
jmp 0x1400741b3
test al, al
jne 0x1400741b3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400741f6
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rax, qword [rax + 0x10]
call qword [case.0x14007bf7b.0]
mov ebx, eax
test ebx, ebx
js 0x14007421d
cmp byte [rsp + 0x30], r15b
je 0x14007421d
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140074143
cmp byte [rsp + 0x30], r15b
je 0x14007421d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
jne 0x140074203
mov ebx, r15d
jmp 0x14007421d
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xbad_function_call_void_]
nop dword [rax + rax]
int3
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14007421d
cmp ebx, 0x80070003
cmove ebx, r15d
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140074237
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x58]
call fcn.140006c74
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140074262
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x14007bf7b.0]
mov qword [rdi + 0x38], r15
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140097f60
mov rbx, qword [rsp + 0x318]
add rsp, 0x2e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret