joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400201a8
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov dil, r9b
mov ebx, ecx
xor esi, esi
mov qword [rbp + 0x17], rsi
lea rax, [rbp + 7]
mov qword [r11 - 0x60], rax
lea rax, [rbp + 0x17]
mov qword [r11 - 0x68], rax
mov dword [rsp + 0x30], 0x2001f
mov dword [rsp + 0x28], esi
lea r8, str.SOFTWAREMicrosoftWindows_SearchVolumeInfoCache
mov rdx, 0xffffffff80000002
call fcn.14000a628
test eax, eax
jne 0x140020245
test dil, dil
jne 0x14003ba08
lea rax, [rbp + 0x17]
mov qword [rbp + 0x27], rax
lea rax, [rbp + 7]
mov qword [rbp + 0x2f], rax
lea rax, [rbp + 0x6f]
mov qword [rbp + 0x37], rax
lea rax, [rbp + 0x77]
mov qword [rbp + 0x3f], rax
mov edi, esi
test ebx, ebx
je 0x140020245
test bl, 1
jne 0x14002026e
inc edi
shr ebx, 1
jne 0x14002023a
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14002025a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
lea edx, [rdi + 0x41]
lea rcx, [rbp + 0x27]
call fcn.140020284
jmp 0x14002023f
mov qword [rbp + 0xf], rsi
lea rax, [rbp + 7]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x77]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14003baf8
mov dword [rbp + 0xb], 3
lea r9d, [rax + 4]
mov dword [rsp + 0x28], r9d
lea rax, [rbp + 0xb]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.DriveType
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
lea rdx, [0x1400a68d0]
mov rcx, qword [rbp + 0x6f]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14003baf8
mov rcx, qword [rbp + 0x77]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x14003baa0
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.VolumeLabel
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140020245
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
jmp 0x140020245
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140020214
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
jmp 0x140020214
Function at 0x140020284
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [0x1400b2430]
mov rbx, rcx
mov dword [rsp + 0x5c], eax
xor edi, edi
movzx eax, word [0x1400b2434]
xor r9d, r9d
mov word [rsp + 0x60], ax
xor r8d, r8d
mov rax, qword [rcx]
mov word [rsp + 0x5c], dx
lea rdx, [r11 - 0x1c]
mov qword [r11 - 0x28], rdi
mov rcx, qword [rax]
mov rax, qword [rbx + 8]
mov qword [r11 - 0x38], rax
lea rax, [r11 - 0x28]
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140020399
mov rcx, qword [rsp + 0x50]
lea r9d, [rdi + 4]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DriveType
mov dword [rsp + 0x58], 3
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1400a68d0]
mov rcx, qword [rcx]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x140020399
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x14002035f
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, str.VolumeLabel
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400203af
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14002a3c0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1400204b4
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rsi, rdx
mov rbp, rcx
and qword [rdx], 0
lea rdx, [0x1400a7394]
mov ecx, 0x208
call fcn.14002a86c
mov rbx, rax
lea r9, [rsp + 0x48]
mov r8d, 0x104
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
je 0x14003bb18
xor edi, edi
mov rax, rbx
xor ebx, ebx
mov qword [rsi], rax
mov rcx, rbx
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.14000b3a0
mov edi, eax
cmp eax, 0x800700ea
jne 0x14003bb9d
mov ecx, dword [rsp + 0x48]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x1400a7394]
mov rcx, rax
call fcn.14002a86c
mov rdi, rax
mov rcx, rbx
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov rbx, rdi
test rdi, rdi
jne 0x14003bb72
mov edi, 0x8007000e
jmp 0x14002051d
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x48]
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x140020513
call fcn.14000b3a0
mov edi, eax
test edi, edi
js 0x14002051d
jmp 0x140020515

Function at 0x140020f7c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x38
lea rax, [rbp + 0x30]
mov ebx, 1
mov qword [rsp + 0x28], rax
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x20], ebx
call fcn.14000a9b8
test eax, eax
jg 0x14003bdb0
js 0x14002101a
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x20]
and dword [rbp + 0x28], 0
lea r9, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r8, str.EnableDefaultScope
lea rax, [rbp + 0x28]
mov dword [rbp + 0x20], 4
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x18], 4
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x140021004
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x14003bdbf
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov al, bl
add rsp, 0x38
pop rbx
pop rbp
ret
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x140020fb3
cmp dword [rbp + 0x18], 4
je 0x14003bdca
call fcn.14009835c
cmp dword [rbp + 0x20], 4
je 0x14003bdd5
call fcn.14009835c
mov eax, dword [rbp + 0x28]
neg eax
sbb cl, cl
and bl, cl
jmp 0x14002100a
Function at 0x1400215c0
Capabilities:
Compare security identifiers

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor r14d, r14d
mov sil, r14b
lea rax, [rbp - 0x80]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x41
mov word [rbp - 0x80], r14w
lea rax, [0x14009b690]
mov qword [rsp + 0x68], rax
lea rax, [0x14009b5a0]
mov qword [rsp + 0x60], rax
mov dword [rbp + 8], r14d
mov qword [rbp + 0x10], r14
mov qword [rsp + 0x20], r14
mov r9d, 0x2001f
lea r8, str.SOFTWAREMicrosoftWindows_SearchCrawlScopeManagerWindows
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.140012140
test eax, eax
js 0x1400217a2
mov eax, r14d
mov dword [rsp + 0x30], eax
lea edi, [r14 + 6]
lea r15d, [r14 + 4]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14003c8d8
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, r15d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetKeySecurity]
nop dword [rax + rax]
mov ecx, eax
mov eax, dword [rsp + 0x30]
cmp ecx, 0x7a
jne 0x1400217a2
mov ecx, eax
lea rdx, [0x1400a7394]
call fcn.14002a86c
mov rbx, rax
test rax, rax
je 0x140021791
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1400216dd
lea r9, [rsp + 0x30]
mov r8, rax
mov edx, r15d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetKeySecurity]
nop dword [rax + rax]
mov edi, eax
test edi, edi
jg 0x14003c8df
js 0x140021791
mov qword [rsp + 0x40], r14
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x34]
mov rcx, rbx
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetSecurityDescriptorDacl]
nop dword [rax + rax]
test eax, eax
je 0x14003c8ef
cmp dword [rsp + 0x34], r14d
je 0x140021791
mov dword [rsp + 0x38], 0x44
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x20]
xor edx, edx
lea ecx, [rdx + 0x1a]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CreateWellKnownSid]
nop dword [rax + rax]
test eax, eax
je 0x14003c901
mov edi, r14d
mov r15d, 1
lea r8, [rsp + 0x48]
mov edx, edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetAce]
nop dword [rax + rax]
test eax, eax
je 0x140021791
mov rdx, qword [rsp + 0x48]
add rdx, 8
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
jne 0x1400217d9
add edi, r15d
test sil, sil
je 0x140021750
mov rcx, rbx
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
lea rcx, [rsp + 0x60]
call fcn.1400142e0
mov al, sil
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14002a3c0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 4]
and ecx, 0xf003f
movzx esi, sil
cmp ecx, 0xf003f
cmove esi, r15d
jmp 0x140021789
mov ecx, edi
jmp 0x140021698
movzx edi, di
or edi, 0x80070000
test edi, edi
jmp 0x1400216e5
call fcn.14000b3a0
test eax, eax
js 0x140021791
jmp 0x140021716
call fcn.14000b3a0
test eax, eax
js 0x140021791
jmp 0x140021747
Function at 0x140024f30
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
nop dword [rax + rax]
mov r9d, 0x7cf
lea r12, [0x1400dc7d0]
mov r8, rax
mov rcx, r12
lea r13d, [r9 + 1]
mov edx, r13d
call fcn.140025310
xor r15d, r15d
test eax, eax
js 0x14002516c
mov rbx, r12
mov dword [rdi], r15d
lea edx, [r15 + 0x22]
cmp word [rbx], r15w
je 0x140025023
mov rax, rbx
sub rax, r12
sar rax, 1
cmp rax, r13
jae 0x140024fc8
movzx ecx, word [rbx]
test cx, cx
je 0x140024fc3
call qword [sym.imp.msvcrt.dll_iswspace]
nop dword [rax + rax]
test eax, eax
jne 0x140025151
mov edx, 0x22
mov rax, rbx
sub rax, r12
and rax, 0xfffffffffffffffe
cmp rax, 0xfa0
je 0x140025023
movzx ecx, word [rbx]
test cx, cx
je 0x140025023
cmp cx, dx
je 0x14003dd72
call qword [sym.imp.msvcrt.dll_iswspace]
nop dword [rax + rax]
test eax, eax
jne 0x14002500a
cmp word [rbx], r15w
je 0x14002500a
add rbx, 2
movzx ecx, word [rbx]
jmp 0x140024feb
inc dword [rdi]
mov rcx, rbx
sub rcx, r12
mov edx, 0x22
sar rcx, 1
cmp rcx, r13
jb 0x140024f8f
cmp dword [rdi], r15d
je 0x14002516c
movsxd rcx, dword [rdi]
mov eax, 8
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
mov rax, qword [0x14009e360]
call qword [case.0x140024575.0]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14002516c
mov rbx, r12
mov ebp, r15d
mov r14, rax
mov esi, 0x22
cmp word [rbx], r15w
je 0x14002512e
cmp ebp, dword [rdi]
jge 0x14002512e
mov rax, rbx
sub rax, r12
sar rax, 1
cmp rax, r13
jae 0x1400250aa
movzx ecx, word [rbx]
test cx, cx
je 0x1400250aa
call qword [sym.imp.msvcrt.dll_iswspace]
nop dword [rax + rax]
test eax, eax
jne 0x14003dd9a
mov rcx, rbx
sub rcx, r12
sar rcx, 1
cmp rcx, r13
je 0x14002512e
cmp word [rbx], r15w
je 0x14002512e
cmp word [rbx], si
lea r8, [rbx + 2]
mov rax, rbx
cmove rax, r8
inc ebp
mov qword [r14], rax
add r14, 8
cmp word [rbx], si
je 0x14003dda3
cmp rcx, r13
jae 0x14002510e
movzx ecx, word [rbx]
call qword [sym.imp.msvcrt.dll_iswspace]
nop dword [rax + rax]
test eax, eax
jne 0x14002510e
cmp word [rbx], r15w
je 0x14002511c
add rbx, 2
mov rax, rbx
sub rax, r12
sar rax, 1
cmp rax, r13
jb 0x1400250e3
cmp word [rbx], r15w
je 0x14002511c
mov word [rbx], r15w
add rbx, 2
mov rcx, rbx
sub rcx, r12
sar rcx, 1
cmp rcx, r13
jb 0x14002506e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
add rbx, 2
mov rax, rbx
sub rax, r12
sar rax, 1
cmp rax, r13
jb 0x140024fa7
jmp 0x140024fc3
xor eax, eax
jmp 0x140025133
lea rcx, [rbx + 2]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14003dd93
add rbx, 2
jmp 0x14002500a
inc dword [rdi]
jmp 0x140025023
add rbx, 2
jmp 0x140025080
mov edx, esi
mov rcx, r8
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14002512e
jmp 0x14002510e
Function at 0x140027cd0
Capabilities:
Block operations on executable memory pages using arbitrary code guard

Disassembly:
push rdi
sub rsp, 0x20
mov edi, 4
mov dword [rsp + 0x30], 1
mov r8d, edi
lea rdx, [rsp + 0x30]
lea ecx, [rdi - 2]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
mov r8d, edi
mov dword [rsp + 0x38], 1
lea rdx, [rsp + 0x38]
lea ecx, [rdi + 4]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
mov r8d, edi
mov dword [rsp + 0x40], 2
lea rdx, [rsp + 0x40]
lea ecx, [rdi + 5]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
mov r8d, edi
mov dword [rsp + 0x48], 1
lea rdx, [rsp + 0x48]
lea ecx, [rdi + 6]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
add rsp, 0x20
pop rdi
ret

Function at 0x140027d64
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, r9
xor ecx, ecx
mov rsi, r8
mov rbp, rdx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x14003e8aa
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
cmp eax, 0xea
je 0x14003e8c6
test eax, eax
jne 0x14003e8b1
mov eax, 1
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov ecx, 6
jmp 0x14003e8b3
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x140027ddb
mov ecx, 0x7a
jmp 0x14003e8b3
Function at 0x14002a158
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.14002ad74
add rsp, 0x28
jmp 0x14002a158
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x1400dbd38], rbx
je 0x14002a1a2
cmp rax, rbx
jne 0x14002a1b7
mov edi, 1
mov eax, dword [0x1400dbd40]
cmp eax, 1
jne 0x14002a1c4
lea ecx, [rax + 0x1e]
call fcn.140178000
jmp 0x14002a231
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14002a18b
mov eax, dword [0x1400dbd40]
test eax, eax
jne 0x14002a227
mov dword [0x1400dbd40], 1
lea r14, [0x1400a3d10]
lea rbx, [0x1400a3cf8]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x24], eax
cmp rbx, r14
jae 0x14002a219
test eax, eax
jne 0x14002a21d
cmp qword [rbx], 0
je 0x14002a20e
mov rax, qword [rbx]
mov rcx, qword [case.0x140024575.0]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x14002a1ef
test eax, eax
je 0x14002a231
mov eax, 0xff
jmp 0x14002a384
mov dword [0x1400db430], 1
mov eax, dword [0x1400dbd40]
cmp eax, 1
jne 0x14002a259
lea rdx, [0x1400a3cf0]
lea rcx, [0x1400a3b08]
call sub.msvcrt.dll__initterm
mov dword [0x1400dbd40], 2
test edi, edi
jne 0x14002a266
xor eax, eax
xchg qword [0x1400dbd38], rax
cmp qword [0x1400dbd58], 0
je 0x14002a29a
lea rcx, [0x1400dbd58]
call fcn.14002ace0
test eax, eax
je 0x14002a29a
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400dbd58]
mov r9, qword [case.0x140024575.0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x14002a326
test cl, cl
je 0x14002a2bd
test edi, edi
jne 0x14002a326
dec cl
cmp cl, 0x1f
ja 0x14002a2d0
inc rbx
mov qword [rsp + 0x28], rbx
mov cl, byte [rbx]
jmp 0x14002a2bd
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140006738
mov dword [0x1400db42c], eax
cmp dword [0x1400db450], 0
jne 0x14002a30f
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400db430], 0
jne 0x14002a324
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400db42c]
jmp 0x14002a384
cmp cl, 0x22
jne 0x14002a338
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x14002a34a
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x14002a2ad
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret
Function at 0x14002abcc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002ac18
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ac10
cmp dword [rcx + 0x3c], edx
jl 0x14002ac10
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14002ac10
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14002ac18
mov rax, rdx
add rsp, 0x18
ret

Function at 0x14002ae8c
Capabilities:
Print debug messages

Disassembly:
jmp 0x14002ae98
push rbx
sub rsp, 0x540
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14002af15
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlVirtualUnwind]
jmp 0x14002af35
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14002a3c0
add rsp, 0x540
pop rbx
ret

Function at 0x14002ae98
Capabilities:
Print debug messages

Disassembly:
jmp 0x14002ae98
push rbx
sub rsp, 0x540
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14002af15
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlVirtualUnwind]
jmp 0x14002af35
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14002a3c0
add rsp, 0x540
pop rbx
ret
Function at 0x140046374
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x358]
sub rsp, 0x450
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov rdi, rcx
lea rax, [rbp + 0x130]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
nop dword [rax + rax]
mov ebx, eax
xor esi, esi
test eax, eax
js 0x14004653c
mov ecx, 0x104
mov edx, ecx
lea rax, [rbp + 0x130]
cmp word [rax], si
je 0x1400463fc
add rax, 2
sub rdx, 1
jne 0x1400463ed
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80070057
test rdx, rdx
je 0x140046419
mov rax, rcx
sub rax, rdx
jmp 0x14004641c
mov rax, rsi
test rdx, rdx
je 0x140046481
sub rcx, rax
lea rdx, [rbp + 0x130]
lea rdx, [rdx + rax*2]
je 0x140046466
lea r8, [rax + 0x7ffffefa]
add r8, rcx
lea rax, str.MicrosoftSearchCatalogCorruptionLogData_
sub rax, rdx
test r8, r8
je 0x140046466
movzx r9d, word [rax + rdx]
test r9w, r9w
je 0x140046466
mov word [rdx], r9w
add rdx, 2
dec r8
sub rcx, 1
jne 0x140046445
lea rax, [rdx - 2]
test rcx, rcx
cmovne rax, rdx
mov word [rax], si
neg rcx
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test ebx, ebx
js 0x14004653c
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.14001c0c4
mov rdx, rax
mov rcx, rdi
call fcn.140056e4c
xor r8d, r8d
lea rdx, [rbp + 0x130]
xor ecx, ecx
call qword [sym.imp.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290]
nop dword [rax + rax]
test eax, eax
je 0x1400464de
cmp eax, 0x50
je 0x1400464de
cmp eax, 0xb7
je 0x1400464de
test eax, eax
jg 0x1400464d5
mov ebx, eax
jmp 0x1400464de
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x14004653c
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x18]
call fcn.14001c0c4
mov rbx, rax
lea rdx, [rdi + 0xb0]
lea rcx, [rsp + 0x48]
call fcn.14001c044
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x88]
call fcn.14001c488
nop
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140056ae4
mov ebx, eax
test eax, eax
js 0x14004653c
call fcn.14004d280
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.14002a3c0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret