joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14033bec0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rdi, r8
cmp edx, 0x80
je 0x14033bf14
cmp edx, 0x100
je 0x14033bef6
mov eax, 1
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
mov rdx, rcx
mov rcx, rdi
call fcn.14033b280
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
mov qword [rsp + 0x90], rbp
mov rdx, rcx
mov qword [rsp + 0x98], rsi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0xa0], r14
mov dword [r8 + 0xf0], 0xa
call fcn.14033aad0
movups xmm0, xmmword [rsp + 0x20]
mov ebx, 1
lea r14, [0x140381540]
movabs rbp, 0xf000000000000
movups xmmword [rdi], xmm0
add rdi, 0x10
xor esi, esi
nop dword [rax + rax]
mov rax, qword [rsp + 0x20]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
mov rax, qword [rsp + 0x28]
xorps xmm1, xmm1
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rsi
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], rsi
movdqa xmmword [rsp + 0x70], xmm1
call fcn.14033bb50
lea rcx, [rsp + 0x40]
call fcn.14033b690
lea rcx, [rsp + 0x40]
call fcn.14033bb50
mov rax, qword [rsp + 0x40]
mov r9, rsi
movzx r10d, byte [rbx + r14 - 1]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
nop dword [rax + rax]
mov rdx, qword [rsp + r9*8 + 0x30]
movzx ecx, r9b
mov rax, rdx
shl cl, 2
shr rax, 0x10
and rdx, rbp
or rax, rdx
mov r8, r10
shr rax, 0x24
shr r8, cl
and r8d, 0xf
xor r8, rax
xor r8, qword [rsp + r9*8 + 0x20]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rsp + r9*8 + 0x20], rax
inc r9
cmp r9, 2
jb 0x14033bfe0
movups xmm0, xmmword [rsp + 0x20]
inc rbx
movups xmmword [rdi], xmm0
add rdi, 0x10
cmp rbx, 0xa
jbe 0x14033bf70
mov r14, qword [rsp + 0xa0]
xor eax, eax
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x14033cac0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor eax, eax
mov r11, rcx
mov r10d, 1
movabs rdi, 0x8000000000000000
lea ebx, [rax + 0x20]
nop dword [rax]
nop word [rax + rax]
shr rax, 1
mov r9, r10
and r9d, 1
neg r9
mov rdx, r9
and r9, rdi
add r9, rax
and rdx, r11
mov r8, rdx
shr r9, 1
xor r8, r10
and rdx, r10
shr r8, 1
add r8, rdx
mov rax, r8
and eax, 1
neg rax
mov rcx, rax
and rax, rdi
and rcx, r11
add rax, r9
mov r10, rcx
and rcx, r8
xor r10, r8
shr r10, 1
add r10, rcx
sub rbx, 1
jne 0x14033caf0
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x14033df20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14033df6a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14033df6a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14033df6a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14033df6a
cmp dword [rcx + 0x84], 0xe
jbe 0x14033df6a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14033df6c
xor al, al
add rsp, 0x28
ret
Function at 0x14034ba30
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14034ba91
mov rdi, rax
lea rdx, [0x1404005ce]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14034ba91
mov rsi, rax
lea rdx, [0x1404005dc]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14034ba91
mov rdi, rax
xor ebx, ebx
jmp 0x14034bb17
lea rcx, [0x140400568]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14034bb8b
mov rsi, rax
lea rdx, [0x140400572]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14034bb8b
mov rdi, rax
lea rdx, [0x140400585]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14034bb8b
mov rbx, rax
lea rdx, [0x140400599]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14034bb8b
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x14034bb8b
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x1404ecfe1]
mov ecx, 0x18
mov edx, 8
call fcn.140089c90
test rax, rax
je 0x14034bb92
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x1404ed060], rcx
je 0x14034bb7f
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x14034bb68
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.140089ca0
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.14034b9f0
jmp 0x14034bba9
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.14034fb20
ud2
Function at 0x14034ee70
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1403201f0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14034eecb
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14034ef44
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140089ca0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x14034ef51
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x14034ef44
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140089ca0
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x14034ef33
jmp 0x14034ef44
Function at 0x140006730
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 r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x1400b0e58]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
lea rax, [rsp + 0x30]
mov qword [r8], r15
lea rdx, [rsp + 0x30]
sub rcx, rax
mov r14, r8
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x1400067a1
movzx eax, word [rcx + rdx]
test ax, ax
je 0x1400067a1
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x14000677f
test r9, r9
lea rax, [rdx - 2]
lea r8, [0x14008f1b8]
cmovne rax, rdx
lea rcx, [rsp + 0x30]
mov word [rax], r15w
call fcn.1400045b0
mov ebx, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, ebx
xor edx, edx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140006815
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x1400067f9
mov esi, r15d
jmp 0x14000684d
mov rcx, qword [rbp + 0x168]
lea r8, [0x14008f0bc]
mov edx, 0xc9
call fcn.14000600c
mov esi, eax
jmp 0x14000684d
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], r15d
mov rcx, rdi
mov dword [rsp + 0x24], r15d
call fcn.14000659c
mov esi, eax
test eax, eax
jns 0x140006885
mov rcx, qword [rbp + 0x168]
lea r8, [0x14008f0bc]
mov r9d, eax
mov edx, 0xcf
call fcn.140005fe4
test rdi, rdi
jne 0x14000693c
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14007e5c0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [0x14008f1c0]
lea rcx, [rsp + 0x30]
call fcn.1400045b0
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x1400068cf
mov rcx, qword [rbp + 0x168]
lea r8, [0x14008f0bc]
mov edx, 0xd5
call fcn.14000600c
mov esi, eax
jmp 0x14000693c
lea rdx, [rsp + 0x24]
mov rcx, rbx
call fcn.14000659c
mov esi, eax
test eax, eax
jns 0x140006912
mov rcx, qword [rbp + 0x168]
lea r8, [0x14008f0bc]
mov r9d, eax
mov edx, 0xd7
call fcn.140005fe4
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 0x14000696d
jmp 0x14000693c
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 0x140006954
movsxd rcx, dword [rsp + 0x24]
mov esi, r15d
movsxd rax, dword [rsp + 0x20]
shl rcx, 0x1f
or rcx, rax
mov qword [r14], rcx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x140006986
jmp 0x140006856
mov rcx, qword [rbp + 0x168]
lea r8, str.onecoreinternal_sdkincwilopensource_wil_resource.h
mov edx, 0x937
call fcn.14000602c
int3
mov rcx, qword [rbp + 0x168]
lea r8, str.onecoreinternal_sdkincwilopensource_wil_resource.h
mov edx, 0x937
call fcn.14000602c
int3
mov rcx, qword [rbp + 0x168]
lea r8, str.onecoreinternal_sdkincwilopensource_wil_resource.h
mov edx, 0x937
call fcn.14000602c
int3
Function at 0x14004d3b0
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 [0x1400b0e58]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x14004d3e9
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, [0x140094720]
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 0x14004d445
mov rcx, qword [rbp + 0x18]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
lea edx, [r15 + 0x4a]
call fcn.140005fe4
jmp 0x14004d4c7
mov qword [rbp - 0x28], r15
movdqa xmm0, xmmword [0x140099980]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.140007934
nop
mov esi, r15d
lea r14, [0x1400897c8]
mov r8b, 1
mov rdx, qword [r14]
lea rcx, [rbp - 0x28]
call fcn.14005b0a0
mov ebx, eax
test eax, eax
js 0x14004d4a4
inc esi
add r14, 8
cmp esi, 3
jb 0x14004d473
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14004e940
mov ebx, r15d
jmp 0x14004d4bd
mov rcx, qword [rbp + 0x18]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov edx, 0x4f
call fcn.140005fe4
nop
lea rcx, [rbp - 0x28]
call fcn.14000720c
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14004d4dc
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.14007e5c0
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 0x14004d8b0
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400b0e58]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rdx
mov esi, ecx
lea r12, fcn.140013cb0
mov qword [rsp + 0x28], r12
and qword [rsp + 0x30], 0
xor ebx, ebx
mov r15d, 0x80070000
test ecx, ecx
jne 0x14004d90b
lea rdx, [0x140094708]
jmp 0x14004da03
mov r8d, esi
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 qword [rsp + 0x30], rax
test rax, rax
jne 0x14004d958
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, r15d
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
test ecx, ecx
js 0x14004d9c4
mov rax, qword [rsp + 0x30]
mov dword [rsp + 0x20], 0x104
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_0.dll_GetPackageFamilyName]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14004d9c4
and qword [rsp + 0x38], 0
movdqa xmm0, xmmword [0x140099980]
movdqu xmmword [rsp + 0x48], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140007934
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14004e940
lea rcx, [rsp + 0x38]
call fcn.14000720c
jmp 0x14004da30
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32GetProcessImageFileNameW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14004da0d
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, rdi
call fcn.140007934
jmp 0x14004da30
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.1400173b0
mov rdx, rax
mov rcx, rdi
call fcn.14004e940
lea rcx, [rsp + 0x38]
call fcn.14000720c
xor ebx, ebx
mov qword [rsp + 0x28], r12
cmp qword [rsp + 0x30], 0
je 0x14004da4b
lea rcx, [rsp + 0x28]
call fcn.140013cb0
test al, al
je 0x14004da74
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14007e5c0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r12
pop rdi
pop rsi
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, r15d
test eax, eax
cmovle ecx, eax
call fcn.140013c88
int3
Function at 0x1400535e8
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 esi, edx
mov r8, qword [rax]
mov eax, dword [rcx + r8]
cmp dword [0x1400b2018], eax
jg 0x1400537de
test esi, esi
mov ebp, 0x3e8
sete bl
test esi, esi
je 0x1400536a1
lea rdi, [r14 + 0x568]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
mov ebx, dword [r14 + 0x53c]
lea rcx, [rsp + 0x90]
nop
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 + 0x570]
cmp rax, qword [0x1400b2010]
jle 0x14005368b
sub ebx, dword [r14 + 0x578]
cmp ebx, ebp
jbe 0x14005368b
mov bl, 1
jmp 0x14005368d
xor bl, bl
test rdi, rdi
je 0x1400536a1
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
test bl, bl
je 0x1400537c4
lea r15, [r14 + 0x568]
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 + 0x53c]
nop
mov rax, qword [rsp + 0xa0]
test esi, esi
je 0x140053710
mov rcx, rax
sub rcx, qword [r14 + 0x570]
cmp rcx, qword [0x1400b2010]
jle 0x1400537b0
mov ecx, r12d
sub ecx, dword [r14 + 0x578]
cmp ecx, ebp
jbe 0x1400537b0
mov qword [r14 + 0x570], rax
mov dword [r14 + 0x578], r12d
call fcn.1400100ec
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400537b0
cmp dword [rcx], 0
jbe 0x1400537b0
call fcn.1400100ec
mov ebp, dword [r14 + 0x560]
lea rdx, [r14 + 0x38]
nop
mov dword [rsp + 0x58], ebp
mov ecx, dword [r14 + 0x55c]
mov r8d, r12d
nop
mov dword [rsp + 0x50], ecx
mov esi, dword [r14 + 0x558]
nop
mov edi, dword [r14 + 0x554]
nop
mov ebx, dword [r14 + 0x550]
nop
mov r11d, dword [r14 + 0x54c]
nop
mov r10d, dword [r14 + 0x548]
nop
mov eax, dword [r14 + 0x544]
nop
mov r9d, dword [r14 + 0x540]
nop
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.1400588f4
test r15, r15
je 0x1400537c4
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, [0x1400b2018]
call fcn.14007ed50
cmp dword [0x1400b2018], 0xffffffff
jne 0x140053624
xorps xmm0, xmm0
lea rcx, [0x1400b2018]
cvtsi2sd xmm0, qword [0x1400b1cc8]
mulsd xmm0, qword [0x1400998e0]
cvttsd2si rax, xmm0
mov qword [0x1400b2010], rax
call fcn.14007ece8
jmp 0x140053624
Function at 0x140053f80
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 [0x1400b2028], eax
jg 0x140054101
test ebp, ebp
sete dil
test ebp, ebp
je 0x140054033
lea rsi, [rbx + 0x2d8]
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 + 0x2c8]
lea rcx, [rsp + 0x50]
nop
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 + 0x2e0]
cmp rax, qword [0x1400b2020]
jle 0x14005401c
sub edi, dword [rbx + 0x2e8]
cmp edi, 0x7d0
jbe 0x14005401c
mov dil, 1
jmp 0x14005401f
xor dil, dil
test rsi, rsi
je 0x140054033
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 0x1400540ed
lea rdi, [rbx + 0x2d8]
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 + 0x2c8]
nop
mov rax, qword [rsp + 0x68]
test ebp, ebp
je 0x140054096
mov rcx, rax
sub rcx, qword [rbx + 0x2e0]
cmp rcx, qword [0x1400b2020]
jle 0x1400540d9
mov ecx, esi
sub ecx, dword [rbx + 0x2e8]
cmp ecx, 0x7d0
jbe 0x1400540d9
mov qword [rbx + 0x2e0], rax
mov dword [rbx + 0x2e8], esi
call fcn.1400100ec
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400540d9
cmp dword [rcx], 0
jbe 0x1400540d9
call fcn.1400100ec
mov eax, dword [rbx + 0x2d0]
mov r8d, esi
nop
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx + 0x2cc]
mov rdx, r14
nop
call fcn.140058694
test rdi, rdi
je 0x1400540ed
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, [0x1400b2028]
call fcn.14007ed50
cmp dword [0x1400b2028], 0xffffffff
jne 0x140053fbc
xorps xmm0, xmm0
lea rcx, [0x1400b2028]
cvtsi2sd xmm0, qword [0x1400b1cc8]
mulsd xmm0, qword [0x1400998e0]
cvttsd2si rax, xmm0
mov qword [0x1400b2020], rax
call fcn.14007ece8
jmp 0x140053fbc
Function at 0x14005b1b8
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 [0x1400b0e58]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, r8
mov r14b, dl
mov qword [rsp + 0x48], r8
xor r15d, r15d
mov qword [rsp + 0x58], r15
movdqa xmm0, xmmword [0x140099980]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r15w
mov rdx, rcx
lea rcx, [rsp + 0x58]
call fcn.140007934
nop
xor r8d, r8d
lea rdx, [0x140094acc]
lea rcx, [rsp + 0x58]
call fcn.14005b0a0
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 0x14005b29d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebx, ecx
test ecx, ecx
jns 0x14005b2a0
cmp ecx, 0x80070003
jne 0x14005b37d
jmp 0x14005b35d
mov ebx, r15d
mov byte [rsp + 0x30], 1
mov eax, dword [rbp - 0x80]
shr eax, 4
and al, 1
test r14b, r14b
je 0x14005b2dc
test al, al
je 0x14005b31f
movzx eax, word [rbp - 0x52]
cmp word [rbp - 0x54], 0x2e
jne 0x14005b2e0
test ax, ax
je 0x14005b31f
cmp word [rbp - 0x54], 0x2e
jne 0x14005b2e0
cmp ax, 0x2e
jne 0x14005b2e0
cmp word [rbp - 0x50], r15w
jne 0x14005b2e0
jmp 0x14005b31f
test al, al
jne 0x14005b31f
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 0x14005b362
mov rax, qword [rcx]
movabs r10, 0xc6f03f65785a9370
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rax, qword [rax + 0x10]
call qword [case.0x140063591.0]
mov ebx, eax
test ebx, ebx
js 0x14005b37d
cmp byte [rsp + 0x30], r15b
je 0x14005b37d
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 0x14005b2a5
cmp byte [rsp + 0x30], r15b
je 0x14005b37d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
jne 0x14005b36f
mov ebx, r15d
jmp 0x14005b37d
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
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005b397
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.14000720c
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14005b3cc
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
movabs r10, 0xed1dae5b305f0370
mov rax, qword [rax + 0x20]
call qword [case.0x140063591.0]
mov qword [rdi + 0x38], r15
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14007e5c0
mov rbx, qword [rsp + 0x318]
add rsp, 0x2e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret