joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006950
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4038
call fcn.14000acf0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.140007990
mov r8d, 0x2000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400069e6
mov r8d, 0x2000
lea rdx, [rsp + 0x2020]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor r8d, r8d
lea rdx, [rsp + 0x20]
xor ecx, ecx
call fcn.140007aa0
test rax, rax
je 0x1400069e6
cmp byte [rax], 0
je 0x1400069e6
mov rcx, rax
call fcn.140015510
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.14000acc0
add rsp, 0x4038
ret
xor eax, eax
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.14000acc0
add rsp, 0x4038
ret

Function at 0x140006ef0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.140007990
xor edx, edx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rdi
mov ebx, eax
call fcn.14001027c
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140006f30
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x2110
call fcn.14000acf0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2100], rax
mov rdx, rcx
xor edi, edi
lea rcx, [rsp + 0x100]
mov dword [rsp + 0x50], edi
mov r8d, 0x1000
call fcn.140007990
mov ebx, 1
lea ecx, [rdi + 0x16]
mov edx, ebx
call fcn.14001330c
mov edx, ebx
lea ecx, [rdi + 2]
call fcn.14001330c
mov edx, ebx
lea ecx, [rdi + 0xf]
call fcn.14001330c
mov edx, ebx
lea ecx, [rdi + 0x15]
call fcn.14001330c
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x58], 0x18
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xorps xmm0, xmm0
mov qword [rsp + 0x98], rdi
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0xcc], 0x101
mov word [rsp + 0xd0], bx
call fcn.140010450
mov rcx, rax
call fcn.140015588
mov ecx, eax
call fcn.140012ec0
mov ecx, ebx
mov qword [rsp + 0xe0], rax
call fcn.140010450
mov rcx, rax
call fcn.140015588
mov ecx, eax
call fcn.140012ec0
lea ecx, [rdi + 2]
mov qword [rsp + 0xe8], rax
call fcn.140010450
mov rcx, rax
call fcn.140015588
mov ecx, eax
call fcn.140012ec0
mov qword [rsp + 0xf0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x100]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400070b1
mov rcx, qword [rsp + 0x70]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x50]
jmp 0x1400070c9
lea rdx, str.Error_creating_child_process__n
lea rcx, [0x140027d38]
call fcn.140002620
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2100]
xor rcx, rsp
call fcn.14000acc0
mov rbx, qword [rsp + 0x2128]
add rsp, 0x2110
pop rdi
ret
Function at 0x140007160
Capabilities:
Read file on windows

Disassembly:
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rcx
mov rsi, r8
mov ecx, 0x2000
mov r14, rdx
xor r13d, r13d
call fcn.140010290
mov r15, rax
test rax, rax
je 0x140007273
xor edx, edx
lea r8d, [r13 + 2]
mov rcx, r12
call fcn.14000d7c8
test eax, eax
js 0x140007273
mov rcx, r12
mov qword [rsp + 0x50], rbx
call fcn.140013e48
mov rbx, rax
cmp rax, rsi
jb 0x14000726e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
nop dword [rax]
cmp rbx, 0x2000
lea rbp, [rbx - 0x2000]
cmovb rbp, r13
sub rbx, rbp
cmp rbx, rsi
jb 0x140007264
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
call fcn.14000d7c8
test eax, eax
js 0x140007264
mov r9, r12
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.14000d4f8
cmp rax, rbx
jne 0x140007264
sub rbx, rsi
add rbx, 1
je 0x14000724b
lea rdi, [r15 - 1]
add rdi, rbx
nop dword [rax]
nop dword [rax + rax]
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.14000c710
test eax, eax
je 0x14000725d
dec rdi
sub rbx, 1
jne 0x140007230
lea rbx, [rsi - 1]
add rbx, rbp
test rbp, rbp
jne 0x1400071d0
jmp 0x140007264
lea r13, [rbp - 1]
add r13, rbx
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov rcx, r15
call fcn.14001027c
mov rax, r13
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x140007800
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x2070
call fcn.14000acf0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2060], rax
xor ebx, ebx
mov qword [rsp + 0x38], 0xffffffffffffffff
mov qword [rsp + 0x40], rbx
mov rdi, rcx
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x38]
lea edx, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400078d1
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140007888
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400078d1
mov edx, dword [rsp + 0x30]
mov ecx, 1
call fcn.140010274
mov rbx, rax
test rax, rax
je 0x1400078d1
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov r8, rbx
mov edx, 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400078d1
mov rcx, qword [rbx]
lea rdx, [rsp + 0x40]
call sub.ADVAPI32.dll_ConvertSidToStringSidW
mov rcx, rbx
call fcn.14001027c
mov rcx, qword [rsp + 0x38]
cmp rcx, 0xffffffffffffffff
je 0x1400078ea
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
lea r9, str.S_1_3_4
test rbx, rbx
lea r8, str.D:_A__FA____s_
mov edx, 0x1000
lea rcx, [rsp + 0x60]
cmovne r9, rbx
call fcn.140007500
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r9d, r9d
mov dword [rsp + 0x48], 0x18
lea r8, [rsp + 0x50]
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x60]
lea edx, [r9 + 1]
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x14000795e
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
neg eax
dec eax
jmp 0x140007963
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.14000acc0
mov rbx, qword [rsp + 0x2088]
add rsp, 0x2070
pop rdi
ret
Function at 0x14000b75c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b7a6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000b7a6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000b7a6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000b7a6
cmp dword [rcx + 0x84], 0xe
jbe 0x14000b7a6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000b7a8
xor al, al
add rsp, 0x28
ret

Function at 0x1400126b4
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400126d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001052c
or eax, 0xffffffff
jmp 0x1400126d6
xor eax, eax
add rsp, 0x28
ret

Function at 0x140012a04
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor esi, esi
mov rbx, rdx
test rdx, rdx
jne 0x140012743
call fcn.14001059c
mov dword [rax], 0x16
call fcn.1400162cc
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14000acc0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test rcx, rcx
je 0x14001270a
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400127b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x140012784
cmp eax, 3
jbe 0x1400127a1
cmp eax, 8
je 0x140012791
cmp eax, 0x12
je 0x1400127a1
call fcn.14001059c
mov dword [rax], 0x16
jmp 0x14001271a
call fcn.14001059c
mov dword [rax], 0xc
jmp 0x14001271a
call fcn.14001059c
mov dword [rax], 2
jmp 0x14001271a
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, esi
mov dword [rbx], eax
call fcn.14001294c
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.14001294c
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.14001294c
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.14001ba84
test eax, eax
jne 0x14001280f
mov rax, rdi
jmp 0x14001271e
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400162ec
int3
jmp 0x1400126dc
Function at 0x140012a0c
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edi, edi
mov rbx, rdx
test rcx, rcx
jne 0x140012881
call fcn.14001059c
mov dword [rax], 0x16
call fcn.1400162cc
or eax, 0xffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14000acc0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
cmp rcx, 0xffffffffffffffff
je 0x14001284d
test rbx, rbx
je 0x14001284d
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400128dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x1400128b5
cmp eax, 3
jbe 0x1400128cf
cmp eax, 8
je 0x1400128c2
cmp eax, 0x12
je 0x1400128cf
call fcn.14001059c
mov dword [rax], 0x16
jmp 0x14001285d
call fcn.14001059c
mov dword [rax], 0xc
jmp 0x14001285d
call fcn.14001059c
mov dword [rax], 2
jmp 0x14001285d
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, edi
mov dword [rbx], eax
call fcn.14001294c
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.14001294c
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.14001294c
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.14001ba84
test eax, eax
je 0x140012860
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400162ec
int3
jmp 0x140012824

Function at 0x1400134e8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140013508
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001052c
or eax, 0xffffffff
jmp 0x14001350a
xor eax, eax
add rsp, 0x28
ret

Function at 0x140014ddc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140014c08
Function at 0x140001000
Capabilities:
Terminate process

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
cmp qword [str.LFSOFM43_EMM], 0
mov rsi, rcx
lea rdi, str.LFSOFM43_EMM
je 0x140001056
nop dword [rax]
cmp qword [rdi + 8], 0
lea rbx, [rdi + 8]
je 0x140001049
nop dword [rax + rax]
mov rcx, qword [rbx]
mov rdx, rsi
call fcn.1400034e4
test eax, eax
je 0x14000106b
add rbx, 0x10
cmp qword [rbx], 0
jne 0x140001030
add rdi, 0x1008
cmp qword [rdi], 0
jne 0x140001020
lea rcx, str.dynamic_import.cpp__dynamic_call__is_failure_
call fcn.140003090
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp qword [rbx + 8], 0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
jne 0x14000118c
mov rcx, qword [rbx]
mov rdi, qword [rdi]
call fcn.140003620
mov rcx, rdi
mov r15, rax
call fcn.140003620
mov r14, rax
test r15, r15
je 0x140001177
mov rcx, r15
test rax, rax
je 0x14000117f
cmp byte [r15], 0
je 0x1400010cc
nop dword [rax]
dec byte [rcx]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400010c0
cmp byte [rax], 0
je 0x1400010dd
dec byte [rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x1400010d1
xor edi, edi
mov esi, edi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
test rax, rax
jne 0x1400010fb
lea ecx, [rax + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
test rbp, rbp
jne 0x140001120
cmp esi, 4
jl 0x1400010e1
lea rcx, str.dynamic_import.cpp__resolve_call__can_nt_load_module_
call fcn.140003090
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x14000113d
lea ecx, [rax + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
test rsi, rsi
jne 0x14000115e
cmp edi, 4
jl 0x140001120
lea rcx, str.dynamic_import.cpp__resolve_call__can_nt_get_function_pointer_
call fcn.140003090
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, r15
call fcn.1400035e0
mov rcx, r14
call fcn.1400035e0
mov qword [rbx + 8], rsi
mov rax, rsi
jmp 0x140001190
test rax, rax
je 0x140001184
mov rcx, rax
call fcn.1400035e0
xor edi, edi
mov esi, edi
mov qword [rbx + 8], rdi
mov rax, qword [rbx + 8]
mov r14, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x140001700
Capabilities:
Get file size
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov eax, 0x19060
call fcn.14000cc70
sub rsp, rax
mov rax, qword [0x1400180e0]
xor rax, rsp
mov qword [rsp + 0x19050], rax
mov rbx, rdx
lea rcx, [rsp + 0x52]
xor esi, esi
xor edx, edx
mov r8d, 0x18ffe
mov word [rsp + 0x50], si
call fcn.140008090
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
or r9d, 0xffffffff
mov r8, rbx
mov edi, eax
lea rax, [rsp + 0x50]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0xcb20
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, dword [0x14002ad04]
lea r14, [0x14002ad10]
lea r8d, [rdi + rdi]
lea rdx, [rsp + 0x50]
lea rcx, [r14 + rbx*2]
call fcn.1400037f0
add ebx, edi
mov dword [0x14002ad04], ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x14002ad04], 0x6800
jae 0x1400017ca
mov ecx, eax
sub ecx, dword [0x14002ad00]
cmp ecx, 0xea60
jae 0x1400017ca
xor eax, eax
jmp 0x140001893
xor r9d, r9d
mov qword [rsp + 0x30], rsi
lea rcx, [0x14005cd50]
lea r8d, [r9 + 3]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x82
mov dword [0x14002ad00], eax
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001890
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x40], esi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x140001850
lea r9, [rsp + 0x40]
lea r8d, [rax + 2]
lea rdx, [0x140015a48]
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [0x14002ad04]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
add r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x14002ad04], esi
mov eax, ebx
jmp 0x140001893
or eax, 0xffffffff
mov rcx, qword [rsp + 0x19050]
xor rcx, rsp
call fcn.1400033e0
lea r11, [rsp + 0x19060]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400018c0
Capabilities:
Get file size
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400180e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, rdx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rdi, 0xffffffffffffffff
mov esi, eax
mov eax, 2
mul rsi
cmovo rax, rdi
mov rcx, rax
call fcn.140003db8
mov r9d, edi
mov r8, rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov rbp, rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ebx, ebx
lea r8d, [rdi + 4]
lea rcx, [0x14005cd50]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x82
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400019d8
lea r9d, [rbx + 2]
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x1400019a4
lea r9, [rsp + 0x40]
lea r8d, [rbx + 2]
lea rdx, [0x140015a48]
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r8d, [rsi + rsi]
lea r9, [rsp + 0x40]
mov rdx, rbp
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x1400019db
or eax, 0xffffffff
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400033e0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x140002960
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400180e0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r9d, 0x64
lea r8, [0x14005d030]
mov rbx, rcx
lea edx, [r9 + 3]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x64
lea r8, [0x14005cf60]
lea edx, [r9 + 9]
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, rbx
call fcn.140002a70
lea rcx, [0x14005cd50]
xor edx, edx
mov r8d, 0x208
call fcn.140008090
xor r9d, r9d
lea rdx, [0x14005cd50]
lea r8d, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rcx, [0x14005cd20]
xor ebx, ebx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, str.DsfbufUisfbe
call section..text
lea rcx, [rsp + 0x30]
lea r8, [0x140001a00]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov edx, 0xffff
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call rax
nop dword [rax + rax]
lea r8, str.Norton_BreakHelper613
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenEventW]
test rax, rax
je 0x140002a20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x14005cd20]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400033e0
add rsp, 0x40
pop rbx
ret
Function at 0x140003090
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x20
lea rsi, [rsp + 0x48]
mov rdx, rsi
call fcn.1400044a0
inc eax
movsxd rbx, eax
lea rcx, [rbx + rbx]
call fcn.140004338
mov r8, qword [rsp + 0x40]
mov r9, rsi
mov rcx, rax
mov rdx, rbx
mov rdi, rax
call fcn.1400046e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rdi
call fcn.1400035e0
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x140005144
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140004fac
Function at 0x140002ed0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x290
movdqa xmmword [rsp + 0x2f0], xmm6
movdqa xmmword [rsp + 0x300], xmm7
movdqa xmmword [rsp + 0x310], xmm8
movdqa xmmword [rsp + 0x320], xmm9
movdqa xmmword [rsp + 0x330], xmm10
movdqa xmmword [rsp + 0x340], xmm11
movdqa xmmword [rsp + 0x350], xmm12
movdqa xmmword [rsp + 0x360], xmm13
movdqa xmmword [rsp + 0x370], xmm14
movdqa xmmword [rsp + 0x380], xmm15
mov eax, dword [0x1401607cc]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x290]
mov qword [rdx + 8], r8
call fcn.14008f9f0
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x1401607cc]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x140003060
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x14000307c
cmp rcx, r8
jl 0x14000306f
mov qword [rdx + 0x80], rcx
test dword [0x1401582e8], 1
je 0x1400030ab
cmp byte [rsp + 0xd0], 0
je 0x1400030ab
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140002bd0
mov rsp, r8
jmp rax