joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b6820
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
xor r11d, r11d
lea rdi, [0x140000000]
nop
movzx r10d, byte [r11 + rdi + 0x3312b0]
inc r11
mov ecx, r10d
lea r9d, [r10 + r10]
mov r8d, r10d
shr r8d, 7
mov eax, r9d
shl eax, 0x18
mov edx, r8d
imul r8d, r8d, 0x11b
imul edx, edx, 0x1b000000
xor edx, eax
mov eax, r10d
shl eax, 8
or ecx, eax
mov eax, r9d
shl ecx, 8
or ecx, edx
mov edx, r8d
xor rdx, rax
xor rdx, r10
or rdx, rcx
shl rdx, 0x20
or rdx, rcx
mov qword [rdi + r11*8 + 0x48a098], rdx
cmp r11, 0x100
jl 0x1400b6830
mov rdi, qword [rsp + 8]
mov qword [0x14048a8a8], 0
mov qword [0x14048a8a0], 0
mov byte [0x14048a91d], 1
ret

Function at 0x1400b68c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
xor r12d, r12d
lea r13, [0x140000000]
nop word [rax + rax]
movzx ebx, byte [r12 + r13 + 0x3313b0]
mov edx, ebx
mov r10d, ebx
mov esi, ebx
shr edx, 6
shr esi, 5
shr r10d, 7
mov r8d, edx
and edx, 1
mov eax, r10d
mov ebp, esi
mov r11d, esi
and esi, 1
imul r10d, r10d, 0x11b
imul eax, eax, 0x1b000000
and r11d, 2
and ebp, 4
and r8d, 2
lea ecx, [rbx + rbx]
xor ecx, ebx
lea r9d, [rcx + rcx]
shl ecx, 2
xor ecx, ebx
xor r9d, ebx
shl ecx, 8
add r9d, r9d
shl r9d, 0x18
xor r9d, eax
mov eax, esi
imul eax, eax, 0x1b000000
xor r9d, eax
mov eax, r11d
imul eax, eax, 0x1b000000
xor r9d, eax
mov eax, edx
imul edx, edx, 0x11b00
imul eax, eax, 0x1b000000
xor r9d, eax
mov eax, r8d
imul r8d, r8d, 0x11b00
imul eax, eax, 0x1b000000
xor r9d, eax
mov eax, ebp
imul eax, eax, 0x1b000000
xor r9d, eax
mov eax, esi
imul eax, eax, 0x11b00
xor ecx, eax
mov eax, r11d
imul eax, eax, 0x11b00
xor ecx, eax
mov eax, ebp
xor ecx, edx
imul eax, eax, 0x11b00
xor ecx, r8d
xor ecx, eax
mov eax, esi
or r9d, ecx
lea ecx, [rbx*8]
imul esi, esi, 0x11b
imul eax, eax, 0x11b0000
xor ecx, ebx
shl ecx, 0x10
xor ecx, eax
mov eax, r11d
imul r11d, r11d, 0x11b
imul eax, eax, 0x11b0000
xor ecx, eax
mov eax, ebp
imul eax, eax, 0x11b0000
xor ecx, eax
lea eax, [rbx*4]
xor eax, ebx
or ecx, r9d
lea edx, [rax + rax]
mov eax, r10d
xor rdx, rax
mov eax, esi
xor rdx, rax
mov eax, r11d
xor rdx, rax
imul ebp, ebp, 0x11b
inc r12
mov eax, ebp
xor rdx, rax
xor rdx, rbx
or rdx, rcx
shl rdx, 0x20
or rdx, rcx
or rdx, rbx
mov qword [r13 + r12*8 + 0x489898], rdx
cmp r12, 0x100
jl 0x1400b68f0
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov byte [0x14048a91e], 1
pop r13
pop r12
ret
Function at 0x1400b7600
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqa xmm0, xmmword [rcx]
lea r11d, [r8 - 1]
mov r10, rdx
pxor xmm0, xmmword [rdx]
movdqa xmmword [rcx], xmm0
cmp r11d, 1
jbe 0x1400b7648
lea r9, [rdx + 0x10]
lea edx, [r11 - 2]
shr edx, 1
inc edx
movdqa xmm0, xmmword [rcx]
add r9, 0x20
dec rdx
aesenc xmm0, xmmword [r9 - 0x20]
movdqa xmmword [rcx], xmm0
aesenc xmm0, xmmword [r9 - 0x10]
movdqa xmmword [rcx], xmm0
jne 0x1400b7625
movdqa xmm0, xmmword [rcx]
mov eax, r11d
add rax, rax
aesenc xmm0, xmmword [r10 + rax*8]
mov eax, r8d
add rax, rax
movdqa xmmword [rcx], xmm0
aesenclast xmm0, xmmword [r10 + rax*8]
movdqa xmmword [rcx], xmm0
ret

