joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d7f00
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.140177280
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14017e4c0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.14017d580
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8fb0
add rsp, 0x250
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.140177280
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14017e2f0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.14017d580
cmp ebx, 0xffffffff
je 0x1400d81ad
test bl, 0x10
jne 0x1400d81ad
mov eax, 1
jmp 0x1400d81af
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8fb0
add rsp, 0x250
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.140177280
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14017e2f0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.14017d580
xor eax, eax
cmp ebx, 0xffffffff
setne al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8fb0
add rsp, 0x250
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp byte [rcx], 0
mov rbx, rcx
je 0x1400d82a2
lea rcx, [rsp + 0x20]
call fcn.140177280
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14017e5e0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.14017d580
cmp ebx, 0xffffffff
je 0x1400d82a2
test bl, 0x10
je 0x1400d82a2
mov eax, 1
jmp 0x1400d82a4
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8fb0
add rsp, 0x250
pop rbx
ret

Function at 0x1400d8640
Capabilities:
Delete file

Disassembly:
mov r11, rsp
sub rsp, 0x68
xor eax, eax
neg r8d
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x48], rcx
mov dword [rsp + 0x28], 3
mov qword [r11 - 0x30], rax
sbb ax, ax
mov qword [r11 - 0x38], rdx
and ax, 0x40
lea rcx, str.Enter_SHFileOperation_n
or ax, 0x4000
mov word [rsp + 0x40], ax
call fcn.1400b3fb0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
lea rcx, str.Leave_SHFileOperation_n
call fcn.1400b3fb0
add rsp, 0x68
ret
Function at 0x1400d88a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400d89b1
mov qword [rsp + 0x270], rbx
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rcx, [rsp + 0x20]
call fcn.140177280
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.14017d850
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.140001000
mov ecx, 2
add eax, 1
movsxd rdx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
mov rbx, rax
je 0x1400d894a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.140001150
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rcx, [rsp + 0x20]
call fcn.14017d580
mov rcx, rdi
call fcn.14017d010
mov ecx, 2
add eax, 1
movsxd rdx, eax
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
mov rbx, rax
je 0x1400d89a3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, rdi
mov rcx, rax
call fcn.14017cc50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8fb0
add rsp, 0x250
pop rdi
ret
Function at 0x1400d8f80
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x690
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x680], rax
mov rbx, rcx
lea rcx, [rsp + 0x40]
mov rbp, rdx
call fcn.140177280
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.14017e4c0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov rcx, rbx
lea rdx, [rsp + 0x260]
neg rcx
mov rcx, qword [rsp + 0x48]
mov esi, eax
sbb r8d, r8d
xor eax, eax
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
and r8d, 0x104
mov qword [rsp + 0x28], rax
test rbx, rbx
mov qword [rsp + 0x20], rax
cmove rdx, rax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
mov edi, eax
jne 0x1400d9023
mov word [rsp + 0x260], ax
mov word [rsp + 0x470], ax
lea rcx, [rsp + 0x40]
call fcn.14017d580
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test rbx, rbx
je 0x1400d904a
lea rdx, [rsp + 0x260]
mov rcx, rbx
call fcn.140178050
test edi, edi
je 0x1400d9057
mov rax, qword [rbx + 8]
cmp byte [rax], 0
jne 0x1400d90c2
lea rcx, [rsp + 0x40]
call fcn.140177280
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.14017e4c0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea rcx, [rsp + 0x40]
mov edi, eax
call fcn.14017d580
cmp edi, 3
je 0x1400d90ac
cmp edi, 6
je 0x1400d90ac
test edi, edi
mov rax, qword [0x140200708]
jne 0x1400d90a3
mov rdx, qword [rax + 0x32e0]
jmp 0x1400d90ba
mov rdx, qword [rax + 0x378]
jmp 0x1400d90ba
mov rax, qword [0x140200708]
mov rdx, qword [rax + 0x370]
mov rcx, rbx
call fcn.140177fb0
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.1401a8fb0
mov rbx, qword [rsp + 0x6c0]
add rsp, 0x690
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400d9490
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
lea rcx, [rsp + 0x20]
mov rbx, rdx
call fcn.140177280
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r8d, dword [rsp + 0x24]
add eax, 1
cmp eax, r8d
jle 0x1400d94e6
lea rcx, [rsp + 0x20]
mov edx, eax
call fcn.14017d5a0
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rbx
test eax, eax
je 0x1400d9507
mov rdx, qword [rsp + 0x28]
call fcn.140178050
jmp 0x1400d950c
call fcn.140178250
lea rcx, [rsp + 0x20]
call fcn.14017d580
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8fb0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
Function at 0x1400d9540
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, r8
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rcx, [rsp + 0x20]
mov rdi, rax
call fcn.140177280
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r8d, dword [rsp + 0x24]
add eax, 1
cmp eax, r8d
jle 0x1400d959c
lea rcx, [rsp + 0x20]
mov edx, eax
call fcn.14017d5a0
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rbx
test eax, eax
je 0x1400d95bd
mov rdx, qword [rsp + 0x28]
call fcn.140178050
jmp 0x1400d95c2
call fcn.140178250
lea rcx, [rsp + 0x20]
call fcn.14017d580
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8fb0
mov rbx, qword [rsp + 0x278]
add rsp, 0x250
pop rdi
ret

Function at 0x1400d9760
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
lea r8, [rsp + 0x20]
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1400d97c6
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400d97bb
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140178050
mov ebx, 1
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8fb0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret

Function at 0x1400da310
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
sets cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1400da470
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rax, r8
mov rbp, rcx
mov r9d, edx
lea rcx, [rsp + 0x30]
mov edi, edx
xor esi, esi
mov qword [rsp + 0x20], rcx
or r9d, 8
xor r8d, r8d
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x38], rax
mov ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400da576
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov r9d, 0x100
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [rsi + 1]
test eax, eax
jne 0x1400da526
nop
nop
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov edx, edi
call fcn.1400da470
test eax, eax
je 0x1400da528
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov r9d, 0x100
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1400da4f0
mov ecx, 1
mov ebx, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1400da576
mov r10, qword [0x14020e318]
mov rdx, qword [rsp + 0x38]
mov rcx, rbp
test r10, r10
je 0x1400da562
or edi, 2
xor r9d, r9d
mov r8d, edi
call r10
test eax, eax
jne 0x1400da572
mov eax, 1
jmp 0x1400da578
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
mov eax, 1
cmove esi, eax
mov eax, esi
jmp 0x1400da578
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8fb0
mov rbx, qword [rsp + 0x288]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400da5a0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rcx
lea rcx, [rsp + 0x20]
mov ebp, r9d
mov r12d, r8d
mov rbx, rdx
call fcn.140177280
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14017d850
xor edi, edi
lea rbx, [0x1401d0218]
test ebp, ebp
mov rcx, rsi
je 0x1400da608
mov r8, qword [rsp + 0x28]
mov edx, dword [rbx]
call fcn.1400da470
jmp 0x1400da62d
mov rax, qword [0x14020e318]
mov rdx, qword [rsp + 0x28]
test rax, rax
je 0x1400da627
mov r8d, dword [rbx]
xor r9d, r9d
or r8d, 2
call rax
jmp 0x1400da62d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test r12d, r12d
je 0x1400da63e
add edi, 1
add rbx, 4
cmp edi, 3
jb 0x1400da5f3
lea rcx, [rsp + 0x20]
call fcn.14017d580
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8fb0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1400da720
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x490
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rdi, rcx
lea rcx, [rsp + 0x260]
mov r12, r9
mov rbp, r8
mov rbx, rdx
xor esi, esi
call fcn.140177280
lea rcx, [rsp + 0x260]
mov rdx, rbx
call fcn.14017d850
mov rdx, qword [rsp + 0x268]
lea r11, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rcx, [rsp + 0x260]
test eax, eax
mov ebx, esi
mov edi, 1
cmove ebx, edi
call fcn.14017d580
test ebx, ebx
je 0x1400da898
lea rcx, [rsp + 0x40]
call fcn.140177280
lea rcx, [rsp + 0x260]
call fcn.140177280
test rbp, rbp
lea rcx, [rsp + 0x260]
je 0x1400da7de
mov rdx, rbp
call fcn.14017d850
jmp 0x1400da7e3
call fcn.140177a90
mov r8d, dword [rsp + 0x44]
nop
nop
mov rdx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x38]
lea eax, [r8 + r8]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movsxd r8, dword [rsp + 0x44]
cmp eax, 0xea
mov edx, dword [rsp + 0x30]
je 0x1400da844
test eax, eax
jne 0x1400da876
mov rcx, r8
add rcx, rcx
cmp rdx, rcx
jb 0x1400da85b
add edx, edi
shr edx, 1
add edx, edi
cmp edx, r8d
jle 0x1400da7f0
lea rcx, [rsp + 0x40]
call fcn.14017d5a0
jmp 0x1400da7e3
mov rax, qword [rsp + 0x48]
shr rdx, 1
mov rcx, r12
mov word [rax + rdx*2], si
mov rdx, qword [rsp + 0x48]
call fcn.140178050
mov esi, edi
lea rcx, [rsp + 0x40]
call fcn.14017d580
lea rcx, [rsp + 0x260]
call fcn.14017d580
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1401a8fb0
add rsp, 0x490
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400da8c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x6b0
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov rbx, rcx
lea rcx, [rsp + 0x270]
mov r12d, r9d
mov rsi, r8
mov rdi, rdx
xor ebp, ebp
call fcn.140177280
lea rcx, [rsp + 0x50]
call fcn.140177280
lea rcx, [rsp + 0x270]
mov rdx, rbx
call fcn.14017d850
test rdi, rdi
lea rcx, [rsp + 0x50]
je 0x1400da929
mov rdx, rdi
call fcn.14017d850
jmp 0x1400da92e
call fcn.140177a90
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x278]
mov dword [rsp + 0x38], ebp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r9, [rsp + 0x490]
lea r8, [rsp + 0x44]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
lea rcx, [rsp + 0x50]
test eax, eax
mov ebx, 1
cmove ebp, ebx
call fcn.14017d580
lea rcx, [rsp + 0x270]
call fcn.14017d580
test ebp, ebp
je 0x1400da9b1
lea rdx, [rsp + 0x490]
mov rcx, rsi
mov word [rsp + 0x696], 0
call fcn.140178050
mov eax, ebx
jmp 0x1400da9b3
xor eax, eax
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.1401a8fb0
add rsp, 0x6b0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400da9e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x4a0
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rbx, rcx
lea rcx, [rsp + 0x270]
mov r12d, r9d
mov rbp, r8
mov rsi, rdx
xor edi, edi
call fcn.140177280
lea rcx, [rsp + 0x50]
call fcn.140177280
lea rcx, [rsp + 0x270]
mov rdx, rbx
call fcn.14017d850
test rsi, rsi
lea rcx, [rsp + 0x50]
je 0x1400daa49
mov rdx, rsi
call fcn.14017d850
jmp 0x1400daa4e
call fcn.140177a90
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x278]
mov dword [rsp + 0x38], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x44]
mov r9, rbp
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
mov ecx, 1
test eax, eax
cmove edi, ecx
lea rcx, [rsp + 0x50]
call fcn.14017d580
lea rcx, [rsp + 0x270]
call fcn.14017d580
mov eax, edi
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1401a8fb0
add rsp, 0x4a0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400daed0
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
sub rsp, 0x40
mov esi, r9d
mov r12, r8
mov r13d, edx
mov rdi, rcx
xor ebx, ebx
cmp byte [0x14020dd5b], bl
je 0x1400daf0c
call fcn.14017cdd0
cmp eax, 0x104
jge 0x1400daf2e
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9d, esi
mov r8, r12
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rbx, rax
mov qword [rsp + 0x30], rax
jmp 0x1400daf45
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x40
pop r13
ret
Function at 0x1400db990
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbp, rcx
mov eax, 7
xor edi, edi
cmp byte [0x14020e200], dil
lea rcx, [rsp + 0x60]
mov ebx, 3
cmovne ebx, eax
call fcn.140177280
lea rcx, [rsp + 0x60]
mov rdx, rbp
call fcn.14017e2f0
mov rcx, qword [rsp + 0x68]
mov r8d, ebx
mov qword [rsp + 0x30], rdi
mov ebx, 0x80000000
xor r9d, r9d
mov edx, ebx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rsp + 0x60]
mov rsi, rax
call fcn.14017d580
cmp rsi, 0xffffffffffffffff
jne 0x1400dba54
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400dbb44
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateFileW__:__d:_Failed_to_open_file__s_n
mov r8, rbp
mov edx, eax
call fcn.1400b3fb0
jmp 0x1400dbb44
lea rdx, [rsp + 0x44]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov r11d, eax
mov dword [rsp + 0x40], eax
jne 0x1400dba81
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400dbb3b
mov r11d, dword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1400dbaad
lea r8, [rsp + 0x48]
lea edx, [rax + 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x1400dbb3b
mov rdi, qword [rsp + 0x48]
jmp 0x1400dbb3b
cmp rax, rbx
jge 0x1400dbb3b
mov edx, r11d
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
mov rbx, rax
je 0x1400dbb3b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400dbb32
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov rdx, rax
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
test eax, eax
je 0x1400dbb2c
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r11d, dword [rsp + 0x48]
cmp r11, qword [rsp + 0x40]
jne 0x1400dbb32
lea r8, [rsp + 0x50]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x1400dbb32
mov rdi, qword [rsp + 0x50]
jmp 0x1400dbb3b
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401a8fb0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400dbe00
Capabilities:
Get disk information

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x468
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov eax, dword [rsp + 0x4c0]
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
add eax, 0xffffffff
xor ebx, ebx
mov rdi, r9
mov r13d, r8d
mov r12, rdx
mov word [rsp + 0x22], 0x3a
movsxd rsi, eax
mov word [rsp + 0x24], 0x5c
mov word [rsp + 0x26], bx
xor ebp, ebp
call qword [fcn.1400d8de0]
test eax, eax
jne 0x1400dbffc
nop
nop
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov r8d, 0x104
mov word [rsp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1400dc02a
mov eax, eax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, str.QueryDosDevice__S__S_n
mov word [rsp + rax*2 + 0x30], 0
call fcn.1400b3fb0
cmp word [rsp + 0x30], 0x5c
jne 0x1400dc02a
cmp word [rsp + 0x32], 0x3f
jne 0x1400dc02a
cmp word [rsp + 0x34], 0x3f
jne 0x1400dc02a
cmp word [rsp + 0x36], 0x5c
jne 0x1400dc02a
movzx eax, word [rsp + 0x38]
test ax, ax
je 0x1400dc02a
cmp word [rsp + 0x3a], 0x3a
jne 0x1400dc02a
add ebp, 1
cmp ebp, 0x100
jge 0x1400dc02a
cmp word [rsp + 0x3c], 0x5c
mov word [rsp + 0x20], ax
mov word [rsp + 0x22], 0x3a
mov word [rsp + 0x24], 0x5c
mov word [rsp + 0x26], 0
jne 0x1400dbfe3
movzx eax, word [rsp + 0x3e]
xor edx, edx
xor ecx, ecx
test ax, ax
lea r8, [rsp + 0x3e]
je 0x1400dbf6c
cmp rcx, 0x104
jge 0x1400dbf5e
mov word [rsp + rcx*2 + 0x240], ax
add edx, 1
add rcx, 1
mov ax, word [r8 + 2]
add r8, 2
test ax, ax
jne 0x1400dbf46
test ebx, ebx
je 0x1400dbfb5
cmp rcx, 0x104
jge 0x1400dbf8a
mov word [rsp + rcx*2 + 0x240], WSAAsyncSelect
add edx, 1
add rcx, 1
mov r8, rdi
nop
cmp rcx, 0x104
jge 0x1400dbfac
movzx eax, word [r8]
add edx, 1
add rcx, 1
mov word [rsp + rcx*2 + 0x23e], ax
add r8, 2
sub ebx, 1
jne 0x1400dbf90
xor ebx, ebx
xor ecx, ecx
test edx, edx
lea r8, [rsp + 0x240]
je 0x1400dbfe3
cmp rcx, rsi
jge 0x1400dbfda
movzx eax, word [r8]
add ebx, 1
add rcx, 1
mov word [rdi + rcx*2 - 2], ax
add r8, 2
sub edx, 1
jne 0x1400dbfc5
lea rcx, [rsp + 0x20]
mov r8d, r13d
mov rdx, r12
call qword [fcn.1400d8de0]
test eax, eax
je 0x1400dbe70
movsxd rax, ebx
mov word [rdi + rax*2], 0
mov eax, 1
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1401a8fb0
add rsp, 0x468
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor eax, eax
jmp 0x1400dc00a

Function at 0x1400dc0f0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x48
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x20]
lea edx, [r9 + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400dc11f
bt dword [rsp + 0x2c], 0x1b
jae 0x1400dc11f
mov eax, 1
add rsp, 0x48
ret
xor eax, eax
add rsp, 0x48
ret
Function at 0x1400dc130
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
push rbp
push rdi
push r12
sub rsp, 0x48
mov rbp, rdx
mov r12, rcx
xor edx, edx
xor ecx, ecx
xor edi, edi
call qword [sym.imp.USER32.dll_GetKeyboardLayoutList]
test eax, eax
mov ebx, eax
je 0x1400dc221
mov rcx, rbx
mov qword [rsp + 0x80], r14
shl rcx, 3
call fcn.1400cf700
mov ecx, ebx
mov rdx, rax
mov r14, rax
call qword [sym.imp.USER32.dll_GetKeyboardLayoutList]
test eax, eax
je 0x1400dc211
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x40], r15
lea r15d, [rdi + 1]
mov ebx, edi
mov rsi, r14
mov r13d, eax
nop
nop
mov cx, word [rsi]
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x20]
lea edx, [r9 + 0x48]
and ecx, 0x3ff
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400dc1e3
bt dword [rsp + 0x2c], 0x1b
jae 0x1400dc1e3
test rbp, rbp
je 0x1400dc1d6
mov rax, qword [rsi]
mov qword [rbp], rax
or ebx, 2
cmp ebx, 3
jne 0x1400dc1f9
mov edi, r15d
jmp 0x1400dc1f9
test r12, r12
je 0x1400dc1ef
mov rax, qword [rsi]
mov qword [r12], rax
or ebx, r15d
cmp ebx, 3
cmove edi, r15d
add rsi, 8
sub r13, r15
jne 0x1400dc1a0
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rcx, r14
call fcn.1400cf780
mov r14, qword [rsp + 0x80]
mov eax, edi
add rsp, 0x48
pop r12
pop rdi
pop rbp
pop rbx
ret

Function at 0x1400dc730
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x30
test r8, r8
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
je 0x1400dc798
mov r12d, 0xffffffff
xor r13d, r13d
nop
mov rdi, rbx
cmp rbx, r12
lea r9, [rsp + 0x58]
cmova rdi, r12
mov rdx, rsi
mov rcx, rbp
mov r8d, edi
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400dc7b6
mov eax, dword [rsp + 0x58]
cmp rax, rdi
jne 0x1400dc7b6
add rsi, rdi
sub rbx, rdi
jne 0x1400dc760
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
xor eax, eax
jmp 0x1400dc79d