joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff768381a00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x7ff768381aa7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x7ff768381a5a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.7ff76838e250
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.7ff76836e2f0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x7ff7684cb3d8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x7ff768381aaf
mov rcx, rbx
call fcn.7ff76836e2f0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x7ff768381ef0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x7ff768381f42
lea r11, [0x7ff7683bca00]
cmp r9b, 0x23
jne 0x7ff768381f25
cmp byte [r8], r9b
jne 0x7ff768381f25
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x7ff768381f12
mov r11, qword [0x7ff7684cb3e0]
mov r10, qword [r11 + 0x3228]
test r10, r10
je 0x7ff768381f89
lea r9, [r10 + 4]
test r9, r9
je 0x7ff768381f89
not eax
cmp dword [r9], eax
je 0x7ff768381f92
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x7ff768381f60
mov rcx, rbx
pop rbx
jmp fcn.7ff768381e00
mov rax, r9
pop rbx
ret
Function at 0x7ff768385420
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x7ff76838565e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x7ff7684b2040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x7ff7683bca00]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x7ff768385626
mov rcx, rbp
call fcn.7ff768384b00
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x7ff7683854f1
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x7ff7683854e1
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x7ff7683854d9
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x7ff7683854dc
mov rdx, rcx
test rdx, rdx
jne 0x7ff7683854b0
cmp r8, r10
je 0x7ff7683854f1
cmp dword [r8], r9d
jne 0x7ff7683854f1
mov rcx, qword [r8 + 8]
jmp 0x7ff7683854f3
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x7ff768385587
cmp qword [rcx + 0x18], 0
jne 0x7ff76838557c
mov qword [rcx + 0x18], rbx
jmp 0x7ff768385587
cmp qword [rcx + 0x20], 0
jne 0x7ff768385587
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x7ff7683855bc
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x7ff7683855b0
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.7ff76836d9d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x7ff768385618
cmp r9b, 0x23
jne 0x7ff7683855fb
cmp byte [r8], r9b
jne 0x7ff7683855fb
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x7ff7683855e8
not ecx
call fcn.7ff768375a00
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x7ff768385470
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.7ff7683b8c00
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x7ff7683b8304
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x7ff7683b833e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x7ff7683b8343
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x7ff7683b838c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x7ff7683bbae0]
cmp byte [rcx + rax], 0
je 0x7ff7683b838c
dec r8
sub rdx, 1
jne 0x7ff7683b8372
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x7ff7683b8780
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.7ff7683b841c
mov ebx, eax
test eax, eax
jne 0x7ff7683b87b0
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x7ff7683b8813
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x7ff7683b880a
test al, 0x10
je 0x7ff7683b880a
bt eax, 0xa
jae 0x7ff7683b8803
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.7ff7683b8824
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x7ff7683b87ff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x7ff7683b87ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x7ff7683b880a
and dword [rsp + 0x3c], 0
jmp 0x7ff7683b880f
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x7ff7683b99e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff7683b9a2a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff7683b9a2a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff7683b9a2a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff7683b9a2a
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff7683b9a2a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x7ff7683b9a2c
xor al, al
add rsp, 0x28
ret
Function at 0x140002780
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov dl, 1
lea rcx, str.Removing_dim_job_to_startup
call fcn.140017250
mov qword [rsp + 0x38], 0xffffffff80000001
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x90]
add rax, 0x178
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.14001b500
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x90]
add rax, 0x178
mov rcx, rax
call fcn.14001b560
mov r8, qword [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140002c90
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea r8, [rsp + 0x28]
lea rdx, [0x140027560]
lea rcx, [rsp + 0x60]
call fcn.140002c90
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
cmp dword [rsp + 0x20], 0
jne 0x14000289e
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
add rsp, 0x88
ret
Function at 0x140004cf0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14003b250]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0xf0], 0
je 0x140004e3a
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0xe0], 0
je 0x140004e3a
mov dl, 1
lea rcx, str.Resuming_Sub_Job
call fcn.140017250
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x78]
call fcn.14001f460
mov qword [rsp + 0x28], 0
lea rdx, [0x140031810]
lea rcx, [rsp + 0x40]
call fcn.140003470
movzx eax, al
test eax, eax
je 0x140004e3a
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0xf0]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0xf0]
mov rax, qword [rax]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x40]
call qword [rax + 0x20]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0xe0]
call fcn.14001b5c0
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
call fcn.14001f240
nop
cmp dword [rsp + 0x24], 0
jl 0x140004de2
cmp qword [rsp + 0x28], 0
jne 0x140004e01
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140004dff
mov byte [rsp + 0x20], 1
jmp 0x140004e2f
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov dl, 1
mov rcx, rax
call fcn.140017250
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x38]
mov dword [rsp + 0x24], eax
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140021890
add rsp, 0x68
ret
Function at 0x140005840
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, reloc.mfc120u.dll_Ordinal_280
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov dword [rsp + 0x58], 0
mov rax, qword [rsp + reloc.mfc120u.dll_Ordinal_296]
mov qword [rsp + 0x70], rax
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0xa0]
call sub.MSVCR120.dll_memset
mov dword [rsp + 0xa0], VarBstrFromDisp
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x58], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x54]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
cmp dword [rsp + 0x58], 0
je 0x140005951
mov r8d, dword [rsp + 0x54]
lea rdx, str.Install_finished_with_error_Code:__Xh
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
jmp 0x14000596d
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x68]
lea rdx, str.Create_Process_failed___Error_Code:__Xh___Process_exit_error_Code:__Xh
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov dl, 1
mov rcx, rax
call fcn.140017250
cmp dword [rsp + 0x54], 0
je 0x1400059a7
cmp dword [rsp + 0x54], 0x669
je 0x1400059a7
cmp dword [rsp + 0x54], 0xbc2
je 0x1400059a7
mov dword [rsp + 0x5c], 0
jmp 0x1400059af
mov dword [rsp + 0x5c], 1
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x50], al
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
movzx eax, byte [rsp + 0x50]
add rsp, reloc.mfc120u.dll_Ordinal_280
ret
Function at 0x140007590
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x28], 0xfffffffffffffffe
cmp qword [rsp + 0x48], 0
je 0x140007669
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax]
test eax, eax
je 0x140007669
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140007611
mov dl, 1
lea rcx, str.Using_custom_UI_at:
call fcn.140017250
mov dl, 1
mov rcx, qword [rsp + 0x48]
call fcn.140017250
mov rax, qword [rsp + 0x40]
add rax, 0x130
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
jmp 0x140007667
lea rdx, str.cannot_find_html_resouce_for_this_dialog.
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
nop
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rdx, str._doesnt_exist
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov dl, 1
mov rcx, rax
call fcn.140017250
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
jmp 0x140007677
mov dl, 1
lea rcx, str.cannot_find_html_resouce_for_this_dialog
call fcn.140017250
add rsp, 0x38
ret

