joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a290e
Capabilities:
Get file size
Read file on windows

Disassembly:
jmp 0x1400e7140
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x248]
mov rax, qword [0x140248940]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, [0x140266107]
call fcn.1400a4e07
mov dword [rbp + 4], 0
lea rax, [rbp + 0xe8]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov qword [rbp + 0x118], 0
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1400e71dc
jmp 0x1400e7372
mov qword [rbp + 0x48], 0
xor r9d, r9d
lea r8, [rbp + 0x68]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x1400e720a
jmp 0x1400e7372
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xa4]
mov r8d, 0x1c
mov rdx, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400e7242
jmp 0x1400e7372
call fcn.1400a35ca
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x118]
call fcn.1400a2788
mov dword [rbp + 0x84], 0x1c
mov eax, dword [rbp + 0x84]
cmp rax, qword [rbp + 0x28]
jge 0x1400e731e
mov eax, dword [rbp + 0x230]
mov ecx, dword [rbp + 0x84]
add ecx, eax
mov eax, ecx
mov eax, eax
cmp rax, qword [rbp + 0x28]
jge 0x1400e729a
mov eax, dword [rbp + 0x230]
mov dword [rbp + 0xc4], eax
jmp 0x1400e72b0
mov eax, dword [rbp + 0x84]
mov rcx, qword [rbp + 0x28]
sub rcx, rax
mov rax, rcx
mov dword [rbp + 0xc4], eax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xa4]
mov r8d, dword [rbp + 0xc4]
mov rdx, qword [rbp + 0x228]
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400e72e9
jmp 0x1400e7372
mov r8d, dword [rbp + 0xa4]
mov rdx, qword [rbp + 0x228]
mov rcx, qword [rbp + 0x118]
call fcn.1400a4169
mov eax, dword [rbp + 0xa4]
mov ecx, dword [rbp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
jmp 0x1400e7264
mov rcx, qword [rbp + 0x118]
call fcn.1400a0168
mov r8d, 0x10
lea rdx, [rbp + 0xe8]
mov rcx, qword [rbp + 0x118]
call fcn.1400a1937
mov rax, qword [rbp + 0x220]
add rax, 0xc
mov r8d, 0x10
lea rdx, [rbp + 0xe8]
mov rcx, rax
call fcn.1400a1d38
test eax, eax
je 0x1400e736b
jmp 0x1400e7372
mov dword [rbp + 4], 1
cmp qword [rbp + 0x118], 0
je 0x1400e7388
mov rcx, qword [rbp + 0x118]
call fcn.1400a083e
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x140200720]
call fcn.1400a3fe8
mov eax, edi
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.1400a25bc
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x1400a2a80
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140132730
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140132100
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140132771
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140268020]
jmp 0x140132777
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1400a2b34
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401b2790
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1401b16c0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1401b27f7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140268030]
jmp 0x1401b2819
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400a1e9b
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x1400a2b52
Capabilities:
Terminate process

Disassembly:
jmp 0x14010c820
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400a2d82
Capabilities:
Read file on windows
Write file on windows

Disassembly:
jmp 0x1400e9600
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
lea rcx, [0x140266107]
call fcn.1400a4e07
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0xffffffffffffffff
mov dword [rbp + 0xa4], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 1
mov edx, 0xc0000000
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x1400e96a9
jmp 0x1400e9780
mov eax, dword [rbp + 0x1c8]
cmp dword [rbp + 0xa4], eax
jae 0x1400e9763
mov eax, dword [rbp + 0x1c0]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
cmp eax, dword [rbp + 0x1c8]
jae 0x1400e96de
mov eax, dword [rbp + 0x1c0]
mov dword [rbp + 0x64], eax
jmp 0x1400e96f1
mov eax, dword [rbp + 0xa4]
mov ecx, dword [rbp + 0x1c8]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x64], eax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400e971e
jmp 0x1400e9780
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x84]
mov r8d, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400e974b
jmp 0x1400e9780
mov eax, dword [rbp + 0x44]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0xa4], eax
jmp 0x1400e96a9
mov r9, qword [rbp + 0x1d0]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [rbp + 4], 1
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x1400e9791
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x140200810]
call fcn.1400a3fe8
mov eax, edi
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400a2e72
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401cc810
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140248940]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1401cc836
jmp 0x1401cc8b3
mov rcx, qword [rbp + 0x30]
call fcn.1400a22d8
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1401cc84f
jmp 0x1401cc8b3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1401cc86c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400a0dd9
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400a13f1
test eax, eax
jne 0x1401cc8b3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400a25bc
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1400a2e8b
Capabilities:
Set registry value

Disassembly:
jmp 0x1400d08f0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x14026606c]
call fcn.1400a4e07
mov rax, qword [rbp + 0x100]
cmp qword [rax], 0
jne 0x1400d096a
mov eax, dword [0x140248094]
inc eax
lea rcx, str.m_hKey___0
mov qword [rsp + 0x28], rcx
lea rcx, [0x1401f45e0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x1401fa660]
mov ecx, 2
call fcn.1400a0875
cmp eax, 1
jne 0x1400d096a
int3
xor eax, eax
test eax, eax
jne 0x1400d091e
cmp qword [rbp + 0x110], 0
je 0x1400d0986
mov dword [rbp + 0xd4], 1
jmp 0x1400d0990
mov dword [rbp + 0xd4], 0
mov eax, dword [rbp + 0xd4]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x1400d09df
mov eax, dword [0x140248094]
add eax, 2
lea rcx, str.__atl_condVal
mov qword [rsp + 0x28], rcx
lea rcx, [0x1401f45e0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x1401fa660]
mov ecx, 2
call fcn.1400a0875
cmp eax, 1
jne 0x1400d09df
int3
cmp dword [rbp + 4], 0
jne 0x1400d09ef
mov eax, 0xd
jmp 0x1400d0a8f
xor eax, eax
test eax, eax
jne 0x1400d0970
cmp dword [rbp + 0x118], 1
je 0x1400d0a4b
cmp dword [rbp + 0x118], 2
je 0x1400d0a4b
mov eax, dword [0x140248094]
add eax, 3
lea rcx, str._dwType____1ul______dwType____2ul___
mov qword [rsp + 0x28], rcx
lea rcx, [0x1401f45e0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x1401fa660]
mov ecx, 2
call fcn.1400a0875
cmp eax, 1
jne 0x1400d0a4b
int3
mov rcx, qword [rbp + 0x110]
call fcn.1400a04ec
inc eax
mov eax, eax
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x110]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x118]
xor r8d, r8d
mov rdx, qword [rbp + 0x108]
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400a351b
Capabilities:
Parse pe header

Disassembly:
jmp 0x14010f8f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14010f910
xor al, al
jmp 0x14010f991
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14010f923
xor al, al
jmp 0x14010f991
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14010f94d
xor al, al
jmp 0x14010f991
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14010f961
xor al, al
jmp 0x14010f991
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14010f973
xor al, al
jmp 0x14010f991
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14010f98f
xor al, al
jmp 0x14010f991
mov al, 1
add rsp, 0x38
ret
Function at 0x1400a3697
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400ecba0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x528
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0xd6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x548]
mov rax, qword [0x140248940]
xor rax, rbp
mov qword [rbp + 0x4c8], rax
lea rcx, [0x1402662e9]
call fcn.1400a4e07
cmp qword [0x14024d890], 0
jne 0x1400ecbf8
call fcn.1400a155e
cmp qword [0x14024d890], 0
je 0x1400ecd97
lea rax, [rbp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
lea rax, [rbp + 0x120]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov rcx, qword [rbp + 0x4f0]
call fcn.1400a04ec
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0x200
jae 0x1400ecc54
lea rax, [rbp + 0x120]
mov qword [rbp + 0x338], rax
jmp 0x1400ecc85
mov eax, dword [rbp + 0x64]
add eax, 1
mov eax, eax
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.1400a2e31
mov qword [rbp + 0x338], rax
cmp qword [rbp + 0x338], 0
jne 0x1400ecc85
jmp 0x1400ecd97
lea rcx, [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rbp + 0x94]
movzx ecx, word [rbp + 0x92]
movzx edx, word [rbp + 0x90]
movzx edi, word [rbp + 0x8e]
movzx r8d, word [rbp + 0x8a]
movzx r9d, word [rbp + 0x88]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r8d
lea r8, str._d__d__d__d:_d:_d
mov edx, 0x40
lea rcx, [rbp + 0xc0]
call fcn.1400a2df0
mov dword [rbp + 0x24], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x200
lea rax, [rbp + 0x120]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x64]
mov r8, qword [rbp + 0x4f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rbp + 4], eax
mov edx, 0x7d0
mov rcx, qword [0x14024d888]
call fcn.1400a0ad7
test eax, eax
je 0x1400ecd97
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x24]
lea rdx, [rbp + 0xc0]
mov rcx, qword [0x14024d890]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 4]
lea rdx, [rbp + 0x120]
mov rcx, qword [0x14024d890]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x14024d888]
call fcn.1400a3967
lea rcx, [rbp - 0x50]
lea rdx, [0x140202160]
call fcn.1400a3fe8
mov rcx, qword [rbp + 0x4c8]
xor rcx, rbp
call fcn.1400a25bc
lea rsp, [rbp + 0x4d8]
pop rdi
pop rbp
ret
Function at 0x1400a3ccd
Capabilities:
Terminate process

Disassembly:
jmp 0x14018a370
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14018a39e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400a4876
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400a4371
Capabilities:
Create directory
Get common file path

Disassembly:
jmp 0x1400efab0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x718
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x126
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x738]
mov rax, qword [0x140248940]
xor rax, rbp
mov qword [rbp + 0x6c8], rax
lea rcx, [0x14026632c]
call fcn.1400a4e07
lea rax, [rbp + 0x240]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov qword [rbp + 0x478], 0xffffffffffffffff
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dx, 0x2e
lea rcx, [rbp + 0x10]
call fcn.1400a0023
mov qword [rbp + 0x458], rax
cmp qword [rbp + 0x458], 0
je 0x1400efb5f
xor eax, eax
mov rcx, qword [rbp + 0x458]
mov word [rcx], ax
jmp 0x1400efb6a
lea rax, [rbp + 0x10]
mov qword [rbp + 0x458], rax
lea r8, str..ini
mov edx, 8
mov rcx, qword [rbp + 0x458]
call fcn.1400a23dc
mov dx, 0x5c
lea rcx, [rbp + 0x10]
call fcn.1400a0023
mov qword [rbp + 0x458], rax
cmp qword [rbp + 0x458], 0
je 0x1400efbb4
mov rax, qword [rbp + 0x458]
add rax, 2
mov qword [rbp + 0x458], rax
jmp 0x1400efbbf
lea rax, [rbp + 0x10]
mov qword [rbp + 0x458], rax
mov r9d, 0xff
mov r8, qword [rbp + 0x458]
mov edx, 0xff
lea rcx, [rbp + 0x240]
call fcn.1400a00eb
mov r9d, dword [rbp + 0x700]
mov r8, qword [rbp + 0x6f8]
xor edx, edx
lea rcx, [rbp + 0x240]
call fcn.1400a4065
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0xc0000000
mov rcx, qword [rbp + 0x6f8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x478], rax
cmp qword [rbp + 0x478], 0xffffffffffffffff
jne 0x1400efcd8
xor r9d, r9d
mov r8d, 0x23
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp qword [rbp + 0x6f0], 0
je 0x1400efca9
lea r8, [0x140202364]
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.1400a207b
mov r8, qword [rbp + 0x6f0]
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.1400a207b
mov edx, 1
lea rcx, [rbp + 0x10]
call fcn.1400a06c2
test eax, eax
jne 0x1400efca9
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movsxd rax, dword [rbp + 0x700]
lea rcx, [rbp + 0x240]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x10]
lea r8, str._s_s
mov rdx, rax
mov rcx, qword [rbp + 0x6f8]
call fcn.1400a1806
jmp 0x1400efce5
mov rcx, qword [rbp + 0x478]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x140202810]
call fcn.1400a3fe8
mov eax, edi
mov rcx, qword [rbp + 0x6c8]
xor rcx, rbp
call fcn.1400a25bc
lea rsp, [rbp + 0x6d8]
pop rdi
pop rbp
ret
Function at 0x1400a440c
Capabilities:
Delete registry key

Disassembly:
jmp 0x1400cd440
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rcx, [0x14026605e]
call fcn.1400a4e07
mov rax, qword [rbp + 0x120]
cmp qword [rax], 0
je 0x1400cd52f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400cd4d2
mov eax, dword [0x140248078]
add eax, 4
lea rcx, str.hAdvAPI32___0
mov qword [rsp + 0x28], rcx
lea rcx, [0x1401f45e0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, str.D:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.39.33519_atlmfcinclude_atltransactionmanager.h
mov ecx, 2
call fcn.1400a0875
cmp eax, 1
jne 0x1400cd4d2
int3
cmp qword [rbp + 8], 0
jne 0x1400cd4e0
mov eax, 1
jmp 0x1400cd557
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1400cd52d
mov qword [rsp + 0x28], 0
mov rax, qword [rbp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x128]
call qword [rbp + 0x28]
jmp 0x1400cd557
jmp 0x1400cd552
mov rax, qword [rbp + 0x120]
cmp dword [rax + 8], 0
je 0x1400cd552
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1400cd557
mov eax, 1
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400a48df
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401a8bb0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400a49e8
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140132870
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1401321c0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401328b9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140268020]
jmp 0x1401328c8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x1400a4b91
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400b5120
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
lea rcx, [0x14026601e]
call fcn.1400a4e07
mov rax, qword [rbp + 0x140]
mov eax, dword [rax]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x130]
mov edx, dword [rbp + 0x148]
mov dword [rcx + rax], edx
mov eax, dword [rbp + 0x24]
add rax, 4
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x138]
cmp dword [rbp + 0x24], eax
jb 0x1400b51fc
mov r9d, dword [rbp + 0x24]
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x150]
call fcn.1400a2ae4
mov qword [rsp + 0x20], 0
lea r9, [rbp + 4]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x24], 0
mov eax, dword [rbp + 0x138]
mov r8d, eax
xor edx, edx
mov rcx, qword [rbp + 0x130]
call fcn.1400a39d0
mov rax, qword [rbp + 0x140]
mov ecx, dword [rbp + 0x24]
mov dword [rax], ecx
lea rcx, [rbp - 0x30]
lea rdx, [0x1401f5730]
call fcn.1400a3fe8
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400a5014
Capabilities:
Get file size

Disassembly:
jmp 0x1400e7730
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
lea rcx, [0x140266107]
call fcn.1400a4e07
mov qword [rbp + 8], 0xffffffffffffffff
mov qword [rbp + 0x28], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x1400e77bb
xor eax, eax
jmp 0x1400e77dd
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp qword [rbp + 8], 0xffffffffffffffff
je 0x1400e77da
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x28]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140200c30]
call fcn.1400a3fe8
mov rax, rdi
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400a5069
Capabilities:
Print debug messages

Disassembly:
jmp 0x140109e2c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.1400a39d0
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x140209c30]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.1400a24e0
test eax, eax
jne 0x140109ec3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140109ec3
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140109ebc
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x14024cc48], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x1400a519a
Capabilities:
Get graphical window text

Disassembly:
jmp 0x1400b7a70
mov qword [rsp + 0x20], r9
mov word [rsp + 0x18], r8w
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x8e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3f8]
mov rax, qword [0x140248940]
xor rax, rbp
mov qword [rbp + 0x3a8], rax
lea rcx, [0x14026602e]
call fcn.1400a4e07
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x100
lea rdx, [rbp + 0x10]
mov rax, qword [rbp + 0x3d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x3d0]
call fcn.1400a0438
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1401f6080]
call fcn.1400a3fe8
mov eax, edi
mov rcx, qword [rbp + 0x3a8]
xor rcx, rbp
call fcn.1400a25bc
lea rsp, [rbp + 0x3b8]
pop rdi
pop rbp
ret