joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401be350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1401be4a0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 1
je 0x1401be507
cmp byte [rsi + 0x61], 1
jne 0x1401be539
mov rcx, qword [rsi + 0x40]
call fcn.14018c040
cmp eax, 0xffffffff
je 0x1401be500
test bl, bl
jne 0x1401be4f8
mov rdx, qword [rsi + 0x40]
movzx edi, al
mov ecx, edi
call fcn.14018dfc8
cmp eax, 0xffffffff
cmove edi, eax
jmp 0x1401be519
movzx edi, al
mov dword [rsi + 0x5c], edi
jmp 0x1401be519
mov edi, 0xffffffff
jmp 0x1401be519
mov edi, dword [rsi + 0x5c]
test bl, bl
je 0x1401be519
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14016c920
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], rdi
mov eax, dword [rsi + 0x58]
cmp eax, 2
mov r15d, 1
cmovge r15d, eax
xor r14d, r14d
mov rcx, qword [rsi + 0x40]
call fcn.14018c040
cmp eax, 0xffffffff
je 0x1401be500
mov byte [rsp + r14 + 0x58], al
inc r14
cmp r15, r14
jne 0x1401be55b
lea rax, [rsp + 0x58]
mov byte [rax - 1], 0xaa
lea rax, [rsp + 0x48]
mov qword [rax], rdi
lea rbp, [rsp + 0x40]
mov qword [rbp], rdi
mov edi, 0xffffffff
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r14d, dword [rdx]
movzx r12d, word [rdx + 4]
movzx r13d, word [rdx + 6]
lea r9, [rsp + r15 + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x57]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x58]
call qword [0x14036e550]
cmp eax, 1
jne 0x1401be623
mov rax, qword [rsi + 0x50]
mov dword [rax], r14d
mov word [rax + 4], r12w
mov word [rax + 6], r13w
cmp r15d, 8
je 0x1401be519
mov rcx, qword [rsi + 0x40]
call fcn.14018c040
cmp eax, 0xffffffff
je 0x1401be519
mov byte [rsp + r15 + 0x58], al
inc r15
jmp 0x1401be595
cmp eax, 2
je 0x1401be519
cmp eax, 3
jne 0x1401be639
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test bl, bl
je 0x1401be651
movzx edi, byte [rsp + 0x57]
jmp 0x1401be4fb
movzx edi, byte [rsp + 0x57]
jmp 0x1401be519
test r15, r15
jle 0x1401be647
mov rdx, qword [rsi + 0x40]
movzx ecx, byte [rsp + r15 + 0x57]
dec r15
call fcn.14018dfc8
cmp eax, 0xffffffff
jne 0x1401be651
jmp 0x1401be519

Function at 0x1401bef50
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1401bef87
movabs rcx, 0xf000000000000000
shl rax, 4
movsx r9, byte [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
inc rdx
cmp rdx, r8
jne 0x1401bef61
ret

Function at 0x1401bf000
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1401bf038
movabs rcx, 0xf000000000000000
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x1401bf011
ret
Function at 0x1401c5620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x1401c568d
movzx edx, word [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov word [rsp + 0x20], dx
mov rdx, rsi
mov r8, rdi
call qword [0x14036e550]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rsi], rdi
test al, al
jns 0x1401c566f
call fcn.14016b3e8
jmp 0x1401c566f
lea rbx, [rbp - 0x20]
mov rcx, r9
mov rdx, rbx
call fcn.14010c060
lea rdx, [0x140391508]
mov rcx, rbx
call fcn.1401102f0
mov r14, rax
mov rcx, qword [rbp - 0x20]
lea rax, [0x140391320]
cmp rcx, rax
je 0x1401c56d9
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x1401c56d9
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14036e550]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1402faf80]
movaps xmmword [rbx], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [0x14036e550]
movsx rax, byte [rbx + 0x17]
test rax, rax
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
mov r8, rax
cmovs r8, rdx
test r8, r8
je 0x1401c567f
test al, al
mov r14, rbx
cmovs r14, rcx
jmp 0x1401c577b
xor edi, edi
jmp 0x1401c5759
lea rdx, [rcx + 2]
mov qword [rdi + 0x30], rdx
mov word [rcx], ax
cmp ax, 0xffff
jne 0x1401c574e
xor edi, edi
mov al, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add r14, 2
test al, al
mov r8, rbx
cmovs r8, rcx
movzx r9d, al
cmovs r9, rdx
lea r8, [r8 + r9*2]
cmp r14, r8
je 0x1401c567f
test rdi, rdi
je 0x1401c5737
movzx eax, word [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
jne 0x1401c573b
mov rcx, qword [rdi]
mov r8, qword [rcx + 0x60]
mov rcx, rdi
mov edx, eax
mov rax, r8
call qword [0x14036e550]
jmp 0x1401c5746

Function at 0x1401d5d30
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop
add rsp, 0x38
ret

Function at 0x1401d5d60
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, r8
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x4c]
mov dword [r9], ntohl
lea rax, [rsp + 0x40]
mov qword [rax], 0
lea r8, [rsp + 0x3c]
mov dword [r8], 8
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x1401d5dce
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14016c920
mov eax, edi
add rsp, 0x58
pop rdi
pop rsi
ret
mov eax, dword [rsp + 0x4c]
and eax, 0xfffffff7
mov edi, 0x3f4
cmp eax, 3
jne 0x1401d5db8
cmp dword [rsp + 0x3c], 8
jne 0x1401d5db8
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
xor edi, edi
jmp 0x1401d5db8
Function at 0x1401d5e00
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov eax, dword [rsp + 0x60]
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x38
ret

Function at 0x1401d6f50
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 1
je 0x1401d6f79
mov rcx, qword [rsi]
jmp 0x1401d6f82
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1401d6fcb
mov dil, 1
test bl, bl
je 0x1401d6fb4
cmp byte [rsi + 8], 1
je 0x1401d6fa0
mov rcx, qword [rsi]
jmp 0x1401d6fa9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14016c920
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 1
jne 0x1401d6fe2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x1401d6fe5
mov rcx, qword [rsi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401d6ff8
xor edi, edi
jmp 0x1401d6fb4
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 1
jne 0x1401d7011
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x1401d7014
mov rcx, qword [rsi]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x1401d6fb4
Function at 0x1401d7180
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x140
movaps xmmword [rsp + 0x130], xmm6
mov ebx, r9d
mov edi, r8d
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x40], ntohl
mov rax, qword [str.0_9_]
mov al, byte [rax + 0xb]
test al, al
jne 0x1401d742a
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], r13
movaps xmm6, xmmword [0x1402faf80]
movaps xmmword [rsp + 0x110], xmm6
lea r15, [rsp + 0x80]
mov rcx, r14
mov rdx, r15
call fcn.14007a370
cmp byte [r15 + 0x17], 0
js 0x1401d72b1
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x110], xmm0
lea r12, [rsp + 0x80]
mov rcx, r12
call fcn.140125f40
lea r15, [rsp + 0xf0]
mov qword [r15 + 0x10], r13
movaps xmmword [r15], xmm6
mov rcx, r14
mov rdx, r15
call fcn.1401dfbb0
xorps xmm0, xmm0
movups xmmword [r12 + 0x60], xmm0
movups xmmword [r12 + 0x50], xmm0
movups xmmword [r12 + 0x40], xmm0
movups xmmword [r12 + 0x30], xmm0
movabs rax, 0x4000000070
mov qword [r12], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [r12 + 8], rax
lea rax, str.runas
mov qword [r12 + 0x10], rax
cmp byte [rsp + 0x127], 0
js 0x1401d72d3
lea rax, [rsp + 0x110]
jmp 0x1401d72db
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x110]
call fcn.140111940
jmp 0x1401d7232
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x98], rax
cmp byte [rsp + 0x107], 0
jns 0x1401d72f5
mov r15, qword [rsp + 0xf0]
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x20], r15
xor r14d, r14d
mov qword [rcx + 0x28], r14
xor dil, 1
movzx eax, dil
mov dword [rcx + 0x30], eax
mov qword [rcx + 0x38], r14
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1401d738b
test bl, bl
je 0x1401d7383
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.LaunchElevatedProcess
lea r8, str....._baseprocesslaunch_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x9e
call fcn.140125120
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14011a200
mov rcx, qword [rsp + 0xe8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.14011a280
mov r14, qword [rsp + 0xe8]
mov rcx, rsi
mov rdx, r14
call fcn.1400611d0
cmp byte [rsp + 0x107], 0
jns 0x1401d73ad
mov rcx, qword [rsp + 0xf0]
call fcn.14016b3e8
cmp byte [rsp + 0x127], 0
jns 0x1401d73c4
mov rcx, qword [rsp + 0x110]
call fcn.14016b3e8
mov qword [rsp + 0x40], ntohl
mov rax, qword [str.0_9_]
mov al, byte [rax + 0xb]
test al, al
jne 0x1401d7406
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.14016c920
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, al
lea r8, [rsp + 0x80]
mov qword [r8], 0
lea rdx, [rsp + 0x40]
mov r9d, 2
call fcn.14010a5c0
jmp 0x1401d73db
movzx ecx, al
lea rax, str.LaunchElevatedProcess
lea r8, [rsp + 0x80]
mov qword [r8], rax
lea rdx, [rsp + 0x40]
mov r9d, 1
call fcn.14010a5c0
jmp 0x1401d71d3
Function at 0x1401d82c0
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x1402faf80]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x1cf
call fcn.140125120
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14011a200
mov al, byte [rsi + 0x17]
test al, al
jns 0x1401d833e
cmp qword [rsi + 8], 0x103
ja 0x1401d835c
test al, al
jns 0x1401d8345
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
lea rcx, [rsp + 0x40]
call fcn.14011a280
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14016c920
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1401d8810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edx, 1
mov r8d, 0x80000000
jmp fcn.1400653b0
Function at 0x1401d8b80
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm6, xmmword [0x1402faf80]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.DoCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x8a
call fcn.140125120
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14011a200
mov rcx, rdi
call fcn.140127610
test al, al
jne 0x1401d8c2c
mov rcx, rsi
call fcn.140127610
test al, al
jne 0x1401d8c2a
cmp byte [rdi + 0x17], 0
jns 0x1401d8c6e
cmp qword [rdi + 8], 0x103
jbe 0x1401d8c6e
xor ebp, ebp
lea rcx, [rsp + 0x50]
call fcn.14011a280
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14016c920
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebp, ebp
lea rcx, [rsp + 0x20]
call fcn.140098b20
jmp 0x1401d8c2c
cmp byte [rsi + 0x17], 0
jns 0x1401d8c7e
cmp qword [rsi + 8], 0x103
ja 0x1401d8c2a
lea r14, [rsp + 0x20]
movaps xmmword [r14], xmm6
lea rdx, str.DoCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, ILFree
call fcn.140125120
lea r8, [0x14039229c]
mov rcx, r14
mov rdx, r15
call fcn.1400989f0
cmp byte [rsi + 0x17], 0
jns 0x1401d8cc3
mov rsi, qword [rsi]
movzx r8d, bl
cmp byte [rdi + 0x17], 0
jns 0x1401d8cd0
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1401d8c60
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bpl
sete cl
test al, 1
sete dl
or dl, cl
jne 0x1401d8c62
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bpl, 1
jmp 0x1401d8c62
Function at 0x1401d97d0
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x1402faf80]
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.MoveUnsafe
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x4e4
call fcn.140125120
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14011a200
mov al, byte [rdi + 0x17]
test al, al
jns 0x1401d8da8
cmp qword [rdi + 8], 0x103
ja 0x1401d8dbb
mov cl, byte [rsi + 0x17]
test cl, cl
jns 0x1401d8de7
cmp qword [rsi + 8], 0x103
jbe 0x1401d8de7
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.14011a280
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14016c920
mov eax, ebx
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdx, rsi
test cl, cl
jns 0x1401d8df1
mov rdx, qword [rsi]
mov rcx, rdi
test al, al
jns 0x1401d8dfb
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x1401d8dbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.140065500
test al, al
jne 0x1401d8e2b
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1401d8db9
mov rcx, rdi
mov rdx, rsi
call fcn.1401d8e40
test al, al
jne 0x1401d8dbb
jmp 0x1401d8e21
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.140127610
test al, al
jne 0x1401d97f1
mov rcx, rsi
call fcn.140127610
test al, al
je 0x1401d97fa
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x1401d8d20
Function at 0x1401dae10
Capabilities:
Access the windows event log
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x860
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x858], rax
mov rdx, qword [0x1403922c0]
test rdx, rdx
setne al
and al, byte [0x1403809a8]
cmp al, 1
jne 0x1401dafc9
cmp byte [rdx + 0x17], 0
jns 0x1401dae5a
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x1401daff4
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140125140
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 0x18]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x1402faf80]
movaps xmmword [r14], xmm0
lea rbx, [rsp + 0x80]
mov rdx, rbx
call fcn.1400ffb50
lea r15, [rsp + 0x48]
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1400fea60
mov eax, dword [rsi + 8]
mov bp, 1
lea ecx, [rax - 2]
cmp ecx, 2
jb 0x1401db00c
cmp eax, 1
je 0x1401daeea
test eax, eax
jne 0x1401daeee
mov bp, 4
jmp 0x1401daeee
mov bp, 2
cmp byte [rsp + 0x77], 0
jns 0x1401daefa
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], 0
mov rcx, qword [0x1403922d0]
cmp byte [rcx + 0x17], 0
jns 0x1401daf1b
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
jne 0x1401daf3f
lea rcx, [rsi + 0x10]
lea rdx, str.___ERROR_GETTING_USER_SID__
mov r8d, 0x1b
call fcn.1400fe0b0
mov rax, qword [rsp + 0x48]
mov r9d, dword [0x1403922cc]
movzx r8d, word [0x1403922c8]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, rdi
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
jne 0x1401daf9a
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1400fe0b0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1401dafaa
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x77], 0
jns 0x1401dafbb
mov rcx, qword [rsp + 0x60]
call fcn.14016b3e8
call fcn.140125140
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.140074360
mov rcx, qword [rsp + 0x858]
xor rcx, rsp
call fcn.14016c920
nop
add rsp, 0x860
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1400fe0b0
jmp 0x1401dafc9
lea r12, [rsp + 0x80]
mov r8d, 0x7d8
mov rcx, r12
mov dl, 0xaa
call fcn.1401a5320
mov rcx, r12
call fcn.1400a9f00
mov rcx, r12
mov rdx, r15
call fcn.14025ebc0
movsx r8, byte [rsp + 0x5f]
test r8, r8
jns 0x1401db04c
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.140110f50
cmp byte [rsp + 0x5f], 0
jns 0x1401daeee
mov rcx, qword [rsp + 0x48]
call fcn.14016b3e8
jmp 0x1401daeee
Function at 0x1401dd050
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1403923f0], 0
je 0x1401dd096
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14016c920
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1403923f8]
test rdi, rdi
jne 0x1401dd163
mov ecx, 0x18
call fcn.14016b3ac
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401a5320
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1402faf80]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.14010a070
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x1401dd110
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x1401dd147
add rax, rax
test rax, rax
je 0x1401dd147
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x1401dd118
cmp rdx, 0xfffffffffffffffe
je 0x1401dd147
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.14010b770
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.140111a80
mov qword [0x1403923f8], rdi
test byte [0x1403809ac], 1
je 0x1401dd079
cmp byte [rdi + 0x17], 0
jns 0x1401dd179
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1403923f0], rax
inc rax
cmp rax, 1
ja 0x1401dd079
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401a5320
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x1401dd2b5
mov rcx, qword [0x1403923f8]
lea rdx, [rsp + 0x40]
call fcn.140044930
mov rcx, qword [0x1403923f8]
movsx rax, byte [rcx + 0x17]
test rax, rax
js 0x1401dd2bc
test al, al
je 0x1401dd2cd
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1401dd247
lea rdx, [0x140305304]
mov r8d, 1
call fcn.140111a80
mov rcx, qword [0x1403923f8]
lea rdx, str.debug.log
mov r8d, 9
call fcn.140111a80
mov rcx, qword [0x1403923f8]
cmp byte [rcx + 0x17], 0
jns 0x1401dd269
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1403923f0], rax
inc rax
cmp rax, 1
ja 0x1401dd079
mov qword [0x1403923f0], 0
xor esi, esi
jmp 0x1401dd079
mov rax, qword [rcx + 8]
test rax, rax
je 0x1401dd2cd
mov rdx, qword [rcx]
jmp 0x1401dd226
ud2
Function at 0x1401e5540
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rdi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
call fcn.14007e140
test al, al
jne 0x1401e5587
xor esi, esi
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14016c920
mov eax, esi
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
ret
xorps xmm0, xmm0
lea rsi, [rsp + 0x90]
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
call fcn.1401e5c50
mov ebx, eax
cmp byte [rsi + 0x17], 0
jns 0x1401e55c0
mov rcx, qword [rsp + 0x90]
call fcn.14016b3e8
test bl, bl
je 0x1401e5568
call fcn.140085730
mov ebx, eax
call fcn.140094a40
cmp ebx, 2
je 0x1401e55fd
cmp eax, 0x16
jge 0x1401e5612
lea rax, str.http
lea rcx, [rsp + 0x38]
mov qword [rcx], rax
mov qword [rcx + 8], 4
call fcn.1402680a0
mov esi, eax
jmp 0x1401e556a
mov ecx, 1
mov rdx, rdi
call fcn.1401e4ef0
mov sil, 1
jmp 0x1401e556a
call fcn.1400869d0
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rcx
movaps xmm0, xmmword [0x1402faf80]
movaps xmmword [rsp + 0x60], xmm0
lea rcx, [0x140319d58]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 0x18
lea rcx, str.registeredAppUser
lea rdx, str.registeredAppMachine
test al, al
cmovne rdx, rcx
mov qword [rsp + 0xa0], rdx
xor al, 1
movzx eax, al
lea rax, [rax + rax*2]
add rax, 0x12
mov qword [rsp + 0xa8], rax
lea rbx, [rsp + 0x48]
mov rcx, rbx
mov rdx, rdi
call fcn.1401e4de0
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x1401e56a2
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], rax
test rax, rax
js 0x1401e5755
sete al
test rbx, rbx
setne cl
or cl, al
je 0x1401e5755
lea rdx, [rsp + 0x80]
mov qword [rdx], rsi
mov qword [rdx + 8], 3
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.140060ec0
cmp byte [rsp + 0x5f], 0
jns 0x1401e56fd
mov rcx, qword [rsp + 0x48]
call fcn.14016b3e8
cmp byte [rsp + 0x77], 0
jns 0x1401e5709
mov rsi, qword [rsp + 0x60]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdi, rax
cmp byte [rsp + 0x77], 0
jns 0x1401e5743
mov rcx, qword [rsp + 0x60]
call fcn.14016b3e8
mov sil, 1
cmp rdi, 0x20
jg 0x1401e556a
jmp 0x1401e55da
ud2