Function at 0x140007fb0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x368
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [rsp + 0x370]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x370]
call qword [rax + 0x3c0]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.14001bd10
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_7775]
movzx eax, al
test eax, eax
jne 0x1400080c5
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400080c5
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov r9, qword [rsp + 0x370]
mov r8, qword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140006850
nop
lea rcx, [rsp + 0x50]
call sub.mfc120u.dll_Ordinal_3908
cmp rax, 1
jne 0x140008073
mov rcx, qword [rsp + 0x370]
call sub.mfc120u.dll_Ordinal_8612
jmp 0x1400080b9
lea rdx, [0x14002ab34]
lea rcx, [rsp + 0x38]
call fcn.140008510
nop
mov rax, qword [rsp + 0x370]
mov rax, qword [rax]
xor r9d, r9d
lea r8, [rsp + 0x38]
lea rdx, str.OnTimer
mov rcx, qword [rsp + 0x370]
call qword [rax + Ordinal_980]
nop
lea rcx, [rsp + 0x38]
call fcn.140008570
nop
lea rcx, [rsp + 0x50]
call fcn.140006980
jmp 0x1400080d3
mov rcx, qword [rsp + 0x370]
call sub.mfc120u.dll_Ordinal_8612
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
add rsp, 0x368
ret
Function at 0x140008640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140009f20
nop
lea rcx, [rsp + 0x38]
call fcn.14000ad20
test eax, eax
jne 0x1400086c2
mov edx, 0x104
lea rcx, [rsp + 0x38]
call fcn.14000a5f0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rcx, [rsp + 0x38]
call fcn.14000a520
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
je 0x1400086c2
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
je 0x1400086c2
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x38]
call fcn.140009e60
movzx eax, byte [rsp + 0x21]
add rsp, 0x58
ret

Function at 0x1400086f0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov rax, qword [0x14003b250]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x40], 0x18
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.140008840
movzx eax, al
test eax, eax
je 0x14000874b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor eax, eax
mov word [rsp + 0x60], ax
lea rax, [rsp + 0x62]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
test eax, eax
je 0x1400087f6
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5c
je 0x1400087a0
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x2f
jne 0x1400087be
mov rax, qword [rsp + 0x20]
movzx eax, word [rax - 2]
cmp eax, 0x3a
je 0x1400087be
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
movzx ecx, word [rcx]
mov word [rax], cx
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 2
mov qword [rsp + 0x20], rax
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rcx], ax
jmp 0x14000877a
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rsp + 0x30]
call fcn.1400088b0
mov rcx, qword [rsp + 0x290]
call fcn.140008640
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140021890
add rsp, 0x280
pop rdi
ret
Function at 0x14000c440
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x14003b250]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x38], 0
lea rdx, [0x14002bc70]
lea rcx, [rsp + 0x58]
call fcn.140009f20
nop
lea rcx, [rsp + 0x58]
call fcn.14000a520
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14000c509
lea rdx, [0x14002bc90]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14000c4fe
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8023
xor ecx, ecx
call qword [rsp + 0x38]
test eax, eax
jl 0x14000c4fe
mov dword [rsp + 0x34], 1
mov byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14000c55c
xor eax, eax
mov word [rsp + 0x70], ax
lea rax, [rsp + 0x72]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.Common_Application_Data
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [rsp + 0x34], 1
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x58]
call fcn.140009e60
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140021890
add rsp, 0x290
pop rdi
ret

Function at 0x14000cac0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14000cb92
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.MSVCR120.dll_wcslen]
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14000cb87
mov dword [rsp + 0x54], 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x54]
add rsp, 0x68
ret