Function at 0x1400b7670
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movdqa xmm0, xmmword [rcx]
mov rbx, qword [rsp + 0x28]
mov edi, dword [rsp + 0x30]
mov r10, rdx
mov r11, rcx
movdqa xmm2, xmmword [rbx]
pxor xmm0, xmm2
movdqa xmmword [rcx], xmm0
movdqa xmm1, xmmword [rdx]
pxor xmm1, xmm2
movdqa xmmword [rdx], xmm1
movdqa xmm0, xmmword [r8]
pxor xmm0, xmm2
movdqa xmmword [r8], xmm0
movdqa xmm1, xmmword [r9]
pxor xmm1, xmm2
movdqa xmmword [r9], xmm1
cmp edi, 1
jbe 0x1400b7719
lea rcx, [rbx + 0x10]
lea edx, [rdi - 1]
nop dword [rax]
movdqa xmm2, xmmword [rcx]
movdqa xmm0, xmmword [r11]
add rcx, 0x10
dec rdx
aesenc xmm0, xmm2
movdqa xmmword [r11], xmm0
movdqa xmm1, xmmword [r10]
aesenc xmm1, xmm2
movdqa xmmword [r10], xmm1
movdqa xmm0, xmmword [r8]
aesenc xmm0, xmm2
movdqa xmmword [r8], xmm0
movdqa xmm1, xmmword [r9]
aesenc xmm1, xmm2
movdqa xmmword [r9], xmm1
jne 0x1400b76d0
movdqa xmm0, xmmword [r11]
mov rax, rdi
mov rdi, qword [rsp + 0x10]
add rax, rax
movdqa xmm2, xmmword [rbx + rax*8]
mov rbx, qword [rsp + 8]
aesenclast xmm0, xmm2
movdqa xmmword [r11], xmm0
movdqa xmm1, xmmword [r10]
aesenclast xmm1, xmm2
movdqa xmmword [r10], xmm1
movdqa xmm0, xmmword [r8]
aesenclast xmm0, xmm2
movdqa xmmword [r8], xmm0
movdqa xmm1, xmmword [r9]
aesenclast xmm1, xmm2
movdqa xmmword [r9], xmm1
ret
Function at 0x1400b81f4
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x140487600]
test rcx, rcx
jne 0x1400b814b
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x1400b8144
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400b8176
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x1400b8140
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x140487600], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x1400b81e9
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1400b8199
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x140487600]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x1400b81c6
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x1400b81e9
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x140487600]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x1400b81cd
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x1400b80d0

Function at 0x1400b9a20
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [0x14045c27c]
xor ebx, ebx
cmp ecx, 0xffffffff
je 0x1400b9a67
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b9a67
mov ecx, dword [0x14045c27c]
cmp ecx, 0xffffffff
jne 0x1400b9a54
mov eax, ebx
jmp 0x1400b9a5a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp byte [rax + 0x90], bl
mov eax, 1
jne 0x1400b9a69
mov eax, ebx
mov byte [rdi], al
test al, al
je 0x1400b9a8a
mov ecx, dword [0x14045c27c]
cmp ecx, 0xffffffff
je 0x1400b9a83
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov byte [rbx + 0x90], 0
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b9aa0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x14045c27c]
cmp ecx, 0xffffffff
je 0x1400b9aea
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b9aea
mov ecx, dword [0x14045c27c]
cmp ecx, 0xffffffff
jne 0x1400b9adb
movzx ecx, byte [rbx]
xor eax, eax
mov byte [rax + 0x90], cl
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
movzx ecx, byte [rbx]
mov byte [rax + 0x90], cl
add rsp, 0x20
pop rbx
ret
Function at 0x1400ba9b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov ecx, dword [0x14045c27c]
cmp ecx, 0xffffffff
jne 0x1400ba9db
xor ebp, ebp
jmp 0x1400ba9e4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
mov qword [rsp + 0x50], rbp
test rbp, rbp
je 0x1400bab24
cmp qword [rbp + 0x30], 0
jne 0x1400baa06
cmp qword [rbp + 0x18], 0
je 0x1400baafd
jmp 0x1400baa10
cmp qword [rbp + 0x18], 0
je 0x1400baa66
nop dword [rax]
mov rdi, qword [rbp + 0x18]
mov rax, qword [rdi + 8]
mov qword [rbp + 0x18], rax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400baa4b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rdi]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rbp + 0x18], 0
jne 0x1400baa10
mov rsi, qword [rbp + 0x28]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x1400ba9f2
mov rdi, rbx
cmp byte [rbx + 0x39], 0
jne 0x1400baac6
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x39], 0
jne 0x1400baa9f
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x39], 0
jne 0x1400baac6
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x39], 0
je 0x1400baa91
jmp 0x1400baac6
mov rax, qword [rbx + 8]
cmp byte [rax + 0x39], 0
jne 0x1400baac3
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x1400baac3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x39], 0
je 0x1400baab0
mov rbx, rax
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400baade
mov rdx, qword [rdi + 0x30]
test rdx, rdx
je 0x1400baade
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8, rdi
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x20]
call fcn.140001928
cmp rbx, rsi
jne 0x1400baa72
jmp 0x1400ba9f2
lea rdx, [0x1400b99e0]
lea rcx, [0x140487be0]
call fcn.1400b9c40
mov ecx, dword [0x14045c27c]
cmp ecx, 0xffffffff
je 0x1400bab24
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rbp, rbp
je 0x1400bab4e
lock dec dword [rbp + 8]
jne 0x1400bab4e
mov rax, qword [rbp]
xor edx, edx
mov rcx, rbp
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x1400babd0
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rcx]
mov rdi, rcx
lea r8, [0x1400bab70]
lea rax, [r9 + 0x40]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call fcn.1400c3bf8
mov rsi, rax
test rax, rax
jne 0x1400bac14
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rdi]
mov qword [rsp + 0x40], rbx
add rax, 8
lock inc dword [rax]
mov rbx, qword [rdi]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400bac3b
cmp rcx, 0xffffffffffffffff
je 0x1400bac3b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rdi]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1400c0a1c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400c088c

Function at 0x1400ca08b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14045cbf0]
jne 0x1400be12a
rol rcx, 0x10
test cx, 0xffff
jne 0x1400be126
repz ret
ror rcx, 0x10
jmp 0x1400c9fe4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140487e30]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140487f28]
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 0x1400ca069
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, [0x140487e30]
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 0x1400ca08b
mov rax, qword [rsp + 0x88]
mov qword [0x140487f28], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140487ec8], rax
mov rax, qword [0x140487f28]
mov qword [0x140487da0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140487eb0], rax
mov dword [0x140487d90], 0xc0000409
mov dword [0x140487d94], 1
mov rax, qword [0x14045cbf0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14045cbf8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140487e28], eax
mov ecx, 1
call fcn.1400dae24
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14032b4c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140487e28], 0
jne 0x1400ca112
mov ecx, 1
call fcn.1400dae24
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 0x1400e1274
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 [0x14045cbf0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400cb9dc
xor ebx, ebx
cmp qword [0x140488f88], rbx
mov rdi, rax
jne 0x1400e1387
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400e145e
lea rdx, [0x14032e230]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400e145e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x14032e220]
mov rcx, rsi
mov qword [0x140488f88], 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 [0x140488f90], 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 [0x140488f98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140488fa8], rax
test rax, rax
je 0x1400e137e
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 [0x140488fa0], rax
jmp 0x1400e138e
mov rax, qword [0x140488fa0]
jmp 0x1400e1395
mov rax, qword [0x140488fa0]
mov r11, qword [0x140488fa8]
cmp rax, rdi
je 0x1400e13fc
cmp r11, rdi
je 0x1400e13fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140488fa8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400e13fc
test rax, rax
je 0x1400e13fc
call rsi
test rax, rax
je 0x1400e13f6
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400e13f6
test byte [rsp + 0x40], 1
jne 0x1400e13fc
bts ebp, 0x15
jmp 0x1400e143c
mov rcx, qword [0x140488f90]
cmp rcx, rdi
je 0x1400e143c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400e143c
call rax
mov rbx, rax
test rax, rax
je 0x1400e143c
mov rcx, qword [0x140488f98]
cmp rcx, rdi
je 0x1400e143c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400e143c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140488f88]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400e145e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400e1460
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400be110
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14010d1dc
Capabilities:
Get file size

Disassembly:
add rcx, 0xffffffffffffffe8
jmp fcn.14010cb6c

Function at 0x14010d1ec
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rdx
mov rdi, rcx
call qword [rax + 0x18]
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14010cb6c

Function at 0x14010d22c
Capabilities:
Get disk information
Get disk size

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov r12, r8
mov rsi, rdx
mov rdi, rcx
lea rcx, [rsp + 0x40]
call fcn.14000cb18
nop
lea rcx, [rsp + 0x40]
call fcn.140024ec0
mov r8d, 0x104
mov dword [rsp + 0x38], r8d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea rdx, [rbp + 0x1c0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x14010d2ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14010d3c5
test dword [rsp + 0x48], 0x40000
jne 0x14010d2fe
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14010d2f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 0x32
jmp 0x14010d3e7
lea r8, [rsp + 0x58]
lea rdx, str.SeBackupPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x14010d31e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14010d32d
lea rdx, [rsp + 0x58]
mov ecx, 1
call fcn.140110914
mov ebx, eax
test eax, eax
jne 0x14010d3c5
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
and qword [rdi + 0x40], 0
mov r8, qword [rsp + 0x50]
sub r8, qword [rsp + 0x68]
mov qword [rdi + 0x48], r8
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14010d37c
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x28]
lea rcx, [rbp - 0x80]
call fcn.14010b730
nop
lea r9, [rdi + 0x18]
mov qword [rsp + 0x20], rdi
mov r8, r12
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.14010bba0
mov ebx, eax
test eax, eax
jne 0x14010d3bb
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14010d3bb
mov rdx, qword [rdi + 0x48]
mov rax, qword [rcx]
mov r8, rdx
call qword [rax + 0x28]
nop
lea rcx, [rbp - 0x80]
call fcn.14010b6e0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14010d3e5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.1400be110
add rsp, 0x4e0
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14010d664
Capabilities:
Get file size

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rbp, rdx
mov rsi, rcx
xor edi, edi
mov rax, qword [rcx]
call qword [rax + 0x30]
mov r11, qword [rsi]
mov rcx, rsi
call qword [r11 + 0x10]
test al, al
je 0x14010d6a0
mov edi, 0x4c7
jmp 0x14010d758
and qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 7]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x88], rax
cmp rax, 0xffffffffffffffff
je 0x14010d742
lea rdx, [rsp + 0x74]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x70], eax
cmp eax, 0xffffffff
je 0x14010d742
lea rdx, [rsp + 0x84]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
mov dword [rsp + 0x80], eax
cmp eax, 0xffffffff
je 0x14010d742
mov r8, qword [rsp + 0x70]
cmp qword [rsp + 0x80], r8
jne 0x14010d742
mov r9, qword [rsi + 0x40]
cmp r8, r9
jb 0x14010d734
xor edx, edx
mov rax, r8
div r9
test rdx, rdx
je 0x14010d74a
lea rcx, [rsi + 0x20]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax]
jmp 0x14010d748
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test rbx, rbx
je 0x14010d758
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x14010d7e4
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call qword [rax + 0x18]
mov rdx, rdi
mov rcx, rsi
mov qword [rsi + 0x40], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14010d664

Function at 0x14010d834
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbx, r9
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rdi + 0x40], rbx
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
and qword [rdi + 0x48], 0
mov r8, qword [rsp + 0x90]
sub r8, qword [rsp + 0xa8]
mov qword [rdi + 0x50], r8
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14010d8a9
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x28]
lea rcx, [rsp + 0x40]
call fcn.14010b730
nop
lea r9, [rdi + 0x18]
mov qword [rsp + 0x20], rdi
mov r8, rbp
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14010bba0
mov ebx, eax
test eax, eax
jne 0x14010d8eb
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14010d8eb
mov rdx, qword [rdi + 0x50]
mov r9, qword [rcx]
mov r8, rdx
call qword [r9 + 0x28]
nop
lea rcx, [rsp + 0x40]
call fcn.14010b6e0
mov eax, ebx
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret