joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004b010
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
xor esi, esi
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rsi
mov rbx, rcx
mov word [rcx], si
mov ecx, 0x210
mov qword [rax + 0x10], 8
mov qword [rax - 0x40], 8
mov qword [rax - 0x28], 0x107
mov qword [rax - 0x20], 0xa
call fcn.140002c20
mov r8, rax
mov qword [rbx + 0x10], 0x104
mov qword [rbx + 0x18], 0x107
mov rdi, r8
movzx eax, si
mov ecx, 0x104
rep stosw word [rdi], ax
mov word [r8 + 0x208], si
mov rdx, rbx
mov qword [rbx], r8
cmp qword [rbx + 0x18], 8
mov ecx, dword [rbx + 0x10]
cmovae rdx, r8
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
mov rax, qword [rbx + 0x10]
cmp rdx, rax
ja 0x14004b0c7
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14004b0b8
lfence
mov rax, qword [rbx]
mov word [rax + rdx*2], si
mov rax, rbx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
lfence
mov rdi, qword [rbx + 0x18]
sub rdx, rax
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rdx, rax
ja 0x14004b119
lea r9, [rcx + rdx]
mov r8, rbx
mov qword [rbx + 0x10], r9
cmp rdi, 8
jb 0x14004b0f7
lfence
mov r8, qword [rbx]
lea rdi, [r8 + rcx*2]
test rdx, rdx
je 0x14004b109
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
mov word [r8 + r9*2], si
mov rax, rbx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
lfence
mov r9, rdx
mov word [rsp + 0x20], si
xor r8d, r8d
mov rcx, rbx
call fcn.1400369d0
mov rax, rbx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x14004b480
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2a0
mov rax, qword [0x14026fe68]
xor rax, rsp
mov qword [rsp + 0x290], rax
xor esi, esi
mov rax, rdx
mov qword [rcx], rsi
mov rbx, rcx
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
cmp qword [rdx + 0x18], 8
jb 0x14004b4c1
mov rax, qword [rdx]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14004b5ac
nop dword [rax]
test byte [rsp + 0x40], 0x10
jne 0x14004b596
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], 7
mov r8, 0xffffffffffffffff
mov word [rsp + 0x20], si
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x14004b510
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140025540
mov rdx, qword [rbx + 8]
cmp qword [rbx + 0x10], rdx
je 0x14004b54b
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add qword [rbx + 8], 0x20
jmp 0x14004b596
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140049490
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14004b596
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b591
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b5dd
call fcn.14014f3b8
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004b4e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, rbx
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14014f460
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14018d87c
int3
Function at 0x14004bd70
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
Function at 0x14004c520
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x120
xor ebx, ebx
lea r9, [rax + 0x18]
mov rsi, rdx
mov dword [rsp + 0x140], ebx
xor r8d, r8d
mov qword [rax + 0x18], rbx
xor edx, edx
call sub.SHELL32.dll_SHGetKnownFolderPath
mov edi, eax
test eax, eax
jns 0x14004c5bf
call sub.libcef.dll_cef_get_min_log_level
cmp eax, 2
jg 0x14004c59e
lfence
lea r9d, [rbx + 2]
mov r8d, 0x16a
lea rdx, str.C:uworkspace03_21cefwinauto_srcutils_win.cc
lea rcx, [rsp + 0x20]
call fcn.1400bf370
lea rdx, str.Failed_to_get_known_folder_path._HR:
lea rcx, [rax + 8]
call fcn.140002560
mov rcx, rax
mov edx, edi
call fcn.140049bf0
mov ebx, 1
test bl, 1
je 0x14004c5ad
lea rcx, [rsp + 0x20]
call fcn.1400bf6d0
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x14004c5f3
lfence
mov rdx, qword [rsp + 0x140]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bx
jne 0x14004c5d1
mov rcx, rsi
call fcn.140025540
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14004cfd0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r15
sub rsp, 0x50
mov rbx, rdx
mov rsi, rcx
call fcn.14004e420
test al, al
je 0x14004d112
xor ecx, ecx
mov qword [0x140273968], rbx
call fcn.14004ef30
mov rdi, rax
test rax, rax
je 0x14004d112
mov edx, 0x40
mov dword [rsp + 0x80], 0
lea r15, [section..crthunk]
mov r8d, edx
mov rcx, r15
lea r9, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14004d112
mov rax, qword [rdi]
mov rcx, rdi
mov qword [rsp + 0x70], rbp
call qword [rax + 0x30]
mov rbx, qword [rdi]
lea rcx, [0x1402054a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x40], 0
lea r9, str.NtMapViewOfSection
mov qword [rsp + 0x38], 0x40
mov rdx, rax
lea rax, [0x14004ed10]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
mov r8, rsi
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov edx, 8
mov qword [section..oldntma], r15
lea r9, [rsp + 0x80]
mov ebp, eax
lea rcx, [section..oldntma]
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, qword [rdi]
mov esi, 1
mov edx, esi
mov rcx, rdi
mov ebx, eax
call qword [r9]
test ebx, ebx
je 0x14004d0f3
lea r9, [rsp + 0x80]
mov rcx, r15
lea edx, [rsi + 0x3f]
lea r8d, [rsi + 0x1f]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14004d0f5
xor esi, esi
test ebp, ebp
mov rbp, qword [rsp + 0x70]
js 0x14004d112
test esi, esi
je 0x14004d112
mov al, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r15
pop rdi
pop rsi
ret
mov rbx, qword [rsp + 0x78]
xor al, al
add rsp, 0x50
pop r15
pop rdi
pop rsi
ret
Function at 0x14004ef30
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x14026fe68]
xor rax, rsp
mov qword [rsp + 0x140], rax
movzx edi, cl
mov dword [rsp + 0x20], 0x11c
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, pe_nt_image_headers64
call fcn.14017f770
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rsp + 0x24]
cmp eax, 5
jne 0x14004eff6
mov eax, dword [rsp + 0x28]
test eax, eax
jle 0x14004f003
cmp eax, 1
jne 0x14004ef94
cmp word [rsp + 0x134], 2
jb 0x14004f003
mov qword [rsp + 0x160], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, 0x30
mov rbx, rax
call fcn.14014f37c
test rax, rax
je 0x14004efd5
lea rcx, [0x140205570]
mov qword [rax + 0x18], 0
mov qword [rax], rcx
mov qword [rax + 0x20], rbx
mov byte [rax + 0x28], dil
mov dword [rax + 0x2c], 0
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14014f460
add rsp, 0x150
pop rdi
ret
cmp eax, 6
jne 0x14004f001
mov ecx, dword [rsp + 0x28]
jmp 0x14004ef94
jg 0x14004ef94
xor eax, eax
jmp 0x14004efdd

Function at 0x14004f420
Capabilities:
Parse pe header

Disassembly:
mov rdx, qword [rcx + 8]
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14004f456
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14004f456
mov ecx, 0xf0
cmp word [rax + rdx + 0x14], cx
jne 0x14004f456
mov ecx, 0x20b
cmp word [rax + rdx + 0x18], cx
jne 0x14004f456
mov al, 1
ret
xor al, al
ret

Function at 0x14004fc20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, r9
lea rax, [rsp + 0x30]
mov rbx, r8
mov qword [rsp + 0x20], rax
mov r8, rdi
mov r9d, 8
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14004fcb1
lea rax, [rsp + 0x38]
mov r9, rdi
mov r8, rbx
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14004fc88
cmp rdi, qword [rsp + 0x38]
jne 0x14004fc88
mov bl, 1
jmp 0x14004fc8a
xor bl, bl
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14004fcb1
movzx eax, bl
jmp 0x14004fcb3
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140055e80
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rdx + 8]
mov rbx, rdx
test rax, rax
je 0x140055e97
mov r8, qword [rax]
jmp 0x140055e9a
xor r8d, r8d
mov dword [rsp + 0x28], 1
lea rdx, str.explore
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rbx + 8]
lea rax, [0x140201800]
mov qword [rbx], rax
test rcx, rcx
je 0x140055ef5
cmp byte [rbx + 0x10], 0
je 0x140055ee9
call sub.libcef.dll_cef_string_utf16_clear
mov rcx, qword [rbx + 8]
mov edx, SafeArrayPutElement
call fcn.14014f3b8
mov qword [rbx + 8], 0
mov byte [rbx + 0x10], 0
add rsp, 0x30
pop rbx
ret
Function at 0x140055f00
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rdx + 8]
mov rbx, rdx
test rax, rax
je 0x140055f17
mov r8, qword [rax]
jmp 0x140055f1a
xor r8d, r8d
mov dword [rsp + 0x28], 1
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rbx + 8]
lea rax, [0x140201800]
mov qword [rbx], rax
test rcx, rcx
je 0x140055f75
cmp byte [rbx + 0x10], 0
je 0x140055f69
call sub.libcef.dll_cef_string_utf16_clear
mov rcx, qword [rbx + 8]
mov edx, SafeArrayPutElement
call fcn.14014f3b8
mov qword [rbx + 8], 0
mov byte [rbx + 0x10], 0
add rsp, 0x30
pop rbx
ret
Function at 0x140061690
Capabilities:
Identify system language via api

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14026fe68]
xor rax, rsp
mov qword [rbp + 0x3f], rax
movdqa xmm0, xmmword [0x140202030]
mov rdi, rdx
mov rbx, rcx
mov byte [rbp - 0x21], 0
lea rdx, str.SELECT_Caption__Version_FROM_Win32_OperatingSystem
mov r8d, 0x32
lea rcx, [rbp - 0x21]
movdqu xmmword [rbp - 0x11], xmm0
call fcn.1400137c0
lea rax, [0x140206108]
mov qword [rbp + 7], rdi
mov qword [rbp - 1], rax
lea r8, [rbp - 1]
lea rax, [rbp - 1]
mov rcx, rbx
lea rdx, [rbp - 0x21]
mov qword [rbp + 0x37], rax
call fcn.14005ef30
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x14006173d
mov rcx, qword [rbp - 0x21]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061738
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006189f
call fcn.14014f3b8
mov qword [rsp + 0xd0], r14
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
lea rcx, [rbp - 1]
call fcn.140062940
lea r14, [0x140201800]
mov qword [rbp - 0x31], 0
mov qword [rbp - 0x39], r14
mov rbx, rax
mov byte [rbp - 0x29], 0
cmp qword [rax + 0x10], 0
je 0x1400617b6
mov ecx, SafeArrayPutElement
call fcn.14014f37c
mov qword [rbp - 0x31], rax
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov byte [rbp - 0x29], 1
cmp qword [rbx + 0x18], 8
mov rdx, qword [rbx + 0x10]
jb 0x1400617a4
mov rbx, qword [rbx]
mov r8, qword [rbp - 0x31]
mov r9d, 1
mov rcx, rbx
call sub.libcef.dll_cef_string_utf16_set
lea rdx, str.UserDefaultUILanguage
lea rcx, [rbp - 0x21]
call fcn.140004fc0
mov rcx, qword [rdi]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SetErrorInfo]
mov rcx, qword [rbp - 0x19]
mov qword [rbp - 0x21], r14
test rcx, rcx
je 0x14006180c
cmp byte [rbp - 0x11], 0
je 0x140061800
call sub.libcef.dll_cef_string_utf16_clear
mov rcx, qword [rbp - 0x19]
mov edx, SafeArrayPutElement
call fcn.14014f3b8
mov qword [rbp - 0x19], 0
mov byte [rbp - 0x11], 0
mov rcx, qword [rbp - 0x31]
mov qword [rbp - 0x39], r14
mov r14, qword [rsp + 0xd0]
test rcx, rcx
je 0x140061846
cmp byte [rbp - 0x29], 0
je 0x14006183a
call sub.libcef.dll_cef_string_utf16_clear
mov rcx, qword [rbp - 0x31]
mov edx, SafeArrayPutElement
call fcn.14014f3b8
mov qword [rbp - 0x31], 0
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140061882
mov rcx, qword [rbp - 1]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006187d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140061899
call fcn.14014f3b8
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14014f460
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret
call fcn.14018d87c
int3
call fcn.14018d87c
int3
Function at 0x140068ce0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [0x14026fe68]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r15, rdx
mov dword [rsp + 0x30], 0x238
xor edx, edx
mov r14, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
xor ebp, ebp
lea rdx, [rsp + 0x30]
mov rcx, rax
mov qword [r14], rbp
mov qword [r14 + 8], rbp
mov rbx, rax
mov qword [r14 + 0x10], rbp
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x140068eaf
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x140068eaf
mov qword [rsp + 0x280], rbp
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x288], 7
mov r8, 0xffffffffffffffff
mov word [rsp + 0x270], bp
nop dword [rax]
inc r8
cmp word [rax + r8*2], bp
jne 0x140068d90
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x270]
call fcn.140025540
cmp qword [r15 + 0x18], 8
mov rax, r15
jb 0x140068db9
mov rax, qword [r15]
mov rsi, qword [rsp + 0x288]
lea r8, [rsp + 0x270]
mov rdi, qword [rsp + 0x270]
cmp rsi, 8
mov rdx, qword [rsp + 0x280]
cmovae r8, rdi
cmp rdx, qword [r15 + 0x10]
jne 0x140068e62
test rdx, rdx
je 0x140068e04
sub r8, rax
nop
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x140068e62
add rax, 2
sub rdx, 1
jne 0x140068df0
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdx, qword [r14 + 8]
mov ecx, dword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], ecx
cmp qword [r14 + 0x10], rdx
je 0x140068e3f
mov qword [rdx], rax
mov dword [rdx + 8], ecx
add qword [r14 + 8], 0x10
mov qword [rsp + 0x20], rbp
jmp 0x140068e62
lea r8, [rsp + 0x20]
mov rcx, r14
call fcn.140065a40
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140068e62
cmp rcx, 0xffffffffffffffff
je 0x140068e62
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rsi, 8
jb 0x140068e99
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140068e91
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068ef2
mov rcx, rdi
call fcn.14014f3b8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x140068d61
lea rcx, [rbx - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140068ec2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r14
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14014f460
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.14018d87c
int3
Function at 0x140068f00
Capabilities:
Create thread

Disassembly:
push rbx
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x140273990]
xor r12d, r12d
mov r15, rdx
mov r14, rcx
test rdi, rdi
jne 0x14006901f
mov ecx, 0xf0
call fcn.14014f37c
mov rdi, rax
test rax, rax
je 0x140068ff6
mov rbx, qword [0x14026fc30]
lea rcx, [rax + 0x48]
xorps xmm0, xmm0
mov dword [rax], 1
mov qword [rax + 8], r12
lea edx, [r12 + 2]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r12
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], r12
movups xmmword [rax + 0x38], xmm0
call fcn.14013006c
lea rcx, [rdi + 0x98]
call fcn.140130558
lea ecx, [r12 + 0x10]
mov qword [rdi + 0xe0], rbx
mov byte [rdi + 0xe8], r12b
call fcn.14014f37c
test rax, rax
je 0x140068faf
lea rcx, [0x140069440]
mov qword [rax], rdi
mov qword [rax + 8], rcx
jmp 0x140068fb2
mov rax, r12
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1400665f0]
xor ecx, ecx
mov dword [rsp + 0x20], r12d
xor edx, edx
call fcn.1401a9514
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400690f6
movaps xmm1, xmmword [rsp + 0x30]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
movups xmmword [rdi + 0x38], xmm1
jmp 0x140068ff9
mov rdi, r12
mov rdx, qword [0x140273990]
mov qword [0x140273990], rdi
test rdx, rdx
je 0x14006901f
lea rcx, [0x140273990]
call fcn.1400682d0
mov rdi, qword [0x140273990]
lea rcx, [rdi + 0x48]
mov qword [rsp + 0x70], rbp
call fcn.14013009c
test eax, eax
jne 0x140069106
mov qword [rsp + 0x78], rsi
lea ecx, [rax + 0x38]
mov esi, dword [rdi]
call fcn.14014f37c
mov rbx, rax
test rax, rax
je 0x14006906c
mov dword [rax], esi
mov rdx, r15
mov rcx, qword [r14]
mov qword [r14], r12
mov qword [rax + 8], rcx
lea rcx, [rax + 0x10]
call fcn.140005660
mov word [rbx + 0x30], 0x100
jmp 0x14006906f
mov rbx, r12
mov rdx, qword [rdi + 0x10]
lea rcx, [rdi + 8]
mov qword [rsp + 0x80], rbx
cmp qword [rcx + 0x10], rdx
je 0x14006908f
mov qword [rdx], rbx
add qword [rcx + 8], 8
jmp 0x1400690b6
lea r8, [rsp + 0x80]
call fcn.140065c00
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400690b6
lea rcx, [rsp + 0x80]
call fcn.140068180
inc dword [rdi]
lea rcx, [rdi + 0x48]
call fcn.140130118
test eax, eax
jne 0x14006910e
lea rcx, [rdi + 0x98]
call fcn.140130560
test eax, eax
jne 0x1400690ee
mov rbp, qword [rsp + 0x70]
mov eax, esi
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rbx
ret
mov ecx, eax
call fcn.140130670
int3
mov ecx, 6
mov dword [rsp + 0x38], r12d
call fcn.1401306ac
int3
mov ecx, eax
call fcn.140130670
int3
mov ecx, eax
call fcn.140130670
int3
Function at 0x140076930
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
lea r8, [0x1400760d0]
mov rbx, rdx
mov qword [rsp + 0x28], rax
mov r9, rdx
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0xe8], rax
add rsp, 0x30
pop rbx
ret
Function at 0x14007d640
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14026fe68]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14007d715
cmp byte [rcx + 0x71], 0
je 0x14007d715
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + SafeArrayPutElement]
cmp eax, 0xffffffff
je 0x14007d711
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x14007d6d4
sub eax, 1
je 0x14007d6d8
cmp eax, 2
jne 0x14007d711
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014f460
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14007d708
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.1401a868c
cmp rdi, rax
jne 0x14007d711
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14007d6bc
xor al, al
jmp 0x14007d6bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014f460
add rsp, 0x60
pop rbx
ret
Function at 0x14008cd40
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x190
xorps xmm0, xmm0
lea rax, str.open
xor ebx, ebx
cmp qword [rcx + 0x18], 8
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x20], WSACleanup
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x1a0], ebx
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
and al, 0x70
movups xmmword [rsp + 0x80], xmm0
jb 0x14008cd9d
mov rcx, qword [rcx]
mov qword [rsp + 0x38], rcx
cmp qword [rdx + 0x10], rbx
jbe 0x14008cdb9
cmp qword [rdx + 0x18], 8
jb 0x14008cdb2
mov rdx, qword [rdx]
mov qword [rsp + 0x40], rdx
jmp 0x14008cdbe
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
sete sil
je 0x14008ce50
call sub.libcef.dll_cef_get_min_log_level
cmp eax, 2
jg 0x14008ce3e
mov r9d, 2
mov qword [rsp + 0x1a8], rdi
mov r8d, 0x33f
lea rdx, str.C:uworkspace03_21cefwinauto_srcquery_handler_win.cc
lea rcx, [rsp + 0x90]
call fcn.1400bf370
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbx + 8]
mov edi, eax
lea rdx, str.Unable_to_start_process._Error:
call fcn.140002560
mov rcx, rax
mov edx, edi
call fcn.140049d70
mov rdi, qword [rsp + 0x1a8]
mov ebx, 1
test bl, 1
je 0x14008ce50
lea rcx, [rsp + 0x90]
call fcn.1400bf6d0
mov rbx, qword [rsp + 0x1b0]
movzx eax, sil
add rsp, 0x190
pop rsi
ret
Function at 0x140091c40
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14026fe68]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140091d17
cmp byte [rcx + 0x72], 0
je 0x140091d17
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + SafeArrayPutElement]
cmp di, ax
je 0x140091d13
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x140091cd6
sub eax, 1
je 0x140091cda
cmp eax, 2
jne 0x140091d13
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014f460
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140091d0a
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.1401a868c
cmp rdi, rax
jne 0x140091d13
cmp byte [rbx + 0x72], 0
sete al
jmp 0x140091cbe
xor al, al
jmp 0x140091cbe
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014f460
add rsp, 0x60
pop rbx
ret
Function at 0x140096870
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x14009694f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], si
jne 0x1400968a7
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x140096952
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x1400968f6
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], di
jne 0x140096900
test rax, rax
je 0x14009694f
lfence
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
mov edx, edi
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140096940
cmp rdx, rax
jb 0x140096920
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret