joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023da9
Capabilities:
Get file system object information

Disassembly:
test rdx, rdx
je 0x140023f2e
push rbp
push rsi
push rdi
sub rsp, 0x560
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x550], rax
mov rbp, rcx
mov rcx, qword [rcx + 0x18]
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x38], rdx
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x113e
mov dword [rsp + 0x30], 4
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140023f14
mov qword [rsp + 0x598], rbx
movsxd rbx, dword [rsp + 0x60]
shl rbx, 4
add rbx, qword [rbp + 0x280]
mov rcx, qword [rbx]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rax, [rsp + 0x340]
mov rdx, rdi
mov r11d, 0x104
lea rcx, [rsp + 0x340]
sub rdx, rax
nop word [rax + rax]
lea rax, [r11 + 0x7ffffefa]
test rax, rax
je 0x140023e63
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140023e63
mov word [rcx], ax
add rcx, 2
dec r11
jne 0x140023e40
jmp 0x140023e68
test r11, r11
jne 0x140023e6c
sub rcx, 2
xor eax, eax
mov word [rcx], ax
lea rcx, [rsp + 0x340]
call qword [sym.imp.SHLWAPI.dll_PathStripPathW]
test rdi, rdi
je 0x140023e91
mov rdx, rbx
mov rcx, rdi
call fcn.140094590
jmp 0x140023e96
mov eax, 0x80004005
mov rbx, qword [rbx]
test eax, eax
js 0x140023f0c
lea r8, [rsp + 0x80]
mov r9d, 0x2b8
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0x4000
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rbp + 0x18]
lea rax, [rsp + 0x340]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x88]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x113f
mov dword [rsp + 0x30], 0x33
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140023f30
mov rbx, qword [rsp + 0x598]
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.14004ae00
add rsp, 0x560
pop rdi
pop rsi
pop rbp
repz ret
Function at 0x14005220f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140136e20]
jne 0x14004ae1a
rol rcx, 0x10
test cx, 0xffff
jne 0x14004ae16
repz ret
ror rcx, 0x10
jmp 0x140052168
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140147940]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140147a38]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400521ed
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140147940]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14005220f
mov rax, qword [rsp + 0x88]
mov qword [0x140147a38], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1401479d8], rax
mov rax, qword [0x140147a38]
mov qword [0x1401478b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1401479c0], rax
mov dword [0x1401478a0], 0xc0000409
mov dword [0x1401478a4], 1
mov rax, qword [0x140136e20]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140136e28]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140147938], eax
mov ecx, 1
call fcn.14005b348
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400fd508]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140147938], 0
jne 0x140052296
mov ecx, 1
call fcn.14005b348
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x1400535b8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140053428

Function at 0x1400535c4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp fcn.140053428
Function at 0x14005c464
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140054ae4
xor ebx, ebx
cmp qword [0x140148998], rbx
mov rdi, rax
jne 0x14005c577
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14005c64e
lea rdx, [0x1400ffed8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005c64e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140148998], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1401489a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1401489a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1401489b8], rax
test rax, rax
je 0x14005c56e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1401489b0], rax
jmp 0x14005c57e
mov rax, qword [0x1401489b0]
jmp 0x14005c585
mov rax, qword [0x1401489b0]
mov r11, qword [0x1401489b8]
cmp rax, rdi
je 0x14005c5ec
cmp r11, rdi
je 0x14005c5ec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1401489b8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14005c5ec
test rax, rax
je 0x14005c5ec
call rsi
test rax, rax
je 0x14005c5e6
lea rcx, [rsp + 0x30]
mov r9d, ILFindLastID
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14005c5e6
test byte [rsp + 0x40], 1
jne 0x14005c5ec
bts ebp, 0x15
jmp 0x14005c62c
mov rcx, qword [0x1401489a0]
cmp rcx, rdi
je 0x14005c62c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14005c62c
call rax
mov rbx, rax
test rax, rax
je 0x14005c62c
mov rcx, qword [0x1401489a8]
cmp rcx, rdi
je 0x14005c62c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14005c62c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140148998]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14005c64e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14005c650
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14004ae00
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140061fd0
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140065780
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x4c], 0xffffffff
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400657e6
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
add rsp, 0x68
ret

Function at 0x140065d10
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140065d32
mov dword [rsp + 0x20], 1
jmp 0x140065d3a
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140065dd0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x140065e06
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140065e06
mov dword [rsp + 0x24], 0xffffffff
mov eax, dword [rsp + 0x24]
shl rax, 0x20
mov ecx, dword [rsp + 0x20]
or rax, rcx
add rsp, 0x38
ret

Function at 0x140067ea0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x58]
call fcn.140069290
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, eax
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140067f58
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x50]
call fcn.1400703b0
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x50]
call fcn.140067f70
movzx eax, al
test eax, eax
jne 0x140067f42
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, eax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0x8003
jbe 0x140067f58
mov ecx, 0xce
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x14006d798
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov edi, eax
mov eax, dword [0x140149228]
test eax, eax
je 0x14006d7d2
test edi, edi
je 0x14006d7d2
cmp edi, eax
jb 0x14006d7d2
mov ecx, edi
sub ecx, eax
cmp ecx, 0x493e0
ja 0x14006d7d2
mov ebx, dword [0x14014922c]
jmp 0x14006d84e
lea r8, [rsp + 0x50]
lea rdx, str.SOFTWARESynesis_SoftwareLogging_ToolsPantheiosPantheios.COM
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x14006d842
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea rdx, [0x140100c18]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14006d837
cmp dword [rsp + 0x48], 0x100011f
mov eax, 1
cmovae ebx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x14014922c], ebx
mov dword [0x140149228], edi
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140072390
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov r9d, dword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov edx, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x28
ret

Function at 0x1400729c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x38
ret

Function at 0x140076100
Capabilities:
Get local ipv4 addresses

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
xor esi, esi
mov rdi, rdx
mov word [rsp + 0x40], si
mov qword [r11 - 0x56], rax
mov qword [r11 - 0x4e], rax
mov qword [r11 - 0x46], rax
mov qword [r11 - 0x3e], rax
mov qword [r11 - 0x36], rax
mov qword [r11 - 0x2e], rax
mov qword [r11 - 0x26], rax
mov dword [rsp + 0x7a], eax
mov word [rsp + 0x7e], ax
lea rax, [r11 - 0x68]
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [r11 - 0x78], rax
mov dword [rsp + 0x30], esi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ecx, dword [rsp + 0x30]
call fcn.14004af90
xor r8d, r8d
xor edx, edx
mov r9, rax
lea rax, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov rcx, qword [rbx + 0x90]
lea r9d, [rsi + 0x20]
lea r8, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_LoadStringW]
lea rcx, [rsp + 0x40]
mov r11d, 0x200
sub rcx, rdi
nop
lea rax, [r11 + 0x7ffffdfe]
test rax, rax
je 0x1400761e7
movzx eax, word [rcx + rdi]
test ax, ax
je 0x1400761e7
mov word [rdi], ax
add rdi, 2
dec r11
jne 0x1400761c0
mov word [rdi - 2], si
jmp 0x1400761f5
test r11, r11
jne 0x1400761f2
mov word [rdi - 2], si
jmp 0x1400761f5
mov word [rdi], si
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14004ae00
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140076220
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x590
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x580], rax
movsxd rax, edx
mov rdx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x88]
imul rax, rax, 0x238
xor ebp, ebp
mov rdi, r8
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov rdx, qword [rax + rdx]
call qword [sym.imp.SHELL32.dll_ILCombine]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [0x1400fa1e0]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.SHELL32.dll_SHBindToParent]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r10, qword [rcx]
lea r9, [rsp + 0x50]
mov r8d, 0x8000
call qword [r10 + 0x58]
mov rdx, qword [rsp + 0x40]
mov ebx, 0x104
lea r8, [rsp + 0x370]
lea rcx, [rsp + 0x50]
mov r9d, ebx
call qword [sym.imp.SHLWAPI.dll_StrRetToBufW]
lea rcx, [rsp + 0x370]
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
lea rax, [rsp + 0x160]
je 0x140076363
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x370]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x140076321
cmp word [rsp + 0x160], bp
jne 0x1400763af
lea rdx, [0x140102208]
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0x160]
sub rdx, rax
nop dword [rax + rax]
lea rax, [rbx + 0x7ffffefa]
test rax, rax
je 0x1400763a3
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400763a3
mov word [rcx], ax
add rcx, 2
dec rbx
jne 0x140076340
jmp 0x1400763a8
lea rdx, str.Unspecified
lea rcx, [rsp + 0x160]
sub rdx, rax
nop word [rax + rax]
lea rax, [rbx + 0x7ffffefa]
test rax, rax
je 0x1400763a3
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400763a3
mov word [rcx], ax
add rcx, 2
dec rbx
jne 0x140076380
jmp 0x1400763a8
test rbx, rbx
jne 0x1400763ac
sub rcx, 2
mov word [rcx], bp
lea rdx, [rsp + 0x160]
mov ecx, 0x200
sub rdx, rdi
nop
lea rax, [rcx + 0x7ffffdfe]
test rax, rax
je 0x1400763e3
movzx eax, word [rdx + rdi]
test ax, ax
je 0x1400763e3
mov word [rdi], ax
add rdi, 2
dec rcx
jne 0x1400763c0
jmp 0x1400763e8
test rcx, rcx
jne 0x1400763ec
sub rdi, 2
mov rcx, qword [rsp + 0x48]
mov word [rdi], bp
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.14004ae00
mov rbx, qword [rsp + 0x5c8]
add rsp, 0x590
pop rdi
pop rsi
pop rbp
ret
Function at 0x140076940
Capabilities:
Check os version

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x900]
sub rsp, 0xa00
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rbp + 0x8f0], rax
mov rax, qword [rcx + 0x5c8]
mov r13, r8
mov rsi, rdx
mov rbx, qword [rax]
mov rdi, rcx
cmp rbx, rax
je 0x1400769a0
lea rdx, [rbx + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400769f8
mov rbx, qword [rbx]
cmp rbx, qword [rdi + 0x5c8]
jne 0x140076983
mov r12d, dword [rdi + 0x5e0]
mov r8, rsi
mov edx, 0x200
lea eax, [r12 + 1]
lea rcx, [rbp + 0xe0]
mov dword [rdi + 0x5e0], eax
lea rax, [rbp + 0xe0]
sub r8, rax
nop dword [rax + rax]
lea rax, [rdx + 0x7ffffdfe]
test rax, rax
je 0x140076a65
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140076a65
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x1400769d0
jmp 0x140076a6a
movsxd r12, dword [rbx + 0x410]
inc dword [rbx + 0x414]
cmp dword [rdi + 0x2bc], 6
jb 0x140076b9e
mov eax, dword [rbx + 0x414]
lea r8, [0x140101f78]
lea rcx, [rbp + 0x4f0]
mov r9, rsi
mov edx, 0x200
mov dword [rsp + 0x20], eax
call section..text
mov rcx, qword [rdi + 0x38]
lea rax, [rbp + 0x4f0]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x80], 0x38
mov dword [rbp - 0x7c], 1
mov r8, r12
lea r9, [rbp - 0x80]
mov edx, 0x1093
jmp 0x140076b98
test rdx, rdx
jne 0x140076a6e
sub rcx, 2
mov rbx, qword [rdi + 0x5c8]
xor r14d, r14d
lea r8, [rbp + 0xe0]
mov rdx, qword [rbx + 8]
mov word [rcx], r14w
mov rcx, rbx
mov dword [rbp + 0x4e0], r12d
mov dword [rbp + 0x4e4], 1
call fcn.14002b950
mov r11, rax
mov rax, qword [rdi + 0x5d0]
movabs rcx, 0x3f80fe03f80fdf
sub rcx, rax
cmp rcx, 1
jae 0x140076aca
lea rcx, str.list_T__too_long
call fcn.14002ba2c
int3
inc rax
mov qword [rdi + 0x5d0], rax
mov qword [rbx + 8], r11
mov rax, qword [r11 + 8]
mov qword [rax], r11
mov eax, dword [rdi + 0x2bc]
cmp eax, 6
jb 0x140076b0f
lea r8, str._s___d_
lea rcx, [rbp + 0x4f0]
mov r9, rsi
mov edx, 0x200
mov dword [rsp + 0x20], 1
call section..text
jmp 0x140076b2f
cmp eax, 5
jb 0x140076b2f
lea r8, [0x140101f98]
lea rcx, [rbp + 0x4f0]
mov r9, rsi
mov edx, 0x200
call section..text
lea rax, [rbp + 0x4f0]
lea rcx, [rbp - 0x40]
mov dword [rsp + 0x40], 0x38
mov dword [rsp + 0x44], reloc.SHELL32.dll_ILRemoveLastID
mov dword [rsp + 0x64], r12d
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0x48], rax
mov dword [rbp - 0x40], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140076b7d
cmp dword [rbp - 0x3c], 5
jbe 0x140076b7d
or dword [rsp + 0x44], 4
mov dword [rsp + 0x6c], 8
mov rcx, qword [rdi + 0x38]
mov qword [rsp + 0x30], r13
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, 0x109f
mov qword [rsp + 0x38], rcx
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, r12d
mov rcx, qword [rbp + 0x8f0]
xor rcx, rsp
call fcn.14004ae00
add rsp, 0xa00
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400771a0
Capabilities:
Get disk size

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x490]
sub rsp, 0x590
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rbp + 0x480], rax
xor r12d, r12d
mov rbx, rcx
mov rdi, r8
lea rax, [rbx + 0xa0]
mov ecx, r12d
movsxd rsi, edx
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
test rax, rax
je 0x140077203
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140094590
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rbx + 0x60]
mov rax, rsi
imul rax, rax, 0x238
mov rdx, qword [rax + rdx]
call qword [sym.imp.SHELL32.dll_ILCombine]
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [0x1400fa1e0]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.SHELL32.dll_SHBindToParent]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov r10, qword [rcx]
lea r9, [rsp + 0x50]
mov r8d, 0x8000
call qword [r10 + 0x58]
mov rdx, qword [rsp + 0x28]
mov esi, 0x104
lea r8, [rbp + 0x270]
lea rcx, [rsp + 0x50]
mov r9d, esi
call qword [sym.imp.SHLWAPI.dll_StrRetToBufW]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
lea rcx, [rbp + 0x270]
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x1400772ff
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x270]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
xor edx, edx
lea r8, str._I64d___free
mov ebx, eax
mov rax, qword [rsp + 0x38]
imul rax, rax, 0x64
div qword [rsp + 0x40]
mov rcx, rax
movabs rax, 0xcccccccccccccccd
mul rcx
lea rcx, [rbp + 0x60]
shr rdx, 3
lea r9, [rdx + rdx*4]
mov edx, esi
add r9, r9
call section..text
test ebx, ebx
jne 0x140077341
lea rdx, [0x1401021b8]
lea rax, [rbp + 0x60]
lea rcx, [rbp + 0x60]
sub rdx, rax
lea rax, [rsi + 0x7ffffefa]
test rax, rax
je 0x140077334
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140077334
mov word [rcx], ax
add rcx, 2
dec rsi
jne 0x140077311
jmp 0x140077339
test rsi, rsi
jne 0x14007733d
sub rcx, 2
mov word [rcx], r12w
lea rdx, [rbp + 0x60]
mov ecx, 0x200
sub rdx, rdi
nop dword [rax]
lea rax, [rcx + 0x7ffffdfe]
test rax, rax
je 0x140077378
movzx eax, word [rdx + rdi]
test ax, ax
je 0x140077378
mov word [rdi], ax
add rdi, 2
dec rcx
jne 0x140077350
mov word [rdi - 2], r12w
jmp 0x140077388
test rcx, rcx
jne 0x140077384
mov word [rdi - 2], r12w
jmp 0x140077388
mov word [rdi], r12w
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.14004ae00
add rsp, 0x590
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140077520
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x310
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rdi, rcx
xor ebp, ebp
mov rbx, r8
lea rax, [rdi + 0xa0]
mov ecx, ebp
movsxd rsi, edx
mov qword [rsp + 0x30], rcx
test rax, rax
je 0x140077571
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140094590
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rdi + 0x60]
mov rax, rsi
imul rax, rax, 0x238
mov rdx, qword [rax + rdx]
call qword [sym.imp.SHELL32.dll_ILCombine]
lea r8, [rsp + 0x40]
mov r9d, 0x2b8
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x20], 0x408
mov rdi, rax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea rcx, [rsp + 0x258]
sub rcx, rbx
mov r11d, 0x200
nop dword [rax + rax]
lea rax, [r11 + 0x7ffffdfe]
test rax, rax
je 0x1400775e3
movzx eax, word [rcx + rbx]
test ax, ax
je 0x1400775e3
mov word [rbx], ax
add rbx, 2
dec r11
jne 0x1400775c0
jmp 0x1400775e8
test r11, r11
jne 0x1400775ec
sub rbx, 2
mov rcx, rdi
mov word [rbx], bp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.14004ae00
mov rbx, qword [rsp + 0x348]
add rsp, 0x310
pop rdi
pop rsi
pop rbp
ret