joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400072f4
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x230
xor ebx, ebx
test rcx, rcx
je 0x14000737e
mov rdx, rcx
mov r8d, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000bf68
lea rcx, [rsp + 0x20]
mov word [rsp + 0x228], bx
call fcn.14000b92c
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x20]
cmp rcx, rax
jbe 0x14000736a
lea rdx, [rcx - 2]
movzx eax, word [rdx]
sub ax, 0x20
cmp ax, 0x3c
ja 0x14000736a
movabs r8, 0x1000000000008001
bt r8, rax
jae 0x14000736a
lea rax, [rsp + 0x20]
mov rcx, rdx
cmp rdx, rax
ja 0x14000733c
mov word [rcx], bx
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cdqe
jmp 0x140007380
xor eax, eax
add rsp, 0x230
pop rbx
ret

Function at 0x1400077f8
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x1400c8e20]
xor r13d, r13d
mov rbp, r8
mov r14, rdx
mov rdi, rcx
mov esi, r13d
test rax, rax
jne 0x14000784a
lea r8, [fcn.1400077b4]
mov ecx, 0x260
lea edx, [rax + 0x10]
call fcn.14000b730
mov qword [0x1400c8e20], rax
mov rdx, rdi
mov rcx, rax
call fcn.14000b61c
mov rbx, rax
test rax, rax
je 0x14000794d
test r14, r14
lea r15, [0x1400b35e0]
cmovne r15, r14
test rbp, rbp
je 0x14000787b
cmp word [rbp], r13w
jne 0x140007882
lea rbp, [0x1400bb670]
mov rcx, r15
call fcn.14000b92c
mov rcx, rbp
mov r12, rax
call fcn.14000b92c
mov rcx, qword [0x1400c83f0]
add eax, 2
add eax, r12d
xor edx, edx
movsxd r8, eax
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x140007936
mov rdx, r15
mov rcx, rax
call fcn.14000b910
test r12d, r12d
je 0x1400078e3
movsxd rax, r12d
cmp word [r15 + rax*2 - 2], 0x5c
je 0x1400078e3
lea rdx, [0x1400b3574]
mov rcx, r14
call fcn.14000c050
mov rdx, rbp
mov rcx, r14
call fcn.14000c050
lea rdx, [rbx + 0xc]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14000790a
mov dword [rbx + 8], r13d
jmp 0x14000791c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000791f
mov dword [rbx + 8], 1
mov rsi, rbx
mov rcx, qword [0x1400c83f0]
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
jne 0x14000794d
mov rcx, qword [0x1400c8e20]
cmp rdi, 0xffffffffffffffff
cmove rdi, rbx
mov rdx, rdi
call fcn.14000b6f4
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400079cc
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x380]
sub rsp, 0x480
or rbx, 0xffffffffffffffff
xor edi, edi
test rcx, rcx
je 0x140007b3d
cmp word [rcx], di
je 0x140007b3d
mov rdx, rcx
mov r8d, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000bf68
lea rcx, [rsp + 0x20]
mov word [rbp + 0x128], di
call fcn.14000b92c
mov rdx, rax
cdqe
lea rcx, [rsp + rax*2 + 0x1e]
lea eax, [rdx - 2]
cmp eax, 1
ja 0x140007a72
cmp word [rsp + 0x22], 0x3a
jne 0x140007a72
cmp edx, 2
jne 0x140007a52
lea rdx, [0x1400b3574]
lea rcx, [rsp + 0x20]
call fcn.14000c050
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140007b3d
mov rbx, 0xfffffffffffffffe
jmp 0x140007b3d
cmp word [rcx], 0x5c
je 0x140007a7e
cmp word [rcx], 0x2f
jne 0x140007a87
mov word [rcx], di
sub rcx, 2
jmp 0x140007a72
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, rax
cmp rax, rbx
je 0x140007ace
test byte [rbp + 0x130], 0x10
je 0x140007ab3
mov rbx, 0xfffffffffffffffe
jmp 0x140007ac6
mov ebx, dword [rbp + 0x14c]
mov eax, dword [rbp + 0x150]
shl rbx, 0x20
or rbx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140007b3d
movzx ecx, word [rsp + 0x20]
movzx eax, word [rsp + 0x22]
cmp cx, 0x5c
jne 0x140007ae3
cmp ax, cx
je 0x140007af9
cmp cx, 0x2f
jne 0x140007aee
cmp ax, cx
je 0x140007af9
cmp cx, 0x2e
jne 0x140007b3d
cmp ax, cx
jne 0x140007b3d
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140007b1e
not eax
mov rbx, 0xfffffffffffffffe
shr rax, 4
and eax, 1
or rbx, rax
jmp 0x140007b3d
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov rcx, rbx
mov rbx, 0xfffffffffffffffe
cmp eax, 1
cmova rcx, rbx
mov rbx, rcx
lea r11, [rsp + 0x480]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140007b80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov dword [rsp + 0x40], eax
cmp dword [rcx + 0x1c], eax
jne 0x140007bc4
mov r8d, dword [rcx + 0x10]
lea r9, [rsp + 0x40]
sub r8d, dword [rcx + 0x14]
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
movsxd rax, dword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
cdqe
add rsp, 0x30
pop rbx
ret
Function at 0x140007bd0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
cmp rcx, 0xffffffffffffffff
mov rcx, qword [0x1400c8e28]
jne 0x140007bf0
add rsp, 0x30
pop rdi
jmp fcn.14000b7b0
mov rdx, rdi
mov qword [rsp + 0x48], rbx
call fcn.14000b6c8
mov rbx, rax
test rax, rax
je 0x140007c65
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140007c4d
xor eax, eax
mov dword [rsp + 0x40], eax
cmp dword [rbx + 0x1c], eax
jne 0x140007c3a
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x40]
sub r8d, dword [rbx + 0x14]
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
mov r8, qword [rbx + 8]
xor edx, edx
mov rcx, qword [0x1400c83f0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400c8e28]
mov rdx, rdi
call fcn.14000b6f4
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140007ed0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdx, rcx
xor edi, edi
mov rcx, qword [0x1400c8e28]
mov dword [rsp + 0x50], edi
call fcn.14000b6c8
mov rbx, rax
test rax, rax
je 0x140007f75
cmp qword [rax + 8], rdi
je 0x140007f37
lea r8d, [rdi + 1]
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140027990
test rax, rax
je 0x140007f24
inc dword [rbx + 0x14]
movsxd rax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov edi, 1
movsxd rax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rax]
lea r9, [rsp + 0x58]
mov r8d, 1
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140007f85
cmp dword [rsp + 0x58], edi
je 0x140007f85
mov rcx, qword [rbx]
mov r9d, 1
xor r8d, r8d
lea edx, [r9 - 2]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
movsxd rax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
cdqe
add rsp, 0x30
pop rdi
ret

Function at 0x140008090
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rdx, rcx
mov rcx, qword [0x1400c8e28]
call fcn.14000b6c8
mov rbx, rax
test rax, rax
je 0x1400080e0
mov r8d, dword [rax + 0x20]
mov rdx, rdi
mov rcx, rax
call fcn.1400280c0
mov r8d, dword [rbx + 0x20]
lea rdx, [0x1400b35cc]
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400280c0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000835c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400083f5
test rdi, rdi
lea rsi, [0x1400b35e0]
cmovne rsi, rdi
mov rcx, rsi
call fcn.14000b92c
inc eax
mov ecx, 0x2002
movsxd rbp, eax
add rbp, rbp
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400083ef
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400083ef
mov r8, rbp
mov rdx, rsi
mov rcx, rax
call fcn.14001a650
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
lea ecx, [rbx + 0xd]
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rbx, rax
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140008410
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400c8e34], eax
add rsp, 0x28
ret

Function at 0x14000863c
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, rdx
xor ebx, ebx
mov r14, rcx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rbx + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140008623
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, qword [0x1400c83f0]
xor edx, edx
mov r8d, eax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x14000861a
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140008608
cmp dword [rsp + 0x78], edi
jne 0x140008608
mov r8d, edi
mov rdx, rsi
mov rcx, r14
call fcn.140028b28
mov rbx, rax
mov rcx, qword [0x1400c83f0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
xor r8d, r8d
jmp 0x140008560
Function at 0x14000bdc4
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x14000be40
movsxd rdx, ecx
lea rcx, [0x14000bec8]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [0x1400c9050]
test rbx, rbx
je 0x14000beb3
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14000be36
cmp byte [rbx + 0x20], 0
je 0x14000be36
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x14000bdfc
jmp 0x14000beb3
mov rbx, qword [0x1400c9050]
test rbx, rbx
je 0x14000beb3
mov rsi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14000beab
cmp byte [rbx + 0x21], 0
je 0x14000be6f
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x14000be9b
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
and dword [rsp + 0x28], 0
or rdx, 0xffffffffffffffff
and dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400c9050]
call fcn.14000c0c0
mov rbx, rsi
test rsi, rsi
jne 0x14000be4c
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140014db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx r8d, byte [rcx]
mov r9, rcx
test r8b, r8b
jns 0x140014e6b
movzx r11d, r8b
and r11b, 0x40
movzx eax, r11b
movzx ecx, r11b
neg al
sbb rax, rax
neg cl
movzx ecx, r8b
sbb r10b, r10b
or r8b, 0x80
and cl, 0x7f
movzx r8d, r8b
test r11b, r11b
movzx ecx, cl
cmove r8d, ecx
cmp rdx, 8
jbe 0x140014e16
nop dword [rax]
dec rdx
cmp r8b, r10b
jne 0x140014e55
movzx r8d, byte [r9 + 1]
inc r9
cmp rdx, 8
ja 0x140014e00
xor r10b, r8b
jl 0x140014e55
sub rdx, 1
je 0x140014e49
nop dword [rax]
nop word [rax + rax]
shl rax, 8
lea r9, [r9 + 1]
movzx ecx, r8b
movzx r8d, byte [r9]
or rax, rcx
sub rdx, 1
jne 0x140014e30
shl rax, 8
movzx ecx, r8b
or rax, rcx
ret
xor eax, eax
movabs rcx, 0x7fffffffffffffff
test r11b, r11b
setne al
add rax, rcx
ret
mov r8d, 8
jmp fcn.140015950

Function at 0x140019b70
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x140019bf5
cmp word [rdx], bx
je 0x140019bf5
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.140040f30
mov rdx, r14
mov rcx, rax
mov rbp, rax
call r15
mov rdx, rdi
mov rcx, rbp
call fcn.1400484a0
test eax, eax
jne 0x140019bf5
mov rcx, qword [0x1400c83f0]
lea edx, [rbx + 8]
lea r8d, [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [rax + 0x34], ebx
mov rbx, rax
mov qword [rax], rbp
mov dword [rax + 0x20], 1
mov qword [rax + 0x48], rsi
mov qword [rsi + 8], rax
mov rbp, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14002723c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x40
mov r14, rcx
xor ebx, ebx
call qword [sym.imp.USER32.dll_GetFocus]
lea rdx, str.PB_WindowID
mov rcx, r14
mov rdi, rax
xor ebp, ebp
call qword [sym.imp.USER32.dll_GetPropW]
lea r12d, [rbx + 9]
mov rsi, rax
test rax, rax
je 0x1400272ed
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400272ed
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x68], eax
jne 0x1400272ed
mov rcx, qword [0x1400c91d0]
lea rdx, [rsi - 1]
call fcn.14000b6c8
mov rbx, rax
lea ebp, [r12 - 8]
cmp dword [rax + 0x20], 0
jle 0x1400272ed
mov rcx, qword [rax + 8]
xor edx, edx
movsxd rax, dword [rax + 0x20]
add rcx, 4
cmp word [rcx - 2], r12w
jne 0x1400272dd
mov r8d, 0xfa01
cmp word [rcx], r8w
je 0x1400272eb
inc rdx
add rcx, 6
cmp rdx, rax
jge 0x1400272ed
jmp 0x1400272ca
xor ebp, ebp
mov sil, 0x80
test rdi, rdi
je 0x1400273bd
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
je 0x1400273bd
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x1400273bd
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x1400273bd
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x1400273bd
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
test ebp, ebp
jne 0x1400273bd
lea r8d, [rbp + 5]
lea rdx, str.RichE
lea rcx, [rsp + 0x20]
call fcn.14002b768
test eax, eax
je 0x14002738d
lea r8d, [rbp + 4]
lea rdx, str.RICHE
lea rcx, [rsp + 0x20]
call fcn.14002b768
test eax, eax
jne 0x1400273a8
xor r9d, r9d
xor r8d, r8d
mov edx, 0x44e
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xb
jae 0x140027424
lea rdx, str.Scintilla
lea rcx, [rsp + 0x20]
call fcn.14002794c
test eax, eax
je 0x140027424
test r14, r14
je 0x1400273ff
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x1400273f2
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x1400273f2
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
je 0x1400273ff
mov edx, 1
mov rcx, r14
call fcn.1400275b4
test rdi, rdi
je 0x140027419
lea rdx, str.PB_Hotkey
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetPropW]
test rax, rax
jne 0x140027424
test rbx, rbx
je 0x140027424
mov rax, qword [rbx + 0x10]
jmp 0x140027426
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r12
pop rdi
ret
Function at 0x140027990
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
xor ebp, ebp
mov rdi, r8
mov r15, rdx
mov r14, rcx
cmp dword [rcx + 0x1c], ebp
jne 0x1400279c7
call fcn.140007b80
mov dword [r14 + 0x1c], 1
mov dword [r14 + 0x14], ebp
movsxd r12, dword [r14 + 0x14]
mov eax, dword [r14 + 0x18]
mov rbx, r12
sub eax, r12d
movsxd rdx, eax
add rdx, qword [r14 + 8]
cmp r12, rdi
jl 0x140027a40
mov rax, rdi
sub rax, 1
je 0x140027a31
sub rax, 1
je 0x140027a1e
cmp rax, 2
je 0x140027a0d
mov r8, rdi
mov rcx, r15
call fcn.14001a650
sub dword [r14 + 0x14], edi
movsxd rax, edi
jmp 0x140027aba
mov eax, dword [rdx]
mov dword [r15], eax
sub dword [r14 + 0x14], edi
movsxd rax, edi
jmp 0x140027aba
movzx eax, word [rdx]
mov word [r15], ax
sub dword [r14 + 0x14], edi
movsxd rax, edi
jmp 0x140027aba
movzx eax, byte [rdx]
mov byte [r15], al
sub dword [r14 + 0x14], edi
movsxd rax, edi
jmp 0x140027aba
mov r8, rbx
mov rcx, r15
call fcn.14001a650
movsxd r8, dword [r14 + 0x10]
lea r9, [rsp + 0x60]
mov rcx, qword [r14]
add r15, rbx
sub rdi, rbx
mov qword [rsp + 0x20], rbp
cmp rdi, r8
jl 0x140027a80
mov r8d, edi
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x60]
add eax, r12d
mov dword [r14 + 0x14], ebp
jmp 0x140027ab8
mov rdx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rax, dword [rsp + 0x60]
mov rcx, r15
mov rdx, qword [r14 + 8]
cmp rdi, rax
mov rbx, rax
mov dword [r14 + 0x14], eax
cmovle rbx, rdi
mov dword [r14 + 0x18], eax
mov r8, rbx
call fcn.14001a650
sub dword [r14 + 0x14], ebx
lea eax, [rbx + r12]
cdqe
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140027ae0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov r12d, edx
mov r14, rcx
mov r15d, 0x1000
mov rcx, qword [0x1400c83f0]
mov r8d, r15d
xor edx, edx
mov r13, r9
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x140027cbb
movzx r8d, byte [rsp + 0x30]
mov qword [rsp + 0x70], rbx
mov rbx, rax
mov qword [rsp + 0x78], rdi
cmp rsi, 0xffffffffffffffff
je 0x140027b47
test rsi, rsi
je 0x140027c10
dec rsi
cmp qword [r14 + 8], 0
lea rdi, [r14 + 8]
lea rdx, [rsp + 0x30]
je 0x140027b6b
mov r8d, 1
mov rcx, r14
call fcn.140027990
mov dword [rsp + 0x34], eax
jmp 0x140027b8c
mov rcx, qword [r14]
lea r9, [rsp + 0x34]
mov r8d, 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x34]
movzx r8d, byte [rsp + 0x30]
cmp eax, 1
jne 0x140027c14
test r8b, r8b
je 0x140027ba8
mov byte [rbx], r8b
inc rbx
movzx r8d, byte [rsp + 0x30]
mov rdx, rbx
lea eax, [r15 - 1]
sub rdx, rbp
movsxd rcx, eax
cmp rdx, rcx
jle 0x140027bea
mov rcx, qword [0x1400c83f0]
add r15d, 0x1000
movsxd r9, r15d
mov r8, rbp
mov edx, 8
sub ebx, ebp
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
movzx r8d, byte [rsp + 0x30]
mov rbp, rax
movsxd rbx, ebx
add rbx, rax
test r8b, r8b
je 0x140027c14
test r12d, r12d
jne 0x140027b35
cmp r8b, 0xd
je 0x140027c1d
cmp r8b, 0xa
jne 0x140027b35
dec rbx
jmp 0x140027ca1
lea rdi, [r14 + 8]
test r12d, r12d
jne 0x140027ca1
cmp r8b, 0xa
jne 0x140027c28
dec rbx
jmp 0x140027ca1
cmp r8b, 0xd
jne 0x140027ca1
dec rbx
lea rdx, [rsp + 0x30]
cmp qword [rdi], 0
je 0x140027c50
mov r8d, 1
mov rcx, r14
call fcn.140027990
mov dword [rsp + 0x34], eax
jmp 0x140027c6d
mov rcx, qword [r14]
lea r9, [rsp + 0x34]
mov r8d, 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [rsp + 0x30], 0xa
je 0x140027ca1
cmp qword [rdi], 0
je 0x140027c80
inc dword [r14 + 0x14]
jmp 0x140027ca1
mov rcx, qword [r14]
lea r8, [rsp + 0x3c]
mov r9d, 1
mov qword [rsp + 0x38], 0xffffffffffffffff
lea edx, [r9 - 2]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rdi, qword [rsp + 0x78]
mov rax, rbx
sub rax, rbp
mov qword [r13], rax
mov rax, rbp
mov byte [rbx], 0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x140027ce0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbp, r8
mov r12d, edx
mov r14, rcx
xor edx, edx
mov rcx, qword [0x1400c83f0]
mov r8d, 0x1000
xor edi, edi
mov r13d, 0x800
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rax, rax
je 0x140027ed8
movzx edx, word [rsp + 0x30]
mov qword [rsp + 0x70], rbx
mov rbx, rax
mov qword [rsp + 0x78], rsi
nop dword [rax + rax]
cmp rbp, 0xffffffffffffffff
je 0x140027d52
test rbp, rbp
je 0x140027e18
dec rbp
cmp qword [r14 + 8], 0
lea rsi, [r14 + 8]
lea rdx, [rsp + 0x30]
je 0x140027d76
mov r8d, 2
mov rcx, r14
call fcn.140027990
mov dword [rsp + 0x34], eax
jmp 0x140027d93
mov rcx, qword [r14]
lea r9, [rsp + 0x34]
mov r8d, 2
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x34]
movzx edx, word [rsp + 0x30]
cmp eax, 2
jne 0x140027e1c
test dx, dx
je 0x140027dae
mov word [rbx], dx
add rbx, 2
movzx edx, word [rsp + 0x30]
mov rdi, rbx
lea eax, [r13 - 1]
sub rdi, r15
movsxd rcx, eax
sar rdi, 1
cmp rdi, rcx
jle 0x140027df4
mov rcx, qword [0x1400c83f0]
add r13d, 0x800
movsxd r9, r13d
mov r8, r15
add r9, r9
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
movzx edx, word [rsp + 0x30]
mov r15, rax
movsxd rax, edi
lea rbx, [r15 + rax*2]
test dx, dx
je 0x140027e1c
mov edi, 0
test r12d, r12d
jne 0x140027d40
cmp dx, 0xd
je 0x140027e21
cmp dx, 0xa
je 0x140027e27
jmp 0x140027d40
lea rsi, [r14 + 8]
test r12d, r12d
jne 0x140027e2b
cmp dx, 0xa
jne 0x140027e56
sub rbx, 2
xor edi, edi
mov rcx, qword [rsp + 0x88]
mov rax, rbx
mov rsi, qword [rsp + 0x78]
sub rax, r15
sar rax, 1
mov qword [rcx], rax
mov rax, r15
mov word [rbx], di
mov rbx, qword [rsp + 0x70]
jmp 0x140027edb
cmp dx, 0xd
jne 0x140027e2b
sub rbx, 2
lea rdx, [rsp + 0x30]
cmp qword [rsi], 0
je 0x140027e81
mov r8d, 2
mov rcx, r14
call fcn.140027990
mov dword [rsp + 0x34], eax
xor edi, edi
jmp 0x140027e9a
mov rcx, qword [r14]
lea r9, [rsp + 0x34]
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r8d, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp word [rsp + 0x30], 0xa
je 0x140027e2d
cmp qword [rsi], 0
je 0x140027eb2
add dword [r14 + 0x14], 2
jmp 0x140027e2d
mov rcx, qword [r14]
lea r8, [rsp + 0x3c]
mov r9d, 1
mov qword [rsp + 0x38], 0xfffffffffffffffe
lea edx, [r9 - 3]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x140027e2d
mov rax, rdi
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret