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

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x360
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov ebx, r9d
mov rbp, r8
mov r14, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x50]
call fcn.140249b10
mov r8d, ebx
lea rdx, [0x140286ae4]
lea rcx, [rsp + 0x50]
call fcn.140006bc0
mov r9d, 1
mov r8d, r9d
lea rdx, [rsp + 0x50]
lea rcx, vtable.CSASApplicationLogManager.0
mov rax, qword [vtable.CSASApplicationLogManager.0]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14007ee3e
lea rax, vtable.CSABStringW.0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x150]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14007ed75
mov dword [rsp + 0x40], ebx
lea ecx, [rbx*2 + 2]
call fcn.140247068
mov rdi, rax
mov qword [rsp + 0x38], rax
xor r15d, r15d
test rax, rax
je 0x14007edbd
mov ecx, ebx
lea rbx, [rcx + rcx]
mov r8, rbx
lea rdx, [rsp + 0x150]
mov rcx, rax
call fcn.1402496a0
mov word [rbx + rdi], r15w
mov dword [rsp + 0x44], 1
mov r9, qword [rsp + 0x3b0]
mov r8, qword [rsp + 0x3a8]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400929d0
test eax, eax
je 0x14007ee28
mov dword [rsp + 0x28], r15d
mov rax, qword [rsp + 0x3a0]
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x38]
mov r9, rbx
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call fcn.14007e9e0
mov edi, eax
cmp dword [rsp + 0x44], 1
jne 0x14007ee24
test rbx, rbx
je 0x14007ee24
mov rcx, rbx
call fcn.140247060
mov eax, edi
jmp 0x14007ee40
cmp dword [rsp + 0x44], 1
jne 0x14007ee3e
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14007ee3e
call fcn.140247060
xor eax, eax
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140087260
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rdx]
mov rbx, rcx
mov rcx, rdx
mov rdi, r8
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, rdi
mov rcx, rbx
mov rdx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140086f70
Function at 0x14008b4b0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rbx, rcx
lea r8, [rbp + 0x250]
mov rcx, qword [rcx + 0x18]
lea rdx, str.SABTemp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x14008b6b8
mov rcx, qword [rbx + 0x20]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x360], rdi
mov r9d, 0x190
xor edx, edx
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x14008b588
nop dword [rax]
inc edi
lea rdx, str._.12d
mov r8d, edi
lea rcx, [rbp + 0xb0]
call fcn.140006bc0
mov rcx, qword [rbp + 0x250]
lea r8, [rbp + 0x258]
lea rdx, [rbp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x14008b56d
mov r8, qword [rbp + 0x258]
lea rdx, [rsp + 0x20]
mov rcx, qword [rbx + 0x20]
xor r9d, r9d
call qword [sym.imp.SHLWAPI.dll_SHCopyKeyA]
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbx + 0x20]
lea r8, [rsp + 0x20]
mov r9d, 0x190
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x14008b510
mov rcx, qword [rbx + 0x20]
lea r8, [rsp + 0x20]
mov r9d, 0x190
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x14008b5da
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x20]
lea rdx, [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, qword [rbx + 0x20]
lea r8, [rsp + 0x20]
mov r9d, 0x190
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x14008b5b0
mov rcx, qword [rbp + 0x250]
lea r8, [rsp + 0x20]
mov r9d, 0x190
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x14008b692
mov edi, 1
mov r8d, edi
lea rdx, str._.12d
lea rcx, [rbp + 0xb0]
call fcn.140006bc0
mov rcx, qword [rbx + 0x20]
lea r8, [rbp + 0x258]
lea rdx, [rbp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x14008b65c
mov r8, qword [rbp + 0x258]
lea rdx, [rsp + 0x20]
mov rcx, qword [rbp + 0x250]
xor r9d, r9d
call qword [sym.imp.SHLWAPI.dll_SHCopyKeyA]
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x250]
lea rdx, [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, qword [rbp + 0x250]
lea r8, [rsp + 0x20]
mov r9d, 0x190
xor edx, edx
inc edi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x14008b601
mov rcx, qword [rbp + 0x250]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbx + 0x18]
lea rdx, str.SABTemp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rdi, qword [rsp + 0x360]
mov rbx, qword [rsp + 0x368]
add rsp, 0x340
pop rbp
ret
Function at 0x14008eb40
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7a8]
sub rsp, 0x880
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x370]
call fcn.140249b10
cmp dword [rdi + 0x14e8], 0
jne 0x14008ebdf
mov r8d, 0x410
lea rdx, [rbp + 0x370]
lea rcx, str.PROGRAMFILES
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x60]
call fcn.140249b10
lea rdx, [rsp + 0x60]
mov ecx, 0x2a
call fcn.1400eac30
lea rdx, [rsp + 0x60]
lea rcx, str.PROGRAMFILES
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov rbx, qword [r14 + 0x28]
mov rbx, qword [rbx]
cmp dword [rdi + 0x127c], 0
jne 0x14008ed36
lea r13, vtable.CSABEnvironmentStringsEx.0
lea r12, vtable.CSABString.0
xor r15d, r15d
cmp rbx, qword [r14 + 0x28]
je 0x14008ed36
mov edx, 0xffffffff
mov rcx, qword [rdi + 0x1290]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rsi, qword [rbx + 0x18]
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x60]
call fcn.140249b10
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x38], r15d
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140247068
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140247068
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rsp + 0x54], 1
mov r9d, 0x410
lea r8, [rsp + 0x60]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.14003ced0
mov dword [rbp + 0x7b0], r15d
movzx eax, word [rsp + 0x60]
mov word [rbp + 0x7b0], ax
movzx eax, byte [rsp + 0x62]
mov byte [rbp + 0x7b2], al
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
lea rdx, [rbp + 0x7b0]
call qword [rax + 0xd0]
test eax, eax
je 0x14008ecfa
lea r9, [rbp + 0x7b0]
lea r8, [rsp + 0x63]
mov rdx, r14
mov rcx, rdi
call fcn.14008cb60
nop
cmp dword [rsp + 0x54], 1
jne 0x14008ed10
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14008ed10
call fcn.140247060
cmp dword [rsp + 0x3c], 1
jne 0x14008ed26
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14008ed26
call fcn.140247060
mov rbx, qword [rbx]
cmp dword [rdi + 0x127c], 0
je 0x14008ec04
cmp dword [rdi + 0x14e8], 0
jne 0x14008ed53
lea rdx, [rbp + 0x370]
lea rcx, str.PROGRAMFILES
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xor eax, eax
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140092fb0
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x14034e590]
lea rdx, str.CScannerSubFunctionManager::RunSubFunctions___E
mov rdi, rcx
mov rcx, qword [rax + 0x12d8]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov eax, dword [rdi + 0x18]
mov rcx, 0xffffffffffffffff
mov dword [rdi + 0x20], eax
mov edx, eax
mov eax, 8
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.140247068
mov qword [rdi + 0x28], rax
xor esi, esi
mov rax, qword [rdi + 0x10]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14009310e
mov qword [rsp + 0x158], rbp
mov qword [rsp + 0x160], r14
cmp dword [rdi + 8], 0
je 0x1400930cc
mov r9, qword [rbx + 0x10]
lea rax, [rsp + 0x150]
mov qword [rsp + 0x28], rax
lea r8, [0x1400b2180]
xor ecx, ecx
mov dword [rsp + 0x20], 0x10000
mov edx, dword [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [rdi + 0x30]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
test eax, eax
je 0x1400930c0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x100
call fcn.140249b10
mov r9d, dword [rsp + 0x150]
lea rdx, str.Thread___x____id___x____error___x__
mov r8, rbp
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x30]
call fcn.140006bc0
mov rax, qword [0x14034e590]
lea rdx, [rsp + 0x30]
mov rcx, qword [rax + 0x12d8]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rax, qword [rdi + 0x28]
mov qword [rax + rsi*8], rbp
inc esi
jmp 0x1400930f1
mov rax, qword [0x14034e590]
lea rdx, str.Run_In_Same_Threads
mov rcx, qword [rax + 0x12d8]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rax, qword [rbx + 0x10]
mov rcx, rax
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rbx, qword [rbx]
cmp rbx, qword [rdi + 0x10]
jne 0x140093022
mov r14, qword [rsp + 0x160]
mov rbp, qword [rsp + 0x158]
mov rax, qword [0x14034e590]
lea rdx, str.CScannerSubFunctionManager::RunSubFunctions___L
mov rcx, qword [rax + 0x12d8]
mov rax, qword [rcx]
add rsp, 0x130
pop rdi
pop rsi
pop rbx
jmp qword [rax + 0x48]
Function at 0x140098ed0
Capabilities:
Parse url

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x90
mov rdi, rdx
lea rcx, [rsp + 0x20]
xor edx, edx
mov rbp, r8
mov r14d, r9d
lea r8d, [rdx + 0x68]
call fcn.140249b10
add r14d, 0xfffffffe
mov dword [rsp + 0x20], 0x68
lea rdx, str.cookie:
mov dword [rsp + 0x40], r14d
mov rcx, rdi
mov qword [rsp + 0x38], rbp
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x140099028
mov edx, 0x40
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrChrA]
mov rbx, rax
test rax, rax
je 0x140099028
inc rbx
mov edx, 0x5b
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrChrA]
mov rdi, rax
test rax, rax
je 0x140098f93
mov r8d, r14d
xor edx, edx
mov rcx, rbp
call fcn.140249b10
mov ecx, edi
sub ecx, ebx
cmp ecx, r14d
jae 0x140099094
sub rdi, rbx
mov rdx, rbx
mov r8, rdi
mov rcx, rbp
call fcn.140252220
jmp 0x140099094
mov rdi, rbp
mov qword [rsp + 0xa0], rsi
sub rdi, rbx
mov rcx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rdi + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140098fb0
mov edx, PathResolve
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrChrA]
mov rsi, rax
test rax, rax
je 0x140099010
mov r8d, r14d
xor edx, edx
mov rcx, rbp
call fcn.140249b10
mov ecx, esi
sub ecx, ebx
cmp ecx, r14d
jae 0x14009901e
sub rsi, rbx
mov rdx, rbx
mov r8, rsi
mov rcx, rbp
call fcn.140252220
mov rsi, qword [rsp + 0xa0]
jmp 0x140099094
movzx eax, byte [rbx]
mov byte [rdi + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x140099010
mov rsi, qword [rsp + 0xa0]
jmp 0x140099094
lea rdx, str.visited:
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x140099070
mov edx, 0x40
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrChrA]
test rax, rax
je 0x140099070
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp byte [rax + rdx + 1], 0
jne 0x140099060
lea rcx, [rax + 1]
jmp 0x140099083
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rdi + rdx], 0
jne 0x140099077
mov rcx, rdi
lea r9, [rsp + 0x20]
mov r8d, 0x10000000
call qword [sym.imp.WININET.dll_InternetCrackUrlA]
lea r11, [rsp + 0x90]
mov eax, 1
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400b1ea0
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rdi, rcx
xor ebx, ebx
mov dword [rbp + 0x67], ebx
mov qword [rcx + 0x127c], rbx
add rcx, 0x1370
call fcn.1400b2cb0
lea rcx, [rdi + 0x1380]
call fcn.140025de0
lea rcx, [rdi + 0x13c0]
call fcn.1400b2d20
lea rcx, [rdi + 0x13b0]
call fcn.140025de0
lea rcx, [rdi + 0x1390]
call fcn.140025de0
mov qword [rdi + 0x129c], rbx
mov qword [rdi + 0x12a4], rbx
mov qword [rdi + 0x12ac], rbx
mov dword [rdi + 0x78], ebx
lea rcx, str.https:__www.superantispyware.com_sas_analytics.html_t
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp + 0x6f], rax
test rax, rax
je 0x1400b2130
lea rdx, str.scanstart_
lea rcx, [rbp + 0x6f]
call fcn.140081a70
mov r8d, dword [0x140350860]
lea r9, [rbp + 0x39]
nop dword [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x1400b1f60
movdqa xmm0, xmmword [0x14029c3c0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], bx
lea rax, [rbp + 0x39]
cmp r9, rax
je 0x1400b1fc0
lea r8, [rbp + 0x39]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rbp - 0x11]
call fcn.1400b2b10
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
lea rcx, [rbp + 0x6f]
call fcn.140081b40
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400b2017
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b2012
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b213b
call fcn.140247060
lea rdx, [0x14029a94c]
lea rcx, [rbp + 0x6f]
call fcn.140081a70
lea rdx, [0x14037ae40]
lea rcx, [rbp - 0x11]
call fcn.1400f55e0
cmp qword [rax + 0x18], 8
jb 0x1400b2041
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x6f]
call fcn.140081b40
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400b208d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b2088
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b212a
call fcn.140247060
mov rsi, qword [0x1403534d0]
mov rbx, qword [rbp + 0x6f]
cmp qword [rsi + 8], 0
je 0x1400b20df
lea rcx, [rbp - 0x11]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
lea rdx, [rbp - 0x11]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x11]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x11]
mov rdx, rbx
call qword [rax + 0x58]
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x148]
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10000
mov r9, rdi
lea r8, [0x1400af730]
mov edx, 0x800000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x1288], rax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call fcn.1402500e8
nop
mov ecx, 0x8007000e
call fcn.140004cd0
nop
call fcn.1402500e8
int3
Function at 0x1400ba2b0
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rbx, rcx
mov edi, 1
mov r9d, edi
mov r8d, 0x100
lea rdx, str.CSASSOFile::Delete
lea rcx, [rsp + 0x28]
call fcn.1400b30a0
nop
cmp dword [rbx + 0x1b8], 0
jne 0x1400ba305
mov dword [rbx + 0x14], 0xffffffff
lea r9, str.Invalid_File_Path
mov ecx, 0x2ad
jmp 0x1400ba333
lea rcx, [rbx + 0xb0]
call fcn.14000ad30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400ba34c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x14], eax
lea r9, str.Failed_To_Delete_File
mov ecx, 0x2b5
mov dword [rbx + 0x10], 0xa
mov r8d, 2
mov edx, 0x100
call fcn.1400fd140
xor edi, edi
lea rcx, [rsp + 0x28]
call fcn.1400b3190
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400bba90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov r14, rdx
mov rsi, rcx
mov edi, 1
mov r9d, edi
mov r8d, 0x100
lea rdx, str.CSASSOFile::GetType
lea rcx, [rax - 0x38]
call fcn.1400b30a0
nop
mov dword [r14], 3
mov rcx, rsi
call fcn.1400bbc50
test eax, eax
je 0x1400bbaec
mov dword [r14], 2
jmp 0x1400bbb4e
lea rax, vtable.CSABStringW.0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x38], 0
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140247068
mov rbx, rax
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov ebp, edi
mov dword [rsp + 0x3c], edi
cmp dword [rsi + 0x1b8], eax
jne 0x1400bbb6f
mov dword [rsi + 0x10], SafeArrayGetDim
mov dword [rsi + 0x14], 0xffffffff
xor edi, edi
lea ecx, [rbp - 1]
test ecx, ecx
jne 0x1400bbb4e
test rbx, rbx
je 0x1400bbb4e
mov rcx, rbx
call fcn.140247060
nop
lea rcx, [rsp + 0x40]
call fcn.1400b3190
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
lea rcx, [rsi + 0xb0]
call fcn.14000ad30
mov rcx, 0xffffffffffffffff
lea rcx, [rcx + 1]
cmp word [rax + rcx*2], 0
jne 0x1400bbb82
lea rcx, [rax + rcx*2]
movzx eax, word [rcx]
cmp ax, 0x5c
je 0x1400bbb37
nop word [rax + rax]
cmp ax, 0x2e
je 0x1400bbbb5
sub rcx, 2
movzx eax, word [rcx]
cmp ax, 0x5c
jne 0x1400bbba0
jmp 0x1400bbb37
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1400bbc3c
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14002a980
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rdx, [0x14029f8f8]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140252b94
test eax, eax
jne 0x1400bbc06
mov dword [r14], edi
mov ebp, dword [rsp + 0x3c]
jmp 0x1400bbb39
lea rdx, [0x14029faf0]
mov rcx, rbx
call fcn.140252b94
test eax, eax
je 0x1400bbc2c
lea rdx, [0x14029fb00]
mov rcx, rbx
call fcn.140252b94
test eax, eax
jne 0x1400bbc33
mov dword [r14], 0
mov ebp, dword [rsp + 0x3c]
jmp 0x1400bbb39
mov ecx, 0x8007000e
call fcn.140004cd0
int3
Function at 0x1400bc490
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
mov r9d, 1
mov r8d, 0x100
lea rdx, str.CSASSOFile::CEnumeratedFile::Remove__
lea rcx, [rax - 0x28]
call fcn.1400b30a0
nop
xor edi, edi
cmp dword [rbx + 0x40], edi
jne 0x1400bc513
add dword [0x14034e620], 0x220
mov ecx, 0x220
call fcn.140250fe4
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400bc505
mov rdx, qword [rbx + 0x68]
mov rcx, rax
call fcn.1400b9970
jmp 0x1400bc508
mov rax, rdi
mov qword [rbx + 0x38], rax
mov dword [rbx + 0x40], 1
mov rcx, qword [rbx + 0x38]
call fcn.1400bbc50
mov rdx, qword [rbx + 0x68]
mov rcx, rsi
test eax, eax
mov rax, qword [rsi]
je 0x1400bc52f
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
jmp 0x1400bc532
call qword [rax + 0x20]
mov rax, qword [rsi]
mov r8, rbp
mov rdx, qword [rbx + 0x38]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rbx, qword [rbx + 0x38]
mov r9d, 1
mov r8d, 0x100
lea rdx, str.CSASSOFile::Delete
lea rcx, [rsp + 0x28]
call fcn.1400b30a0
nop
cmp dword [rbx + 0x1b8], 0
jne 0x1400bc5a4
mov dword [rbx + 0x10], 0xa
mov dword [rbx + 0x14], 0xffffffff
lea r9, str.Invalid_File_Path
mov edx, 0x100
mov r8d, 2
mov ecx, 0x2ad
call fcn.1400fd140
nop
lea rcx, [rsp + 0x28]
call fcn.1400b3190
jmp 0x1400bc605
lea rcx, [rbx + 0xb0]
call fcn.14000ad30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400bc5f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x10], 0xa
mov dword [rbx + 0x14], eax
lea r9, str.Failed_To_Delete_File
mov edx, 0x100
mov r8d, 2
mov ecx, 0x2b5
call fcn.1400fd140
nop
lea rcx, [rsp + 0x28]
call fcn.1400b3190
jmp 0x1400bc605
lea rcx, [rsp + 0x28]
call fcn.1400b3190
mov edi, 1
lea rcx, [rsp + 0x40]
call fcn.1400b3190
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400bf560
Capabilities:
Get file system object information

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x310
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rsi, rdx
mov rdi, rcx
mov ebx, 1
mov r9d, ebx
mov r8d, 0x400
lea rdx, str.CSASSOFileEXE::GetShellIcon
lea rcx, [rsp + 0x38]
call fcn.1400b30a0
nop
cmp dword [rdi + 0x1b8], 0
jne 0x1400bf5cb
mov dword [rdi + 0x10], SafeArrayGetDim
mov dword [rdi + 0x14], 0xffffffff
lea r9, str.Missing_File_Path
lea r8d, [rbx + 1]
mov ecx, 0x2dc
jmp 0x1400bf628
xor edx, edx
mov r8d, 0x2b8
lea rcx, [rsp + 0x50]
call fcn.140249b10
lea rcx, [rdi + 0xb0]
call fcn.14000ad30
mov rcx, rax
mov dword [rsp + 0x20], 0x100
mov r9d, 0x2b8
lea r8, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400bf616
mov rax, qword [rsp + 0x50]
mov qword [rsi], rax
jmp 0x1400bf634
lea r9, str.No_icon_found
mov r8d, 8
mov ecx, 0x2ea
mov edx, 0x400
call fcn.1400fd140
xor ebx, ebx
lea rcx, [rsp + 0x38]
call fcn.1400b3190
mov eax, ebx
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400c4550
Capabilities:
Create thread

Disassembly:
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x1400c4550
xor eax, eax
ret
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rbx, rcx
mov r9d, 1
mov r8d, 0x400000
lea rdx, str.CSASSOInstalledProgram::Remove
lea rcx, [rsp + 0x40]
call fcn.1400b30a0
nop
mov edx, dword [rbx + 0x88]
inc edx
mov eax, 2
mul rdx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140247068
mov rdi, rax
mov r8d, dword [rbx + 0x88]
inc r8d
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.140249b10
mov rdx, qword [rbx + 0x80]
mov r8, rdi
nop word [rax + rax]
movzx ecx, word [rdx]
mov word [r8], cx
lea rdx, [rdx + 2]
lea r8, [r8 + 2]
test cx, cx
jne 0x1400c45d0
mov ecx, WSACleanup
call fcn.14018ef40
mov rsi, rax
xor edx, edx
lea r8d, [rdx + 0x70]
mov rcx, rax
call fcn.140249b10
mov dword [rsi + 4], 0x40
mov dword [rsi], WSACleanup
mov qword [rsi + 0x18], rdi
mov dword [rsi + 0x30], 1
xor ebp, ebp
mov ebx, ebp
mov edi, ebp
mov qword [rsp + 0x30], rbp
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400c46e7
mov dword [rsp + 0x98], ebp
mov dword [rsp + 0x90], ebp
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9d, [rbp + 4]
lea r8, [rsp + 0xa0]
lea edx, [rbp + 0x12]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400c46d8
mov ecx, dword [rsp + 0xa0]
sub ecx, 1
je 0x1400c469b
sub ecx, 1
je 0x1400c4692
cmp ecx, 1
jne 0x1400c46d8
jmp 0x1400c46d3
mov ebx, 1
mov edi, ebx
jmp 0x1400c46d8
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x98]
lea edx, [r9 + 0x10]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400c46d8
cmp dword [rsp + 0x98], ebx
setne bl
mov edi, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x1400c46ef
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
mov ebx, eax
lea rax, str.Open
lea rcx, [0x1402a20d0]
test ebx, ebx
cmovne rcx, rax
mov qword [rsi + 0x10], rcx
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rsi
lea r8, [0x1400c4750]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x40]
call fcn.1400b3190
xor eax, eax
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret