joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005fb90
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1150
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1140], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call fcn.14005f944
xor ebp, ebp
cmp rbx, rbp
je 0x14005fbf2
lea r8, [rsp + 0x140]
sub r8, rbx
movzx eax, word [rbx]
mov word [r8 + rbx], ax
add rbx, 2
cmp ax, bp
jne 0x14005fbdf
jmp 0x14005fc08
lea rdx, [rsp + 0x140]
mov r8d, 0x800
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.rarlng.dll
lea rcx, [rsp + 0x140]
mov r8d, 0x800
call fcn.140050ec8
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x140]
mov r8d, 0x800
call fcn.14005f978
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x14005fc7d
cmp dword [rsp + 0x24], 5
ja 0x14005fc67
jne 0x14005fc7d
cmp dword [rsp + 0x28], 1
jbe 0x14005fc7d
xor edx, edx
lea rcx, [rsp + 0x140]
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x14005fc8b
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp rax, rbp
mov qword [0x140149ef8], rax
setne cl
mov byte [rsi], cl
mov rax, qword [0x140149ef8]
cmp cl, bpl
cmove rax, rdi
mov qword [0x140149ef0], rdi
mov qword [0x140149ef8], rax
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.1400e9d00
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
movdqu xmm1, xmmword [rcx + 8]
mov rdi, r9
mov rbx, r8
mov r10, rdx
test r8, r8
je 0x14005fd64
mov rax, r10
add r10, 0x10
cmp byte [rcx + 1], 0
movdqu xmm0, xmmword [rax]
je 0x14005fd10
pxor xmm1, xmm0
jmp 0x14005fd14
movdqa xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x18]
movsxd r9, dword [rcx + 4]
cmp r9d, 1
pxor xmm1, xmm0
jle 0x14005fd42
lea rdx, [rcx + 0x28]
lea r8d, [r9 - 1]
movdqu xmm0, xmmword [rdx]
add rdx, 0x10
sub r8, 1
aesenc xmm1, xmm0
jne 0x14005fd2f
mov rax, r9
add rax, rax
movdqu xmm0, xmmword [rcx + rax*8 + 0x18]
mov rax, rdi
add rdi, 0x10
sub rbx, 1
aesenclast xmm1, xmm0
movdqu xmmword [rax], xmm1
jne 0x14005fcf9
movdqu xmmword [rcx + 8], xmm1
mov rbx, qword [rsp + 0x20]
pop rdi
ret

Function at 0x14005fd70
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movdqu xmm2, xmmword [rcx + 8]
mov r10, rcx
lea r11, [rcx + 0x18]
test r8, r8
je 0x14005fded
movsxd rcx, dword [r10 + 4]
mov rax, rdx
add rdx, 0x10
movdqu xmm3, xmmword [rax]
mov rax, rcx
add rax, rax
dec ecx
movdqu xmm1, xmmword [r11 + rax*8]
pxor xmm1, xmm3
test ecx, ecx
jle 0x14005fdc3
movsxd rax, ecx
shl rax, 4
add rax, r11
movdqu xmm0, xmmword [rax]
dec ecx
sub rax, 0x10
aesdec xmm1, xmm0
test ecx, ecx
jg 0x14005fdb0
cmp byte [r10 + 1], 0
movdqu xmm0, xmmword [r11]
aesdeclast xmm1, xmm0
je 0x14005fdd8
pxor xmm1, xmm2
mov rax, r9
add r9, 0x10
sub r8, 1
movdqa xmm2, xmm3
movdqu xmmword [rax], xmm1
jne 0x14005fd81
movdqu xmmword [r10 + 8], xmm2
ret
Function at 0x14005fdf4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebp, dword [rcx + 4]
mov rsi, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x20
sub ebp, 6
call fcn.1400ea530
xor edi, edi
xor r9d, r9d
xor edx, edx
xor r8d, r8d
movsxd rbx, ebp
lea r14d, [rdi + 4]
test ebp, ebp
jle 0x14005fe8f
xor r10d, r10d
cmp edi, dword [rsi + 4]
jg 0x14005fe8f
cmp rdx, rbx
jge 0x14005fe7a
lea r11, [rsp + rdx*4 + 0x20]
cmp r8, r14
jge 0x14005fe7d
mov eax, dword [r11]
lea rcx, [r10 + r8]
inc rdx
add r11, r14
inc r9d
inc r8
cmp rdx, rbx
mov dword [rsi + rcx*4 + 0x18], eax
jl 0x14005fe59
cmp r8, r14
jne 0x14005fe8a
inc edi
add r10, r14
xor r9d, r9d
xor r8d, r8d
cmp rdx, rbx
jl 0x14005fe4a
cmp edi, dword [rsi + 4]
movsxd r11, edi
movsxd r10, r9d
jg 0x14005ffed
lea r12, [0x14014ffa0]
lea r15, [0x1401500c0]
movzx ecx, byte [rsp + rbx*4 + 0x1d]
mov al, byte [rsp + 0x20]
xor al, byte [rcx + r15]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + rbx*4 + 0x1e]
mov al, byte [rax + r15]
xor byte [rsp + 0x21], al
movzx eax, byte [rsp + rbx*4 + 0x1f]
mov al, byte [rax + r15]
xor byte [rsp + 0x22], al
movzx eax, byte [rsp + rbx*4 + 0x1c]
mov al, byte [rax + r15]
xor byte [rsp + 0x23], al
mov al, byte [r12]
inc r12
xor byte [rsp + 0x20], al
cmp ebp, 8
je 0x14005ff23
cmp rbx, 1
jle 0x14005ff9f
lea rdx, [rsp + 0x24]
lea r8, [rbx - 1]
xor ecx, ecx
mov al, byte [rdx + rcx - 4]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, r14
jl 0x14005ff09
add rdx, r14
sub r8, 1
jne 0x14005ff07
jmp 0x14005ff9f
lea rcx, [rsp + 0x24]
mov r8d, 3
mov rdx, r14
mov al, byte [rcx - 4]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14005ff31
sub r8, 1
jne 0x14005ff2e
movzx eax, byte [rsp + 0x2c]
mov al, byte [rax + r15]
xor byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x2d]
mov al, byte [rax + r15]
xor byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x2e]
mov al, byte [rax + r15]
xor byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x2f]
mov al, byte [rax + r15]
xor byte [rsp + 0x33], al
cmp rbx, 5
jle 0x14005ff9f
lea rcx, [rsp + 0x34]
lea r8, [rbx - 5]
mov rdx, r14
mov al, byte [rcx - 4]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14005ff8b
sub r8, 1
jne 0x14005ff88
xor edx, edx
test ebp, ebp
jle 0x14005ffe4
cmp edi, dword [rsi + 4]
jg 0x14005ffed
cmp rdx, rbx
jge 0x14005ffd2
lea r8, [rsp + rdx*4 + 0x20]
cmp r10, r14
jge 0x14005ffd5
mov eax, dword [r8]
lea rcx, [r10 + r11*4]
inc rdx
add r8, r14
inc r10
cmp rdx, rbx
mov dword [rsi + rcx*4 + 0x18], eax
jl 0x14005ffb4
cmp r10, r14
jne 0x14005ffdf
inc edi
inc r11
xor r10d, r10d
cmp rdx, rbx
jl 0x14005ffa5
cmp edi, dword [rsi + 4]
jle 0x14005feac
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400e9d00
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140060014
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x20
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov ebx, 1
mov r11, rcx
cmp dword [rcx + 4], ebx
jle 0x1400600dc
lea r10, [rcx + 0x28]
lea r14, [0x140000000]
xor r9d, r9d
lea rbp, [rsp + r9]
lea rsi, [r10 + 2]
mov r12d, 4
movzx eax, byte [rsi + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [rsi - 1]
mov r8b, byte [rdx + r14 + 0x14cfa0]
lea rcx, [r9 + rax*4]
movzx eax, byte [rsi - 2]
xor r8b, byte [rcx + r14 + 0x14d7a0]
lea rcx, [r9 + rax*4]
movzx eax, byte [rsi]
xor r8b, byte [rcx + r14 + 0x14dba0]
lea rcx, [r9 + rax*4]
add rsi, 4
xor r8b, byte [rcx + r14 + 0x14d3a0]
mov byte [rbp], r8b
add rbp, 4
sub r12, 1
jne 0x140060068
inc r9
cmp r9, 4
jl 0x14006005a
movdqu xmm0, xmmword [rsp]
inc ebx
movdqu xmmword [r10], xmm0
add r10, 0x10
cmp ebx, dword [r11 + 4]
jl 0x140060057
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.1400e9d00
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r12
pop rdi
ret
Function at 0x140062138
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
xor ebx, ebx
mov r14, r9
mov r12d, r8d
mov r13d, edx
mov rsi, rcx
cmp edx, ebx
jne 0x14006217e
mov r8, rdi
xor edx, edx
mov rcx, rbp
call fcn.1400ea880
mov r9, r14
mov r8d, r12d
mov edx, r13d
mov rcx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
call fcn.140061ca0
cmp al, bl
jne 0x140062239
cmp r12d, ebx
jne 0x1400621fd
cmp qword [rsi + 0x38], rdi
je 0x1400621d8
mov rcx, qword [rsi + 0x30]
call fcn.1400ea9fc
mov rcx, 0xffffffffffffffff
mov eax, 4
mul rdi
cmovo rax, rcx
mov rcx, rax
call fcn.1400e9a64
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov r8, rbx
cmp rdi, rbx
jbe 0x1400621fd
movzx edx, word [r8 + r14]
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x30]
mov eax, dword [rax + rdx*4]
mov dword [rcx + r8*4], eax
add r8, 2
cmp r8, rdi
jb 0x1400621e0
mov ecx, dword [rsi + 0x14]
mov rax, qword [rsi + 0x28]
imul ecx, r12d
add ecx, r13d
mov edx, dword [rax + rcx*4]
mov rax, qword [rsi + 8]
mov r8d, dword [rax + rdx*4]
cmp rdi, rbx
jbe 0x140062239
mov rax, qword [rsi + 0x30]
mov ecx, dword [rax + rbx*4]
mov rax, qword [rsi]
add ecx, r8d
movzx ecx, word [rax + rcx*4]
xor word [rbx + rbp], cx
add rbx, 2
cmp rbx, rdi
jb 0x14006221b
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r13
pop r12
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
mov eax, 0x1040
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor r12d, r12d
mov rbx, rdx
mov rsi, rcx
cmp byte [rdx], r12b
je 0x1400624d5
lea rdi, [rcx + 0x2022]
mov rcx, rdi
call fcn.140050ce0
mov rbp, rax
cmp rax, rdi
jbe 0x14006245f
mov rcx, rdi
mov word [rax - 2], r12w
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [r12 + 0x5c]
mov word [rbp - 2], cx
cmp eax, 0xffffffff
je 0x14006245f
bt eax, 0xa
jae 0x14006245f
mov byte [rbx], r12b
lea rdx, str.System_Volume_Information_
mov rcx, rdi
call fcn.1400ee80c
cmp rax, r12
je 0x140062476
mov byte [rbx], r12b
cmp byte [rbx], r12b
je 0x1400624d5
mov rcx, qword [rsi + 0x51a8]
cmp rcx, r12
je 0x1400624a2
mov r9b, 1
xor r8d, r8d
mov rdx, rdi
mov byte [rsp + 0x20], 1
call fcn.14003686c
cmp al, r12b
je 0x1400624a2
mov byte [rbx], r12b
cmp byte [rbx], r12b
je 0x1400624d5
lea rdx, [rsp + 0x30]
mov r8d, 0x800
mov rcx, rdi
call fcn.140051558
lea rdx, [rsp + 0x30]
mov ecx, 0x54
call fcn.140023e28
lea rcx, [0x140149f00]
call fcn.14003c5cc
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400e9d00
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1400632e8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rsp + 0x50]
mov rax, r8
mov rdi, rcx
cmp rax, rbx
mov r8, rbx
mov rcx, r9
cmovb r8, rax
mov rsi, r9
add r8, r8
call fcn.1400ea530
mov r9b, byte [rdi + 0x101]
mov r8b, byte [rsp + 0x58]
lea rdx, [rbx + rbx]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14006317c

Function at 0x140064f50
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x1400651e8
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
Function at 0x140065538
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x140
mov rsi, qword [rcx + 0x20]
mov edi, dword [rcx + 0x20]
lea rbp, [rcx + 0x30]
shl rsi, 3
and edi, 0x3f
mov qword [rcx + 0x28], rbp
mov r12, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x30], 0x80
jmp 0x140065589
and edi, 0x3f
jne 0x140065584
mov rcx, rbx
call fcn.140065228
mov byte [rdi + rbx + 0x30], 0
inc edi
cmp edi, 0x38
jne 0x140065577
movsxd rax, edi
lea edx, [rdi - 0x30]
lea rcx, [rax + rbx + 0x30]
mov rax, rsi
shl rsi, 8
shr rax, 0x38
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14006559b
mov rcx, rbx
call fcn.140065228
xor r11d, r11d
xor r8d, r8d
mov eax, r11d
mov ecx, 3
inc r11d
and eax, 3
sub ecx, eax
mov rax, r8
inc r8
shr rax, 2
shl ecx, 3
mov edx, dword [rbx + rax*4]
shr edx, cl
mov byte [r12], dl
inc r12
cmp r11d, 0x20
jb 0x1400655bf
and qword [rbx + 0x20], 0
lea rcx, [rsp + 0x20]
mov edx, 0x20
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
call fcn.1400632d0
lea rcx, [rsp + 0x40]
mov edx, 0x100
call fcn.1400632d0
mov edx, 0x40
mov rcx, rbp
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
jmp fcn.1400632d0

Function at 0x140066530
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140066596
lea r8, [rsp + 0x34]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
and qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, 0x80000000
mov ecx, 0xd
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x48
ret
Function at 0x1400670c8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rbx, rcx
cmp dword [rcx], esi
jbe 0x140067173
lea rdi, [rcx + 8]
lea rax, [rsp + 0x40]
lea r8, [0x14006702c]
mov r9, rbx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
jne 0x140067149
lea rdx, str.CreateThread_failed
lea rcx, [0x140149f00]
call fcn.14003c810
lea rcx, [0x140149f00]
call fcn.14003c5cc
lea edx, [rbp + 2]
lea rcx, [0x140149f00]
call fcn.14003c50c
mov qword [rdi], rbp
inc dword [rbx + 0x108]
mov edx, dword [0x140154204]
test edx, edx
je 0x140067165
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc esi
add rdi, 8
cmp esi, dword [rbx]
jb 0x1400670ed
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14007571c
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x340
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov rsi, qword [rsp + 0x3a8]
mov rbp, rcx
mov ecx, 0x1010
mov rbx, r9
mov r13d, r8d
mov r14, rdx
call fcn.1400eade0
mov rcx, r14
mov dword [rax], r13d
mov qword [rax + 8], rbx
mov r12, rax
call fcn.140065870
lea rdx, [r12 + 0x10]
xor r15d, r15d
movzx ecx, word [rax]
add rax, 2
mov word [rdx], cx
add rdx, 2
cmp cx, r15w
jne 0x14007577d
cmp dword [rbp + 8], 0x50000
jb 0x1400757ad
call fcn.140044e3c
cmp eax, 0x400
mov al, byte [rsp + 0x3c0]
jne 0x1400757b0
mov al, r15b
mov ebx, dword [rsp + 0x3a0]
or rdi, 0xffffffffffffffff
cmp al, r15b
jne 0x14007580b
cmp ebx, edi
je 0x1400757c9
cmp rsi, r15
jne 0x14007580b
mov eax, 0x4201
cmp r13d, 2
lea r8, [rsp + 0x70]
lea ecx, [rax + 2]
mov r9d, 0x2b8
cmove eax, ecx
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, edi
cmove ebx, dword [rsp + 0x78]
cmp rsi, r15
lea rax, [rsp + 0x80]
cmovne rax, rsi
mov rsi, rax
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x38]
call fcn.1400ea880
mov rax, qword [rsp + 0x3b8]
mov rcx, qword [rbp]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x3b0]
cmp rsi, r15
cmovne rdi, rsi
lea r9, [rsp + 0x30]
mov edx, 0x40b
xor r8d, r8d
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x30], 0x37
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.1400e9d00
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400764f8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x340
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x338], rax
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140076670
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
call qword [sym.imp.USER32.dll_SendMessageW]
lea r11, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x1400765d6
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x60]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4209
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rdi]
xor r8d, r8d
mov r9, rax
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14018c420]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov byte [rsp + 0x40], 0
or qword [rsp + 0x38], 0xffffffffffffffff
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x68]
lea rdx, [rsp + 0x70]
lea r8d, [r9 + 1]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14007571c
and qword [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x140076602
mov rdx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.140075c40
test al, al
jne 0x140076668
call fcn.1400b530c
xor ebx, ebx
mov esi, eax
bt esi, ebx
jae 0x140076661
lea r9d, [rbx + 0x41]
lea r8, str._c:_
lea rcx, [rsp + 0x320]
mov edx, 0xa
call fcn.140057264
mov byte [rsp + 0x40], 1
or qword [rsp + 0x38], 0xffffffffffffffff
mov dword [rsp + 0x30], 2
and qword [rsp + 0x28], 0
or dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x320]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.14007571c
inc ebx
cmp ebx, 0x20
jl 0x14007660b
mov rcx, rdi
call fcn.14007622c
mov rcx, qword [rsp + 0x338]
xor rcx, rsp
call fcn.1400e9d00
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140076698
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push rbx
mov eax, 0x1030
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
mov r8d, 0x800
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x20]
call fcn.140096568
mov rcx, qword [rbx]
lea r9, [rsp + 0x20]
or r8, 0xffffffffffffffff
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x14007672d
mov rcx, qword [rbx]
xor r9d, r9d
mov r8, rax
mov edx, 0x14e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.1400763b8
cmp byte [0x1401561a5], 0
mov rcx, rbx
je 0x140076726
call fcn.14007607c
jmp 0x140076789
call fcn.140075b88
jmp 0x140076789
cmp byte [0x1401561a5], 0
je 0x140076744
lea rcx, [rsp + 0x20]
call fcn.1400508b8
test al, al
je 0x140076775
lea rcx, [rsp + 0x20]
call fcn.140065968
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140076775
test al, 0x10
jne 0x140076775
lea rdx, [rsp + 0x20]
lea rcx, [0x140162bc0]
call fcn.1400947bc
jmp 0x140076789
lea rdx, [rsp + 0x20]
lea rcx, [0x140162bc0]
mov r8b, 1
call fcn.140094900
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400e9d00
add rsp, 0x1030
pop rbx
ret

Function at 0x1400767a4
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, qword [rsp + 0x340]
mov r11, r9
mov eax, r8d
mov r10, rdx
cmp r8d, 0x4e
jne 0x1400768a2
cmp dword [rbx + 0x10], 0xfffffcd9
je 0x14007680e
cmp dword [rbx + 0x10], 0xfffffcda
jne 0x140076807
cmp dword [rbx + 0x228], 2
jne 0x140076807
lea rcx, [0x140158338]
call fcn.140076698
xor eax, eax
jmp 0x1400768b3
mov rax, qword [rbx + 0x48]
mov ebp, dword [rbx + 0x18]
mov ecx, dword [rax]
cmp ecx, 4
jne 0x140076822
mov rsi, qword [rax + 8]
jmp 0x140076826
lea rsi, [rax + 0x10]
xor edi, edi
cmp ecx, 4
lea eax, [rdi + 8]
cmove edi, eax
test bpl, 1
je 0x140076865
mov eax, edi
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
bts eax, 9
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140076865
lea rax, [rsp + 0x40]
mov qword [rbx + 0x28], rax
test bpl, 6
je 0x140076898
or edi, 0x4001
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], edi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r11d, dword [rsp + 0x38]
mov dword [rbx + 0x38], r11d
mov dword [rbx + 0x34], r11d
bts dword [rbx + 0x18], 0x1c
jmp 0x140076807
mov r9, rbx
mov r8, r11
mov edx, eax
mov rcx, r10
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400e9d00
mov rbx, qword [rsp + 0x320]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400768d8
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
cmp dword [rcx + 8], 0
movsxd rdi, r8d
mov rsi, rdx
mov rbx, rcx
jne 0x140076905
lea rcx, str.comctl32.dll
call fcn.1400b4ff8
mov dword [rbx + 8], eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x140076913
call qword [sym.imp.USER32.dll_DestroyWindow]
and qword [rsp + 0x58], 0
or qword [rbx + 0x10], 0xffffffffffffffff
mov rax, qword [0x140149ef0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0xdc
mov dword [rsp + 0x30], 0x3c
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, str.ComboBoxEx32
mov r9d, 0x44200046
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
mov edx, 0x408
lea r8d, [r9 + 4]
mov rcx, rax
mov qword [rbx], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x407
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14007699f
mov rcx, rax
call fcn.1400b678c
mov rcx, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
jmp fcn.1400764f8

Function at 0x14007bd60
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x830
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x820], rax
xor ebp, ebp
mov rdi, rcx
mov word [rcx], bp
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x20]
mov r8d, 0x400
mov rcx, rax
mov ebx, ebp
call fcn.140065f30
mov rsi, rax
cmp rax, rbp
je 0x14007be10
cmp ebx, ebp
jne 0x14007bdbf
mov ebx, 1
jmp 0x14007bded
movzx edx, word [rsp + 0x20]
lea rcx, [0x140168af0]
call fcn.140036588
cmp al, bpl
jne 0x14007bded
cmp ebx, 1
jne 0x14007bdeb
movzx eax, word [rsp + 0x20]
mov word [rdi], ax
movzx eax, word [rsp + 0x22]
mov word [rdi + 2], ax
inc ebx
lea rdx, [rsp + 0x20]
mov r8d, 0x400
mov rcx, rsi
call fcn.140065f30
mov rsi, rax
cmp rax, rbp
jne 0x14007bdb4
cmp ebx, 2
jne 0x14007be10
mov word [rdi], bp
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1400e9d00
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret