joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140028f20
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rdx
mov esi, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], rdx
mov rcx, rdx
call fcn.140011748
mov ecx, esi
call fcn.140029010
movzx ebx, al
mov byte [rsp + 0x20], al
jmp 0x140028f79
test bl, bl
jne 0x140028fe3
cmp esi, 0x1a
jne 0x140028fe3
mov rcx, rdi
call fcn.140011748
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x40]
call fcn.1400ab220
mov r8d, 0x207
lea rdx, [rsp + 0x40]
lea rcx, str.APPDATA
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rcx, [rsp + 0x40]
call fcn.140002620
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140002400
mov rcx, rdi
call fcn.140002300
movzx ebx, bl
mov ecx, 1
test al, al
cmove ebx, ecx
movzx eax, bl
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400a8f20
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14002ac20
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x110
call fcn.1400ab220
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14002aca7
cmp dword [rsp + 0x44], 6
jb 0x14002aca7
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 0x207
mov r9, rbx
mov qword [rsp + 0x20], rax
lea r8, str.Progid
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
call fcn.14002aad0
test al, al
je 0x14002aca7
cmp word [rbx], 0
jne 0x14002ad11
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x207
mov r9, rbx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.http_shellopencommand
mov rcx, 0xffffffff80000000
call fcn.14002aad0
test al, al
je 0x14002acdc
cmp word [rbx], 0
jne 0x14002ad11
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x207
mov r9, rbx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareClasses.html
mov rcx, 0xffffffff80000001
call fcn.14002aad0
test al, al
je 0x14002ad15
cmp word [rbx], 0
je 0x14002ad15
mov al, 1
jmp 0x14002ad17
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400a8f20
add rsp, 0x170
pop rbx
ret
Function at 0x14002b330
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27b0]
mov eax, 0x28b0
call fcn.1400a9c20
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x28e8], rbx
mov qword [rsp + 0x28f0], rsi
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rbp + 0x27a0], rax
mov rbx, rcx
xor r12d, r12d
mov esi, r12d
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x7a0]
call fcn.1400ab220
mov eax, 0x22
mov word [rbp + 0x7a0], ax
test rbx, rbx
je 0x14002b59f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jl 0x14002b59f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xffa
jge 0x14002b59f
mov rdx, rbx
lea rcx, [rbp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x1400fc97c]
lea rcx, [rbp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x1400fcba0]
lea rcx, [rsp + 0x30]
call fcn.140002330
nop
call fcn.14002d2b0
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.14002d350
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.140002320
test rbx, rbx
je 0x14002b59f
lea rdx, str.ShellExecuteW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x14002b59f
lea rcx, [rsp + 0x60]
call fcn.14002ad30
mov ebx, r12d
lea rdi, [rsp + 0x60]
nop dword [rax]
cmp word [rdi], 0
je 0x14002b49e
movsxd r14, ebx
imul rax, r14, 0x210
lea r8, [rsp + 0x60]
add r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x7a0]
lea rdx, str.open
xor ecx, ecx
call r15
cmp rax, 0x20
ja 0x14002b4ae
inc ebx
add rdi, 0x210
cmp ebx, 3
jge 0x14002b4d1
jmp 0x14002b460
imul rax, r14, 0x210
mov esi, dword [rbp + rax + 0x16c]
cmp dword [rbp + rax + 0x168], 0
jne 0x14002b4c9
add esi, 0x10
test esi, esi
jne 0x14002b59b
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0x7a0]
lea rdx, str.open
xor ecx, ecx
call r15
cmp rax, 0x20
ja 0x14002b596
lea rax, str._programfiles_x86__Internet_Exploreriexplore.exe
mov qword [rsp + 0x30], rax
lea rax, str._programfiles_Internet_Exploreriexplore.exe
mov qword [rsp + 0x38], rax
mov rbx, r12
nop dword [rax]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x590]
call fcn.1400ab220
mov r8d, 0x103
lea rdx, [rbp + 0x590]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rbp + 0x590]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002b58b
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x7a0]
lea r8, [rbp + 0x590]
lea rdx, str.open
xor ecx, ecx
call r15
cmp rax, 0x20
ja 0x14002b596
inc rbx
cmp rbx, 2
jae 0x14002b59b
jmp 0x14002b520
mov esi, 0x10
mov eax, esi
jmp 0x14002b5a1
xor eax, eax
mov rcx, qword [rbp + 0x27a0]
xor rcx, rsp
call fcn.1400a8f20
lea r11, [rsp + 0x28b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14002bf70
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebx, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x14002bfa1
xor al, al
jmp 0x14002c007
and ebx, 0xffffb1af
call fcn.140002310
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14002bfbf
mov al, 1
jmp 0x14002c007
lea rcx, [rsp + 0x28]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14002cab0
test al, al
je 0x14002bff8
lea rcx, [rsp + 0x28]
call fcn.140002310
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14002bff8
mov bl, 1
jmp 0x14002bffa
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.140002320
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a8f20
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x14002c020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14002c098
lea rcx, [rsp + 0x28]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14002cab0
test al, al
je 0x14002c08c
lea rcx, [rsp + 0x28]
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x28]
call fcn.140002320
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a8f20
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14002c0b0
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.140002310
mov rbx, rax
mov rcx, rdi
call fcn.140002310
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14002c187
xor bl, bl
lea rcx, [rsp + 0x48]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14002cab0
movzx ebx, bl
mov ecx, 1
test al, al
cmovne ebx, ecx
lea rcx, [rsp + 0x28]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14002cab0
test al, al
jne 0x14002c14b
test bl, bl
je 0x14002c18b
lea rcx, [rsp + 0x28]
call fcn.140002310
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.140002310
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14002c18b
lea rcx, [rsp + 0x28]
call fcn.140002320
nop
lea rcx, [rsp + 0x48]
call fcn.140002320
mov al, 1
jmp 0x14002c1a2
lea rcx, [rsp + 0x28]
call fcn.140002320
nop
lea rcx, [rsp + 0x48]
call fcn.140002320
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a8f20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002c1d0
Capabilities:
Copy file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.140002310
mov rbx, rax
mov rcx, rdi
call fcn.140002310
mov rcx, rax
mov ebp, 1
mov r8d, ebp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14002c232
movzx eax, bpl
jmp 0x14002c2bc
xor bl, bl
lea rcx, [rsp + 0x48]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14002cab0
movzx ebx, bl
test al, al
cmovne ebx, ebp
lea rcx, [rsp + 0x28]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14002cab0
test al, al
jne 0x14002c274
test bl, bl
je 0x14002c2a2
lea rcx, [rsp + 0x28]
call fcn.140002310
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.140002310
mov rcx, rax
mov r8d, ebp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14002c2a2
mov bl, 1
jmp 0x14002c2a4
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.140002320
nop
lea rcx, [rsp + 0x48]
call fcn.140002320
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a8f20
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002c2e0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14002c323
mov al, 1
jmp 0x14002c466
mov rcx, rdi
call fcn.140002310
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140002330
nop
lea rcx, [rsp + 0x28]
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14002c391
lea rcx, [rsp + 0x48]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.14002cab0
test al, al
je 0x14002c386
lea rcx, [rsp + 0x48]
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea rcx, [rsp + 0x48]
call fcn.140002320
nop
lea rcx, [rsp + 0x28]
call fcn.140002320
cmp esi, 0xffffffff
jne 0x14002c3a7
xor al, al
jmp 0x14002c466
mov rcx, rdi
call fcn.140002310
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140002330
nop
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14002bf70
movzx ebx, al
lea rcx, [rsp + 0x28]
call fcn.140002320
test bl, bl
je 0x14002c3a0
mov rcx, rdi
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002c31c
lea rcx, [rsp + 0x28]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14002cab0
test al, al
je 0x14002c42a
lea rcx, [rsp + 0x28]
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14002c42a
mov bl, 1
jmp 0x14002c459
mov rcx, rdi
call fcn.140002310
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140002330
nop
mov edx, esi
lea rcx, [rsp + 0x48]
call fcn.14002bf70
nop
lea rcx, [rsp + 0x48]
call fcn.140002320
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.140002320
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a8f20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002c490
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x670
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x688], rbx
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x28], rdi
lea rdx, [0x14013b540]
lea rcx, [rsp + 0x28]
call fcn.140011c6c
nop
lea rcx, [0x14013b560]
call fcn.140002300
test al, al
jne 0x14002c530
lea rcx, [0x14013b560]
call fcn.140002370
cmp rbx, rax
je 0x14002c51f
lea rcx, [0x14013b560]
call fcn.140002370
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14002c512
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rbx
call fcn.140002400
nop
lea rcx, [rsp + 0x28]
call fcn.140011c94
mov al, 1
jmp 0x14002c5f5
xor edx, edx
mov r8d, 0x20c
lea rcx, [rsp + 0x30]
call fcn.1400ab220
lea rdx, [rsp + 0x30]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x14002c5e9
mov word [rsp + 0x23a], di
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x240]
call fcn.1400ab220
mov r8d, 0x208
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [rax - 1]
cmp ecx, 0x207
ja 0x14002c5d2
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x14002c616
mov word [rsp + rax + 0x240], di
lea rcx, [rsp + 0x240]
call fcn.140002620
lea rdx, [rsp + 0x240]
mov r8, rax
jmp 0x14002c516
lea rcx, [rsp + 0x30]
call fcn.140002620
lea rdx, [rsp + 0x30]
mov r8, rax
jmp 0x14002c516
lea rcx, [rsp + 0x28]
call fcn.140011c94
xor al, al
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.1400a8f20
mov rbx, qword [rsp + 0x688]
add rsp, 0x670
pop rdi
ret
call fcn.1400a9448
nop
int3
Function at 0x140031420
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor eax, eax
mov dword [rsp + 0x20], 0x114
mov qword [rcx + 8], rax
mov rbx, rcx
mov qword [rcx + 0x10], rax
xor edx, edx
mov qword [rcx + 0x18], rax
mov r8d, 0x110
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov byte [rcx], al
lea rcx, [rsp + 0x24]
call fcn.1400ab220
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x1400314a0
cmp dword [rsp + 0x24], 6
jb 0x1400314a0
mov byte [rbx], 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a8f20
add rsp, 0x150
pop rbx
ret

Function at 0x1400314c0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rsi, rcx
lea rdx, str.wintrust.dll
lea rcx, [rax - 0x50]
call fcn.140002330
nop
call fcn.14002d2b0
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.14002d350
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140002320
lea rdx, str.crypt32.dll
lea rcx, [rsp + 0x48]
call fcn.140002330
nop
call fcn.14002d2b0
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.14002d350
mov rdi, rax
lea rcx, [rsp + 0x48]
call fcn.140002320
test rbx, rbx
je 0x140031616
test rdi, rdi
je 0x140031616
lea rdx, str.CryptCATAdminCalcHashFromFileHandle
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 8], rax
lea rdx, str.CryptCATAdminAcquireContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x10], rax
lea rdx, str.CryptCATAdminEnumCatalogFromHash
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x18], rax
lea rdx, str.CryptCATCatalogInfoFromContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x20], rax
lea rdx, str.CryptCATAdminReleaseCatalogContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x28], rax
lea rdx, str.CryptCATAdminReleaseContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x30], rax
lea rdx, str.WTHelperProvDataFromStateData
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x38], rax
lea rdx, str.WTHelperGetProvSignerFromChain
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x40], rax
lea rdx, str.WinVerifyTrust
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x48], rax
lea rdx, str.CertNameToStrW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x50], rax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140032e90
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], r9
mov r13, r8
mov r12, rdx
mov r14, rcx
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x38], rax
lea rdx, str.Version.dll
lea rcx, [rsp + 0x40]
call fcn.140002330
nop
call fcn.14002d2b0
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.14002d350
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140002320
test rbx, rbx
je 0x1400330f9
lea rdx, str.VerQueryValueW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
je 0x1400330f9
xor sil, sil
lea rdx, str.Version.dll
lea rcx, [rsp + 0x40]
call fcn.140002330
nop
call fcn.14002d2b0
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.14002d350
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140002320
test rbx, rbx
je 0x1400330f3
lea rdx, str.GetFileVersionInfoExW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.GetFileVersionInfoSizeExW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test r15, r15
je 0x140033005
test rax, rax
je 0x140033005
mov dword [rsp + 0x70], 0
mov rcx, r14
call fcn.140002310
mov rdx, rax
lea r8, [rsp + 0x70]
xor ecx, ecx
call rdi
mov edi, eax
test eax, eax
je 0x1400330f3
mov edx, edi
mov ecx, 1
call fcn.1400b4f78
mov rbx, rax
mov rcx, r14
call fcn.140002310
mov rdx, rax
mov qword [rsp + 0x20], rbx
mov r9d, edi
mov r8d, dword [rsp + 0x70]
xor ecx, ecx
call r15
test eax, eax
jne 0x14003307f
mov rcx, rbx
call fcn.1400ada38
movzx eax, sil
jmp 0x1400330fb
lea rdx, str.GetFileVersionInfoW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.GetFileVersionInfoSizeW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test r15, r15
je 0x1400330f3
test rax, rax
je 0x1400330f3
mov rcx, r14
call fcn.140002310
mov rcx, rax
xor edx, edx
call rbx
mov edi, eax
test eax, eax
je 0x1400330f3
mov edx, edi
mov ecx, 1
call fcn.1400b4f78
mov rbx, rax
mov rcx, r14
call fcn.140002310
mov rcx, rax
mov r9, rbx
mov r8d, edi
xor edx, edx
call r15
test eax, eax
je 0x1400330eb
test rbx, rbx
je 0x1400330f3
xor eax, eax
mov dword [rsp + 0x74], eax
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x74]
lea r8, [rsp + 0x68]
lea rdx, [0x1400fc6cc]
mov rcx, rbx
call rbp
test eax, eax
je 0x1400330eb
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400330eb
cmp dword [rsp + 0x74], 0
jbe 0x1400330eb
cmp dword [rcx], 0xfeef04bd
jne 0x1400330eb
movzx eax, word [rcx + 0xa]
mov dword [r12], eax
movzx eax, word [rcx + 8]
mov dword [r13], eax
movzx eax, word [rcx + 0xe]
mov rdx, qword [rsp + 0x30]
mov dword [rdx], eax
movzx eax, word [rcx + 0xc]
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
mov sil, 1
mov rcx, rbx
call fcn.1400ada38
movzx eax, sil
jmp 0x1400330fb
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400a8f20
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140033c60
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x870
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov r15, rcx
lea rdx, [rsp + 0x60]
mov ecx, 0x3fe
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov r14d, eax
test eax, eax
je 0x140033d54
lea r12, [rsp + 0x60]
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x20]
call fcn.140002370
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
cmp r14d, 0x3fe
jbe 0x140033d82
lea ecx, [r14 + 2]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400a9848
mov r12, rax
lea rcx, [rsp + 0x50]
call fcn.140017370
mov qword [rsp + 0x50], r12
test rax, rax
je 0x140033d21
mov rdx, rax
call fcn.14001e85c
mov rdx, r12
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x140033d4a
cmp eax, r14d
ja 0x140033d4a
mov ecx, eax
mov word [r12 + rcx*2], di
lea ecx, [rax + 1]
mov word [r12 + rcx*2], di
mov r14d, eax
jmp 0x140033db4
lea rcx, [rsp + 0x50]
call fcn.14001e844
xor al, al
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1400a8f20
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rax, r14
add rax, rax
cmp rax, 0x800
jae 0x140033e95
mov word [rsp + rax + 0x60], di
lea eax, [r14 + 1]
mov ecx, eax
add rcx, rcx
cmp rcx, 0x800
jae 0x140033e8f
mov word [rsp + rcx + 0x60], di
mov ebx, edi
test r14d, r14d
je 0x140033e7e
mov rbp, r12
cmp word [rbp], 0
jne 0x140033e6f
cmp edi, ebx
je 0x140033e6f
mov eax, edi
lea rdx, [r12 + rax*2]
lea rcx, [rsp + 0x30]
call fcn.140002330
nop
lea rcx, [rsp + 0x30]
call fcn.140002370
mov rdx, rax
mov rcx, r15
call fcn.140009010
mov rcx, rdx
test al, al
je 0x140033e49
call fcn.140002370
mov rdx, rax
mov rcx, r15
call fcn.140008ea0
mov rsi, rax
mov rcx, rdx
call fcn.140002370
mov rdi, rax
mov rdx, qword [rsi]
mov ecx, 0x20
call fcn.140002080
mov r8, rax
mov rcx, rdi
call fcn.140002370
mov rdx, rax
mov rcx, r8
call fcn.140008aa0
add qword [rsi], 0x20
jmp 0x140033e62
call fcn.140002370
mov r8, rax
mov rcx, r15
call fcn.140008ea0
mov rdx, qword [rax]
call fcn.140009cd0
nop
lea rcx, [rsp + 0x30]
call fcn.140002320
lea edi, [rbx + 1]
inc ebx
add rbp, 2
cmp ebx, r14d
jb 0x140033dc2
lea rcx, [rsp + 0x50]
call fcn.14001e844
mov al, 1
jmp 0x140033d56
call fcn.1400a9448
int3
call fcn.1400a9448
int3