joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400081c0
Capabilities:
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov rax, qword [0x14002a008]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
lea rdx, [rsp + 0x28]
call fcn.140009540
nop
lea rcx, [rdi + 0x18]
mov rdx, rax
call fcn.140004130
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000821d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x60]
mov dword [rdi + 0xc], eax
call fcn.140009370
movsx ecx, ax
mov dword [rdi + 0x10], ecx
lea rdx, [rsp + 0x30]
call fcn.140003020
nop
lea rcx, [rdi + 0x20]
mov rdx, rax
call fcn.140004130
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000826b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x20]
call fcn.1400035b0
nop
lea rcx, [rdi + 0x28]
mov rdx, rax
call fcn.140004130
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000829c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140009a40
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x140008b70
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x14002a008]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r8d, 0x104
lea rbp, [0x14002d580]
mov rdx, rbp
lea rcx, str.seed
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r8d, 0x104
lea rbx, [0x14002d790]
mov rdx, rbx
lea rcx, str.dopath
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
call fcn.140002ec0
mov rdx, rax
xor esi, esi
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x140008bfa
mov ecx, 0x80004005
call fcn.140003000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
or rdi, 0xffffffffffffffff
test rbx, 0xffffffffffff0000
jne 0x140008c3a
movzx ebx, bx
mov ecx, ebx
call fcn.140002b10
test rax, rax
je 0x140008c5b
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140002440
jmp 0x140008c5b
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140008c40
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140002590
nop
mov rax, rdi
nop
inc rax
cmp word [rbp + rax*2], 0
jne 0x140008c60
mov r8d, eax
mov rdx, rbp
lea rcx, [rsp + 0x28]
call fcn.140003890
mov eax, dword [0x14002d394]
test al, 1
jne 0x140008ca1
or eax, 1
mov dword [0x14002d394], eax
mov word [0x14002cf80], si
lea rcx, [0x14001a7e0]
call fcn.14000a338
mov rbx, qword [rsp + 0x28]
mov rdx, rbx
lea rcx, [0x14002cf80]
call fcn.140005250
test eax, eax
je 0x140008d81
mov word [rsp + 0x30], si
xor eax, eax
mov qword [rsp + 0x32], rax
mov dword [rsp + 0x3a], eax
mov word [rsp + 0x3e], ax
lea r8d, [rax + 8]
lea rdx, [rsp + 0x30]
lea rcx, str.sudp
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_StrToIntW]
mov ebp, eax
mov r8d, 8
lea rdx, [rsp + 0x30]
lea rcx, str.stcp1
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_StrToIntW]
mov r14d, eax
mov r8d, 8
lea rdx, [rsp + 0x30]
lea rcx, str.stcp2
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_StrToIntW]
mov r15d, eax
mov edx, dword [0x14002d394]
test dl, 1
jne 0x140008d68
or edx, 1
mov dword [0x14002d394], edx
mov word [0x14002cf80], si
lea rcx, [0x14001a7e0]
call fcn.14000a338
movzx r9d, r15w
movzx r8d, r14w
movzx edx, bp
lea rcx, [0x14002cf80]
call fcn.140005300
mov esi, eax
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008d96
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140009a40
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x140009370
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x14002a008]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor ebx, ebx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
xor ecx, ecx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0x68]
lea r9, [0x140022818]
lea r8d, [rbx + 1]
lea rcx, [0x1400228e8]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea rdx, str.ROOTCIMV2
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
lea r8, str.SELECT_NumberOfLogicalProcessors_FROM_Win32_Processor
mov qword [rsp + 0x28], rdx
lea rdx, [0x140024b90]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
call qword [rax + 0xa0]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400094ec
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x70], ebx
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x50]
lea r8d, [rbx + 1]
or edx, 0xffffffff
call qword [rax + 0x20]
test eax, eax
jne 0x1400094ec
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x78]
lea rdx, str.NumberOfLogicalProcessors
mov rax, qword [rcx]
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x50]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + 0x20]
test eax, eax
je 0x140009496
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
movzx eax, word [rsp + 0x80]
test ax, ax
jg 0x14000951a
mov eax, 2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140009a40
add rsp, 0xa0
pop rbx
ret
Function at 0x140009540
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x280
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rax, qword [0x14002a008]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rdx
mov qword [rsp + 0x38], rdx
xor edi, edi
mov dword [rsp + 0x30], edi
xor eax, eax
mov qword [rdx], rax
call fcn.140002ec0
mov rcx, rax
mov eax, edi
test rcx, rcx
setne al
test eax, eax
jne 0x14000959e
mov ecx, 0x80004005
call fcn.140003000
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x30], 1
mov word [rsp + 0x60], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.14000b410
mov dword [rsp + 0x50], 0x104
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009654
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProcessorNameString
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009654
cmp dword [rsp + 0x50], 0x104
ja 0x140009654
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140009640
mov r8d, eax
lea rdx, [rsp + 0x60]
jmp 0x140009661
mov r8d, 7
lea rdx, [0x140024c30]
mov rcx, rbx
call fcn.140002590
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140009a40
mov rbx, qword [rsp + 0x290]
add rsp, 0x280
pop rdi
ret

Function at 0x14000c9d0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000c838
Function at 0x140003050
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
mov eax, 0x2048
call fcn.140019220
sub rsp, rax
mov rax, qword [0x1400335a0]
xor rax, rsp
mov qword [rsp + 0x2030], rax
lea rax, [rsp + 0x2058]
mov r9, rcx
lea rcx, [rsp + 0x30]
or r8, 0xffffffffffffffff
mov edx, 0x1000
mov qword [rsp + 0x20], rax
call fcn.140010354
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400030bc
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400030e4
call fcn.14000fd5c
lea r8, [rsp + 0x30]
lea rdx, [0x140023370]
lea rcx, [rax + 0x30]
call fcn.14000fc00
call fcn.14000fd5c
lea rcx, [rax + 0x30]
call fcn.14000ff44
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.14000fbe0
add rsp, 0x2048
ret
Function at 0x1400036c4
Capabilities:
Hide graphical window

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x778]
sub rsp, 0x870
mov rax, qword [0x1400335a0]
xor rax, rsp
mov qword [rbp + 0x760], rax
xor edx, edx
mov rdi, rcx
call qword [0x14001e3f0]
mov edx, 0x5e1
mov rcx, rdi
call qword [0x14001e428]
mov r9d, 0x20
xor r8d, r8d
mov rcx, rax
mov edx, 0x1036
mov rbx, rax
call qword [0x14001e408]
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x38]
call fcn.140015590
mov rcx, qword [0x1400359c8]
lea r8, [rsp + 0x60]
mov r9d, 0x400
mov edx, 0xbb8
mov dword [rsp + 0x20], 6
mov dword [rsp + 0x28], 0x4e
call qword [0x14001e410]
mov r15d, 1
test eax, eax
je 0x140003824
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x1061
mov rcx, rbx
mov qword [rsp + 0x30], rax
call qword [0x14001e408]
mov rcx, qword [0x1400359c8]
lea r8, [rsp + 0x60]
mov r9d, 0x400
mov edx, 0xbb9
call qword [0x14001e410]
test eax, eax
je 0x140003824
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x20]
mov r8d, r15d
mov edx, 0x1061
mov rcx, rbx
mov dword [rsp + 0x28], 0x140
mov qword [rsp + 0x30], rax
call qword [0x14001e408]
mov rcx, qword [0x1400359c8]
lea r8, [rsp + 0x60]
mov r9d, 0x400
mov edx, 0xbba
call qword [0x14001e410]
test eax, eax
je 0x140003824
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x20]
lea r8d, [r15 + 1]
mov edx, 0x1061
mov rcx, rbx
mov dword [rsp + 0x28], 0x9a
mov qword [rsp + 0x30], rax
call qword [0x14001e408]
mov edx, 0x5e3
mov rcx, rdi
call qword [0x14001e428]
mov ebx, 0xf1
xor r9d, r9d
mov rcx, rax
mov r8, r15
mov edx, ebx
call qword [0x14001e408]
mov edx, 0x5eb
mov rcx, rdi
call qword [0x14001e428]
xor r9d, r9d
mov r8, r15
mov rcx, rax
mov edx, ebx
call qword [0x14001e408]
and dword [0x1400357ac], 0
and dword [0x1400357b0], 0
call fcn.140004dc8
mov rcx, rdi
call fcn.1400051c4
call fcn.140004f80
mov r8d, dword [0x1400357b0]
mov edx, dword [0x1400357ac]
mov rcx, rdi
call fcn.14000408c
mov rcx, rdi
call qword [0x14001e440]
mov rdx, rdi
xor ecx, ecx
call fcn.140004cd0
mov edx, 5
mov rcx, rdi
call qword [0x14001e3f0]
mov rax, r15
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.14000fbe0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400038e8
Capabilities:
Delete directory
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r15
lea rbp, [rax - 0x2278]
mov eax, 0x2360
call fcn.140019220
sub rsp, rax
mov rax, qword [0x1400335a0]
xor rax, rsp
mov qword [rbp + 0x2250], rax
mov edx, 0x5e1
mov rsi, rcx
call qword [0x14001e428]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x1042
mov rdi, rax
call qword [0x14001e408]
lea r9, [rsp + 0x40]
xor r15d, r15d
movsxd rbx, eax
lea rax, [rbp - 0x60]
mov edx, 0x1073
mov rcx, rdi
mov r8, rbx
mov dword [rsp + 0x48], r15d
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0x104
call qword [0x14001e408]
lea rax, [rbp + 0x1200]
lea r9, [rsp + 0x40]
mov r12d, 0x824
mov r8, rbx
mov edx, 0x1073
mov rcx, rdi
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x60], r12d
call qword [0x14001e408]
cmp dword [0x1400357b0], r15d
movsxd rax, dword [0x1400357ac]
lea rcx, [0x140023840]
lea rdx, [rbp + 0x1200]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x30], rdx
lea rdx, [rbp - 0x60]
mov qword [rsp + 0x28], rdx
lea rcx, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
mov edx, r12d
jne 0x140003a68
lea r9, str._FusionBindError_Category
lea r8, str._ws_ws_exe_ws_name_ws
call fcn.14000329c
test eax, eax
js 0x140003b2c
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
test eax, eax
jne 0x140003b17
lea rax, [rbp + 0x1200]
lea r9, str._FusionBindError_exe
lea r8, str._ws_ws_name_ws
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
lea rcx, [rbp + 0x1b0]
mov edx, r12d
mov qword [rsp + 0x20], rax
call fcn.14000329c
test eax, eax
js 0x140003b2c
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
jmp 0x140003b17
lea r9, [0x1400357c0]
lea r8, str._ws_ws_ws_ws.htm
call fcn.14000329c
test eax, eax
js 0x140003b2c
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140003aec
lea rax, [rbp + 0x1200]
lea r9, [0x1400357c0]
lea r8, str._ws_ws_ws_ws_name_ws.htm
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x60]
lea rcx, [rbp + 0x1b0]
mov qword [rsp + 0x30], rax
lea rax, str.FusionBindError_exe
mov rdx, r12
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
call fcn.14000329c
test eax, eax
js 0x140003b2c
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rcx, [rbp + 0x1b0]
cmp rax, rcx
je 0x140003b0a
mov word [rax - 2], r15w
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov r8d, dword [0x1400357b0]
mov edx, dword [0x1400357ac]
mov rcx, rsi
call fcn.14000408c
mov rcx, qword [rbp + 0x2250]
xor rcx, rsp
call fcn.14000fbe0
lea r11, [rsp + 0x2360]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rbp
ret
Function at 0x140003b58
Capabilities:
Delete directory
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2288]
mov eax, 0x2360
call fcn.140019220
sub rsp, rax
mov rax, qword [0x1400335a0]
xor rax, rsp
mov qword [rbp + 0x2250], rax
mov edx, 0x5e1
mov rsi, rcx
call qword [0x14001e428]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x1004
mov r15, rax
call qword [0x14001e408]
xor r12d, r12d
mov r14, rax
mov edi, r12d
test eax, eax
jle 0x140003da4
mov r13d, 0x824
lea rax, [rbp - 0x60]
movsxd rbx, edi
lea r9, [rsp + 0x40]
mov edx, 0x1073
mov rcx, r15
mov r8, rbx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x60], 0x104
call qword [0x14001e408]
lea rax, [rbp + 0x1200]
lea r9, [rsp + 0x40]
mov r8, rbx
mov edx, 0x1073
mov rcx, r15
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x60], r13d
call qword [0x14001e408]
cmp dword [0x1400357b0], r12d
movsxd rax, dword [0x1400357ac]
lea rcx, [rbp + 0x1200]
mov rdx, r13
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [0x140023840]
mov rax, qword [rcx + rax*8]
lea rcx, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
jne 0x140003cea
lea r9, str._FusionBindError_Category
lea r8, str._ws_ws_exe_ws_name_ws
call fcn.14000329c
test eax, eax
js 0x140003db9
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
test eax, eax
jne 0x140003d99
lea rax, [rbp + 0x1200]
lea r9, str._FusionBindError_exe
lea r8, str._ws_ws_name_ws
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
lea rcx, [rbp + 0x1b0]
mov rdx, r13
mov qword [rsp + 0x20], rax
call fcn.14000329c
test eax, eax
js 0x140003db9
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
jmp 0x140003d99
lea r9, [0x1400357c0]
lea r8, str._ws_ws_ws_ws.htm
call fcn.14000329c
test eax, eax
js 0x140003db9
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140003d6e
lea rax, [rbp + 0x1200]
lea r9, [0x1400357c0]
lea r8, str._ws_ws_ws_ws_name_ws.htm
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x60]
lea rcx, [rbp + 0x1b0]
mov qword [rsp + 0x30], rax
lea rax, str.FusionBindError_exe
mov rdx, r13
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
call fcn.14000329c
test eax, eax
js 0x140003db9
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rcx, [rbp + 0x1b0]
cmp rax, rcx
je 0x140003d8c
mov word [rax - 2], r12w
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
inc edi
cmp edi, r14d
jl 0x140003bd1
mov r8d, dword [0x1400357b0]
mov edx, dword [0x1400357ac]
mov rcx, rsi
call fcn.14000408c
mov rcx, qword [rbp + 0x2250]
xor rcx, rsp
call fcn.14000fbe0
lea r11, [rsp + 0x2360]
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 0x140003dec
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x22e8]
mov eax, 0x23e0
call fcn.140019220
sub rsp, rax
mov rax, qword [0x1400335a0]
xor rax, rsp
mov qword [rbp + 0x22d0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rbp - 0x4c]
lea r8d, [rdx + 0x6c]
mov dword [rsp + 0x40], 0x800
call fcn.140015590
lea rax, str.open
mov r14d, 1
mov edx, 0x5e1
mov rcx, rbx
mov dword [rbp - 0x50], 0x70
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x20], r14d
call qword [0x14001e428]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1042
mov rcx, rax
mov rdi, rax
call qword [0x14001e408]
and dword [rsp + 0x58], 0
lea r9, [rsp + 0x50]
movsxd rbx, eax
lea rax, [rbp + 0x20]
mov edx, 0x1073
mov rcx, rdi
mov r8, rbx
mov dword [rsp + 0x70], 0x104
mov qword [rsp + 0x68], rax
call qword [0x14001e408]
lea rax, [rbp + 0x1280]
mov dword [rsp + 0x58], r14d
lea r9, [rsp + 0x50]
mov r14d, 0x824
mov r8, rbx
mov edx, 0x1073
mov rcx, rdi
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], r14d
call qword [0x14001e408]
cmp dword [0x1400357b0], 0
movsxd rax, dword [0x1400357ac]
lea rcx, [0x140023840]
mov rax, qword [rcx + rax*8]
lea rdx, [rbp + 0x1280]
lea rcx, [rbp + 0x230]
mov qword [rsp + 0x30], rdx
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov edx, r14d
jne 0x140003fda
lea r9, str._FusionBindError_Category
lea r8, str._ws_ws_exe_ws_name_ws
call fcn.14000329c
test eax, eax
js 0x140004063
lea rbx, [0x140036990]
lea r8d, [r14 - 0x24]
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x40], 0x800
call fcn.140015590
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x230]
mov rdx, rbx
call qword [sym.imp.WININET.dll_GetUrlCacheEntryInfoW]
test eax, eax
jne 0x140003fc8
lea rax, [rbp + 0x1280]
lea r9, str._FusionBindError_exe
lea r8, str._ws_ws_name_ws
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
lea rcx, [rbp + 0x230]
mov edx, r14d
mov qword [rsp + 0x20], rax
call fcn.14000329c
test eax, eax
js 0x140004063
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x230]
mov rdx, rbx
mov dword [rsp + 0x40], 0x800
call qword [sym.imp.WININET.dll_GetUrlCacheEntryInfoW]
mov rax, qword [0x1400369a0]
test rax, rax
je 0x140004063
jmp 0x140004055
lea r9, [0x1400357c0]
lea r8, str._ws_ws_ws_ws.htm
call fcn.14000329c
test eax, eax
js 0x140004063
lea rcx, [rbp + 0x230]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000404e
lea rax, [rbp + 0x1280]
lea r9, [0x1400357c0]
lea r8, str._ws_ws_ws_ws_name_ws.htm
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x20]
lea rcx, [rbp + 0x230]
mov qword [rsp + 0x30], rax
lea rax, str.FusionBindError_exe
mov rdx, r14
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.14000329c
test eax, eax
js 0x140004063
lea rax, [rbp + 0x230]
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x38], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rbp + 0x22d0]
xor rcx, rsp
call fcn.14000fbe0
lea r11, [rsp + 0x23e0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140004574
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x4a0
mov rax, qword [0x1400335a0]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rbp, r9
mov rsi, rdx
mov r9, rcx
lea rcx, [rsp + 0x280]
mov edi, 1
mov edx, 0x104
test r8d, r8d
je 0x1400045d5
lea rax, str.FusionBindError_exe
lea r8, str._ws_ws.htm
mov qword [rsp + 0x20], rax
call fcn.14000329c
test eax, eax
jns 0x1400045e3
xor eax, eax
jmp 0x140004637
lea r8, str._ws.htm
call fcn.14000329c
jmp 0x1400045cd
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140004603
xor edi, edi
jmp 0x140004635
test byte [rsp + 0x30], 0x10
jne 0x14000461a
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rbp
call fcn.14000465c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140004603
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.14000fbe0
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4a0
pop rdi
pop rsi
pop rbp
ret