joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029ff0
Capabilities:
Delete file
Get common file path

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, 0x40
xor eax, eax
movzx r13d, r9b
mov r14, rcx
mov rbx, 0xffffffffffffffff
mov rcx, qword [rcx + 0x20]
movzx r12d, r8b
mov rdi, rdx
mov r15d, eax
cmp rcx, rbx
je 0x14002a03e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14 + 0x20], rbx
mov byte [r14 + 0xc], 1
lea rcx, [r14 + 0x18]
call fcn.14000d8f0
mov ebp, 1
test rdi, rdi
jne 0x14002a100
mov rdi, qword [0x14012d430]
cmp dword [rdi - 0x10], r15d
jne 0x14002a13a
mov eax, dword [rdi - 0xc]
mov ecx, ebp
sub ecx, dword [rdi - 8]
sub eax, 0x104
or ecx, eax
jge 0x14002a08f
mov edx, 0x104
lea rcx, [0x14012d430]
call fcn.14000eab0
mov rdi, qword [0x14012d430]
mov rdx, rdi
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov rcx, qword [0x14012d430]
mov edi, eax
test rcx, rcx
jne 0x14002a0b3
xor r8d, r8d
mov eax, r8d
jmp 0x14002a0cf
movsxd rdx, dword [rcx - 0xc]
call qword [0x1400e7e78]
test eax, eax
js 0x14002a23c
mov rcx, qword [0x14012d430]
xor r8d, r8d
cmp eax, dword [rcx - 0xc]
jg 0x14002a23c
mov dword [rcx - 0x10], eax
mov rcx, qword [0x14012d430]
mov edx, eax
mov word [rcx + rdx*2], r8w
test edi, edi
jne 0x14002a0f5
mov rax, rbx
jmp 0x14002a21c
mov rdi, qword [0x14012d430]
jmp 0x14002a13a
inc rbx
cmp word [rdi + rbx*2], r15w
jne 0x14002a100
cmp ebx, 4
jle 0x14002a13a
movsxd rax, ebx
lea rdx, str..tmp
add rax, 0xfffffffffffffffc
lea rcx, [rdi + rax*2]
call qword [0x1400e7e80]
test eax, eax
jne 0x14002a13a
mov rdx, rdi
lea rcx, [r14 + 0x18]
call fcn.14002a400
mov r15d, ebp
mov r9, qword [r14 + 0x18]
cmp dword [r9 - 0x10], 0
jne 0x14002a1d7
mov eax, dword [r9 - 0xc]
sub ebp, dword [r9 - 8]
sub eax, 0x104
or ebp, eax
jge 0x14002a16c
mov edx, 0x104
lea rcx, [r14 + 0x18]
call fcn.14000eab0
mov r9, qword [r14 + 0x18]
xor r8d, r8d
lea rdx, str.GCache_
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov rcx, qword [r14 + 0x18]
mov ebx, eax
test rcx, rcx
jne 0x14002a192
xor r8d, r8d
mov eax, r8d
jmp 0x14002a1a7
movsxd rdx, dword [rcx - 0xc]
call qword [0x1400e7e78]
test eax, eax
js 0x14002a23c
xor r8d, r8d
mov rcx, qword [r14 + 0x18]
cmp eax, dword [rcx - 0xc]
jg 0x14002a23c
mov dword [rcx - 0x10], eax
mov edx, eax
mov rax, qword [r14 + 0x18]
mov word [rax + rdx*2], r8w
test ebx, ebx
je 0x14002a218
test r12b, r12b
jne 0x14002a1e4
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14002a218
test r15d, r15d
je 0x14002a218
xor r8d, r8d
test r12b, r12b
je 0x14002a218
mov rcx, qword [r14 + 0x18]
mov eax, r13d
mov qword [rsp + 0x30], r8
xor r9d, r9d
shl eax, 0x1a
xor r8d, r8d
bts eax, 7
mov edx, 0xc0000000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [r14 + 0x20], rax
mov rax, qword [r14 + 0x20]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x80070057
call fcn.14000d650
int3
Function at 0x14002dc40
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rbx, [rcx + 0x158]
mov rdi, rcx
mov rax, qword [rbx]
mov rdx, rcx
lea rcx, [0x14002d460]
mov qword [rbx + 8], rax
call qword [sym.imp.USER32.dll_EnumWindows]
call fcn.14001ad90
mov edx, 4
mov rcx, rax
call fcn.14001bd00
test al, al
je 0x14002dca8
call fcn.14001ad90
mov rdx, rbx
mov rcx, rax
call fcn.14001c1e0
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x14002dcd4
mov rax, qword [rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, rax
sar rcx, 3
cmp rcx, 2
jbe 0x14002dcd4
cmp rax, qword [rdi + 0x160]
je 0x14002dcd4
mov rax, qword [rax + 8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x14002dcf0
Capabilities:
Print debug messages

Disassembly:
test rdx, rdx
je 0x14002de24
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140129718]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_CopyRect]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi + 0xc0], xmm0
mov ecx, dword [rdi + 0xcc]
cmp ecx, dword [rdi + 0xc4]
jne 0x14002dd43
lea eax, [rcx + 1]
mov dword [rdi + 0xcc], eax
mov ecx, dword [rdi + 0xc8]
cmp ecx, dword [rdi + 0xc0]
jne 0x14002dd5a
lea eax, [rcx + 1]
mov dword [rdi + 0xc8], eax
movups xmm0, xmmword [rdi + 0xc0]
movups xmmword [rsp + 0x30], xmm0
movd eax, xmm0
sub eax, 0xa
mov dword [rsp + 0x30], eax
sub dword [rsp + 0x34], 0xa
add dword [rsp + 0x38], 0xa
add dword [rsp + 0x3c], 0xa
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14002de25
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
lea rdx, str.OnMouseTrack:_rcTemp.left:_d__rcTemp.right:_d__rcTemp.top:_d__rcTemp.bottom:_d_n
lea rcx, [rsp + 0x40]
call fcn.14002d530
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8b, 1
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 0xb8]
call fcn.140061af0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002de0a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400dc960
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000d650
int3
Function at 0x140039d40
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x298
mov rax, qword [0x140129718]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov ebp, r9d
mov esi, r8d
mov ebx, edx
mov rdi, rcx
mov rcx, qword [rcx + 0x98]
call fcn.140062f20
test rax, rax
je case.0x140039db9.68
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae case.0x140039db9.68
lea eax, [rbx - 0x43]
cmp eax, 0x37
ja case.0x140039db9.68
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x39f68]
mov ecx, dword [rdx + rax*4 + 0x39f54]
add rcx, rdx
jmp rcx
movzx eax, word [rdi + 0x144]
sub ax, 2
cmp ax, 1
jbe case.0x140039db9.68
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x38]
call fcn.14005e2d0
nop
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.14005e520
mov rbx, rax
test rax, rax
je 0x140039e1c
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0x74]
mov dword [rsp + 0x24], ecx
lea rsi, [rsp + 0x20]
jmp 0x140039ea1
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14005e930
mov rsi, rax
test rax, rax
je 0x140039e8a
mov ecx, 0x18
call fcn.1400dc4e0
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140039e7c
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rbx], rax
mov qword [rsp + 0x28], rbp
lea r8, [rsp + 0x28]
xor edx, edx
mov rcx, rsi
call fcn.1400dc5e8
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x28]
mov qword [rbx + 8], rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x140039e97
mov rbx, rbp
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x140039e97
lea rcx, [rsp + 0x38]
call fcn.14005e770
mov rbx, rax
lea rsi, [rsp + 0x30]
test rbx, rbx
je 0x140039ee1
mov dl, 1
mov rcx, qword [rdi + 0x98]
call fcn.140033530
mov r8d, dword [rsi + 4]
shl r8, 0x20
mov eax, dword [rsi]
or r8, rax
xor r9d, r9d
mov rdx, rbx
mov rcx, qword [rdi + 0x98]
call fcn.1400331f0
test rax, rax
jne 0x140039ee1
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
lea rcx, [rsp + 0x38]
call fcn.14005e410
jmp 0x140039f35
cmp word [rdi + 0x144], 3
je case.0x140039db9.68
mov rcx, rdi
call fcn.140037b40
jmp 0x140039f35
mov edx, 0x9112
mov rcx, qword [rdi + 0x98]
call fcn.140032bc0
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x140039f35
mov edx, 0x9113
jmp 0x140039f06
mov r9d, ebp
mov r8d, esi
mov edx, ebx
mov rcx, rdi
call fcn.140063c50
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400dc960
add rsp, 0x298
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004ae80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [rdx + 0x60]
mov rsi, rdx
mov qword [rdx + 0x68], rax
mov rdi, rcx
mov rax, qword [rcx + 0x68]
sub rax, qword [rcx + 0x60]
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], r12
xor r12d, r12d
sar rax, 3
mov ebp, r12d
mov qword [rsp + 0x30], r15
test eax, eax
jle 0x14004af7b
mov qword [rsp + 0x38], r14
mov r14d, r12d
nop word [rax + rax]
mov ecx, 0x28
call fcn.1400dc988
mov rbx, rax
test rax, rax
je 0x14004aef3
mov qword [rax], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
jmp 0x14004aef6
mov rbx, r12
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x60], rbx
mov rcx, qword [r14 + rax]
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x24], eax
mov rax, qword [rdi + 0x60]
mov rdx, qword [r14 + rax]
cmp rbx, rdx
je 0x14004af30
cmp qword [rdx + 0x18], 8
mov r8, qword [rdx + 0x10]
jb 0x14004af24
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.14000f2a0
mov rax, qword [rdi + 0x60]
mov rax, qword [r14 + rax]
mov ecx, dword [rax + 0x20]
mov dword [rbx + 0x20], ecx
mov rdx, qword [rsi + 0x68]
cmp rdx, qword [rsi + 0x70]
je 0x14004af4e
mov qword [rdx], rbx
add qword [rsi + 0x68], 8
jmp 0x14004af5c
lea r8, [rsp + 0x60]
lea rcx, [rsi + 0x60]
call fcn.14002cba0
mov rax, qword [rdi + 0x68]
inc ebp
sub rax, qword [rdi + 0x60]
add r14, 8
sar rax, 3
cmp ebp, eax
jl 0x14004aed0
mov r14, qword [rsp + 0x38]
mov eax, dword [rdi + 0x84]
lea rcx, [rsi + 0x78]
mov r9d, dword [rdi + 0x80]
mov r8d, dword [rdi + 0x7c]
mov edx, dword [rdi + 0x78]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetRect]
lea rdx, [rdi + 0x88]
lea rcx, [rsi + 0x88]
call fcn.1400306c0
mov eax, dword [rdi + 0x90]
mov rbx, qword [rsi + 0x98]
mov r15, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x68]
mov dword [rsi + 0x90], eax
mov eax, dword [rdi + 0x94]
mov dword [rsi + 0x94], eax
test rbx, rbx
je 0x14004afee
mov rcx, qword [rbx]
call fcn.1400dc58e
mov rcx, rbx
call fcn.1400dc4e6
mov rbx, qword [rdi + 0x98]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov rcx, qword [rbx]
call fcn.1400dc6de
test eax, eax
je 0x14004b00e
mov dword [rbx + 8], eax
mov ecx, InitCommonControls
call fcn.1400dc4e0
test rax, rax
je 0x14004b02d
mov rdx, qword [rsp + 0x60]
mov ecx, dword [rbx + 8]
mov qword [rax], rdx
mov dword [rax + 8], ecx
jmp 0x14004b030
mov rax, r12
mov rbx, qword [rsi + 0xa0]
mov r12, qword [rsp + 0x70]
mov qword [rsi + 0x98], rax
test rbx, rbx
je 0x14004b058
mov rcx, qword [rbx]
call fcn.1400dc5a6
mov rcx, rbx
call fcn.1400dc4e6
mov rcx, qword [rdi + 0xa0]
call fcn.14004a410
mov rdx, rsi
mov qword [rsi + 0xa0], rax
mov rcx, rdi
add rsp, 0x40
pop rdi
pop rsi
pop rbx
jmp fcn.14003d0a0
Function at 0x14005e2d0
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
lea rbx, [rcx + 8]
xor ebp, ebp
mov qword [rsp + 0x30], rbx
mov rsi, rcx
mov rdi, rdx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
lea ecx, [rbp + 0x10]
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
call fcn.1400dc988
mov rcx, rdi
mov qword [rax + 8], rbp
mov qword [rbx], rax
mov qword [rax], rbx
mov qword [rsi], rdi
call qword [sym.imp.USER32.dll_OpenClipboard]
mov rbx, qword [rsp + 0x38]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14005e490
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movsxd rsi, r9d
mov rbx, rdx
mov rdx, rsi
mov ecx, 2
mov rbp, r8
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14005e4ee
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call fcn.1400ddd9e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
movzx ecx, bx
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_SetClipboardData]
Function at 0x14005e520
Capabilities:
Read clipboard data

Disassembly:
push rbx
push rsi
push rdi
push r13
sub rsp, 0x88
xor edi, edi
lea rcx, str.AliGraffiti
mov dword [rsp + 0xc0], edi
mov rsi, rdx
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
movzx ecx, ax
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rcx, rax
lea rdx, [rsp + 0xc0]
call fcn.14005e940
mov qword [rsp + 0x38], rax
mov r13, rax
mov ebx, edi
test rax, rax
je 0x14005e6ca
add rax, 0x210
lea r8d, [rdi + 4]
mov qword [rsp + 0x30], rax
mov rcx, rsi
mov rdx, r13
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rdx - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x14005e590
movups xmm0, xmmword [rdx]
mov qword [rsp + 0x80], r12
movups xmmword [rcx], xmm0
cmp dword [rsi + 8], ebx
jle 0x14005e6ba
cmp dword [rsi + 0xc], ebx
jle 0x14005e6ba
lea ecx, [r8 + 0x18]
call fcn.1400dc4e0
mov qword [rsp + 0xc8], rax
mov rbx, rax
test rax, rax
je 0x14005e6b7
mov edx, dword [rsi + 0xc]
lea rax, vtable.Gdiplus::Bitmap.0
mov ecx, dword [rsi + 8]
mov r9d, 0x26200a
mov qword [rbx], rax
xor r8d, r8d
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call fcn.1400dc504
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0xc8]
mov qword [rbx + 8], rax
test rbx, rbx
je 0x14005e6ba
mov eax, dword [rsi + 8]
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx + 8]
mov r9d, 0x26200a
mov dword [rsp + 0x48], eax
mov r8d, 2
mov eax, dword [rsi + 0xc]
mov dword [rsp + 0x4c], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], rdi
call fcn.1400dc50a
test eax, eax
je 0x14005e6da
mov dword [rbx + 0x10], eax
mov edx, 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rbx, rdi
mov rcx, r13
call fcn.1400dc980
mov r12, qword [rsp + 0x80]
mov rax, rbx
add rsp, 0x88
pop r13
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0xb0], rbp
mov r12, rbx
mov qword [rsp + 0x78], r14
mov ebp, edi
mov qword [rsp + 0x70], r15
mov r14d, edi
mov r15d, dword [rsi + 8]
shl r15d, 2
cmp dword [rsi + 0xc], edi
jle 0x14005e73e
mov r13, qword [rsp + 0x30]
movsxd r12, r15d
nop dword [rax]
movsxd rdx, edi
mov r8, r12
movsxd rcx, ebp
add rdx, r13
add rcx, qword [rsp + 0x60]
call fcn.1400ddd9e
add ebp, dword [rsp + 0x58]
inc r14d
add edi, r15d
cmp r14d, dword [rsi + 0xc]
jl 0x14005e710
mov r13, qword [rsp + 0x38]
mov r12, rbx
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x50]
call fcn.1400dc510
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xb0]
test eax, eax
je 0x14005e6ba
mov dword [r12 + 0x10], eax
jmp 0x14005e6ba
Function at 0x14005e770
Capabilities:
List drag and drop files
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14005e916
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rsi, rax
xor ebp, ebp
test rax, rax
je 0x14005e8cc
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
test eax, eax
jle 0x14005e8cc
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
lea edi, [rax + 1]
test edi, edi
js 0x14005e90b
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14005e80f
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.14000eab0
mov rbx, qword [rsp + 0x48]
mov r9d, edi
mov r8, rbx
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
test rbx, rbx
jne 0x14005e829
mov eax, ebp
jmp 0x14005e83e
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call qword [0x1400e7e78]
test eax, eax
js 0x14005e90b
cmp eax, dword [rbx - 0xc]
jg 0x14005e90b
mov dword [rbx - 0x10], eax
mov eax, eax
mov word [rbx + rax*2], bp
mov edx, dword [rbx - 0x10]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rsi, rax
test rax, rax
je 0x14005e905
mov ecx, 0x18
call fcn.1400dc4e0
mov rdi, rax
mov qword [rsp + 0x50], rax
mov rcx, rsi
test rax, rax
je 0x14005e8fc
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rdi], rax
mov qword [rsp + 0x50], rbp
lea rdx, [rsp + 0x50]
call fcn.1400dc534
mov dword [rdi + 0x10], eax
mov rax, qword [rsp + 0x50]
mov qword [rdi + 8], rax
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x14005e8cc
mov eax, dword [rdi + 0x10]
mov dword [rdi + 0x10], ebp
test eax, eax
je 0x14005e8cf
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rdi, rbp
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14005e8ec
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
jmp 0x14005e8cc
call fcn.14000ef10
int3
mov ecx, 0x80070057
call fcn.14000d650
nop
mov ecx, 0x80004005
call fcn.14000d650
int3

Function at 0x14005e930
Capabilities:
Read clipboard data

Disassembly:
mov ecx, 2
jmp qword [sym.imp.USER32.dll_GetClipboardData]
Function at 0x14005ee80
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x260
mov rax, qword [0x140129718]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rcx
xor ebp, ebp
mov dword [rcx], ebp
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.1400ddd92
mov r8d, 0x103
lea rdx, [rsp + 0x40]
lea rcx, [0x1400ed5e8]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x20], rbp
mov r8, rbx
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], 7
lea rax, [rsp + 0x40]
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], bp
jne 0x14005ef00
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x278], rdi
lea rcx, [rsp + 0x20]
call fcn.14000f2a0
mov r11, qword [rsp + 0x38]
lea r9, [rsp + 0x20]
mov r10, qword [rsp + 0x20]
cmp r11, 8
cmovae r9, r10
cmp qword [rsp + 0x30], 4
jne 0x14005ef86
movzx ecx, word [r9]
lea rax, str.beta
mov r8d, 0x62
mov edx, 4
cmp cx, r8w
jb 0x14005ef86
sub r9, rax
cmp cx, r8w
ja 0x14005ef86
cmp rdx, 1
je 0x14005f040
movzx ecx, word [r9 + rax + 2]
add rax, 2
dec rdx
movzx r8d, word [rax]
cmp cx, r8w
jae 0x14005ef63
xor dil, dil
cmp r11, 8
jb 0x14005efc4
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x14005efbc
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f039
mov rcx, r10
call fcn.1400dc8cc
test dil, dil
jne 0x14005f04d
mov qword [rsp + 0x20], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], 7
inc rbx
cmp word [rax + rbx*2], bp
jne 0x14005efe5
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14000f2a0
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14005f04d
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f048
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f048
call qword [0x1400e7dc8]
int3
mov dil, 1
jmp 0x14005ef89
call fcn.1400dc8cc
mov dword [rsi], 0x80
mov rax, rsi
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400dc960
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x140072720
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x140129718]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x20], rdx
call fcn.140094fa0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14008f260
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140072779
mov rdx, qword [rbx]
lea rcx, [rsp + 0x50]
call fcn.14008fa90
lea rcx, [rsp + 0x50]
call fcn.1400514e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor r13d, r13d
cmp eax, 0xffffffff
jne 0x1400728b6
mov r15, qword [rbx + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 0xa
jb 0x14007296a
mov r12, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400727cd
mov r12, qword [rbx]
mov qword [rsp + 0x28], r13
lea rbp, [r15 + 0xa]
mov edi, 7
lea r14, [rsp + 0x28]
cmp rbp, rdi
jbe 0x140072818
mov rdi, rbp
or rdi, 7
cmp rdi, rcx
jbe 0x1400727f6
mov rdi, rcx
jmp 0x140072802
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x28]
call fcn.14000f0b0
mov r14, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rdi
movups xmm0, xmmword [str..._common_]
movups xmmword [r14], xmm0
mov eax, dword [0x1400ef2e8]
mov dword [r14 + 0x10], eax
lea rcx, [r14 + 0x14]
lea r8, [r15 + r15]
mov rdx, r12
call fcn.1400ddd9e
mov word [r14 + rbp*2], r13w
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x140072871
mov rcx, rbx
call fcn.14000f020
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x10], xmm1
jmp 0x1400728b6
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400728b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400728b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400728b1
call qword [0x1400e7dc8]
int3
call fcn.1400dc8cc
mov qword [rsi], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
lea rcx, [rsp + 0x50]
call fcn.140064db0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140072925
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140072920
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140072963
mov rcx, r8
call fcn.1400dc8cc
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rax, rsi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400dc960
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [0x1400e7dc8]
nop
call fcn.14000f090
nop