joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10000b82c
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 8], rcx
push rsi
push rdi
push r13
sub rsp, 0x40
and dword [rax + 8], 0
and qword [rax - 0x28], 0
lea r13, [0x10000efb8]
xor edi, edi
mov rsi, r9
mov rbx, r8
mov rbp, rdx
test r13, r13
je 0x10000b951
test rbx, rbx
je 0x10000b951
lea edx, [rdi + 0x18]
lea ecx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
jne 0x10000b88e
mov ebx, 0x8007000e
jmp 0x10000b984
lea r8, [rsp + 0x30]
lea rdx, [0x100034da8]
mov ecx, 4
mov qword [rax + 8], rbp
mov qword [rax], r13
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x10000b8f8
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10000b8ee
test byte [rcx + 0x1c], 4
je 0x10000b8ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x100032328]
lea r8, [0x100001b80]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x27
call fcn.10000b0b8
mov ebx, 0x80004005
jmp 0x10000b984
mov rax, qword [rsp + 0x30]
lea r8, [0x10000c07c]
mov r9, rdi
mov qword [rdi + 0x10], rax
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
test rax, rax
jne 0x10000b944
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x10000b8ee
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [rsp + 0x30], 0
jmp 0x10000b8ee
mov eax, dword [rsp + 0x60]
mov qword [rsi], r11
mov dword [rbx], eax
xor ebx, ebx
jmp 0x10000b992
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10000b97f
test byte [rcx + 0x1c], 4
je 0x10000b97f
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001b80]
mov edx, 0x26
call fcn.10000b094
mov ebx, 0x80070057
test rdi, rdi
je 0x10000b992
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r13
pop rdi
pop rsi
ret

Function at 0x10000ba4c
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x100032318], 2
mov ebx, 0x80004005
je 0x10000ba67
mov ebx, 0x83450065
jmp 0x10000ba7d
mov rdx, rcx
mov ecx, dword [0x100034d70]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
cmp eax, ecx
cmovne ebx, ecx
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x10000d6f4
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
lea rax, [rsp + 0x30]
xor edi, edi
cmp rax, rdi
jne 0x10000d728
mov rcx, qword [0x100032328]
lea rbx, [0x100032328]
cmp rcx, rbx
je 0x10000d797
test byte [rcx + 0x1c], 4
je 0x10000d766
lea edx, [rdi + 0x2a]
jmp 0x10000d74f
cmp dword [0x100032318], 2
je 0x10000d788
mov rcx, qword [0x100032328]
lea rbx, [0x100032328]
cmp rcx, rbx
je 0x10000d797
test byte [rcx + 0x1c], 4
je 0x10000d766
mov edx, 0x2b
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001b80]
call fcn.10000b094
mov rcx, qword [0x100032328]
cmp rcx, rbx
je 0x10000d797
test byte [rcx + 0x1c], 4
je 0x10000d797
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001ab0]
mov edx, 0xa
call fcn.10000b094
jmp 0x10000d797
mov ecx, dword [0x100034d70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov rax, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x10000d7ac
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x80
mov rbx, rcx
xor ebp, ebp
lea rax, [0x100003480]
mov qword [rcx], rax
lea rax, [rcx + 8]
lea rcx, [0x100005a18]
mov dword [rax + 0x10], 0xdbcaabcd
mov dword [rax + 0x14], 1
mov qword [rax], rcx
mov qword [rax + 0x18], rax
lea rcx, [0x100002478]
mov rdi, r9
mov qword [rax + 8], rcx
mov dword [rax + 0x20], ebp
mov dword [rbx + 0x48], 1
mov qword [rbx + 0x50], rdx
mov qword [rbx + 0x58], r8
lea rcx, [0x1000035b0]
mov qword [rbx], rcx
lea rcx, [0x100005a18]
mov qword [rax], rcx
lea rax, [0x100003680]
lea rcx, [rsp + 0x20]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x68], ebp
mov dword [rbx + 0x70], ebp
lea rax, [rbx + 0x78]
mov qword [rbx + 0x80], rax
mov qword [rax], rax
mov dword [rbx + 0x8c], ebp
mov dword [rbx + 0x90], ebp
mov dword [rbx + 0x94], ebp
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x40], 1
mov r11d, ebp
setne r11b
lea rcx, [rsp + 0x50]
mov dword [rbx + 0x98], r11d
mov dword [rbx + 0x9c], ebp
mov dword [rbx + 0xa0], ebp
mov dword [rbx + 0xa4], ebp
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x70], 1
mov r11d, ebp
setne r11b
xor eax, eax
mov dword [rbx + 0xa8], r11d
mov dword [rbx + 0xac], ebp
mov dword [rbx + 0xb0], ebp
mov dword [rbx + 0xb4], ebp
mov qword [rbx + 0xb8], rbp
mov qword [rbx + 0xc0], rbp
mov qword [rbx + 0xc8], rbp
mov dword [rbx + 0xd0], ebp
mov dword [rbx + 0x290], ebp
mov qword [rbx + 0x288], rbp
mov qword [rbx + 0x280], rbp
mov qword [rbx + 0x278], rbp
mov qword [rbx + 0x298], rbp
mov qword [rbx + 0x2a0], rbp
mov qword [rbx + 0x2a8], rbp
mov qword [rbx + 0x2b0], rbp
mov qword [rbx + 0x2c8], rbp
mov qword [rbx + 0x2d0], rbp
mov qword [rbx + 0x2d8], rbp
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x2b8], rbp
mov qword [rbx + 0x2c0], rbp
mov rcx, qword [rbx + 0xb8]
cmp rcx, rbp
je 0x10000d94e
mov qword [rbx + 0xb8], rbp
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0xb8], rdi
cmp rdi, rbp
je 0x10000d963
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x10000f558
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rdi, rcx
mov ecx, dword [rcx + 0x9c]
test ecx, 0xffff8000
jne 0x10000f58f
lea edx, [rcx + 1]
mov eax, ecx
lock cmpxchg dword [rdi + 0x9c], edx
cmp ecx, eax
je 0x10000f5a0
lea rcx, [rdi + 0x9c]
mov edx, 2
call fcn.100017228
mov rax, qword [rdi + 0x280]
xor ecx, ecx
mov qword [rsp + 0x60], rcx
test rax, rax
je 0x10000f5bb
mov rcx, qword [rax]
mov qword [rsp + 0x60], rcx
test rcx, rcx
je 0x10000f5c6
mov rax, qword [rcx]
call qword [rax + 8]
mov edx, dword [rdi + 0x9c]
mov eax, edx
lea ecx, [rdx - 1]
lock cmpxchg dword [rdi + 0x9c], ecx
cmp edx, eax
jne 0x10000f5c6
mov dword [rdi + 0xb4], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rsi, qword [rsp + 0x60]
mov r13d, eax
mov r12d, eax
and qword [rsp + 0x68], 0
lea r8, [rsp + 0x68]
mov rdx, rsi
mov rcx, rdi
call fcn.100010f74
mov ebp, eax
test eax, eax
js 0x10000f6d1
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x10000f69f
mov rdx, rbx
mov rcx, rdi
call fcn.10000f40c
lea rcx, [rbx + 0x10]
mov ebp, eax
mov rax, qword [rcx]
call qword [rax + 0x18]
test ebp, ebp
js 0x10000f65e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov r12d, eax
sub ecx, r13d
cmp ecx, 0x14
jb 0x10000f5f8
jmp 0x10000f71a
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10000f697
test byte [rcx + 0x1c], 4
je 0x10000f697
mov rcx, qword [rcx + 0x10]
lea r9, [0x100002ef8]
lea r8, [0x100001ab0]
mov edx, 0x3d
mov dword [rsp + 0x20], ebp
call fcn.10001a3dc
mov rax, qword [rbx]
mov rcx, rbx
jmp 0x10000f717
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10000f6cd
test byte [rcx + 0x1c], 1
je 0x10000f6cd
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001ab0]
mov edx, 0x3e
call fcn.10000b094
xor ebp, ebp
jmp 0x10000f71a
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10000f70a
test byte [rcx + 0x1c], 4
je 0x10000f70a
mov rcx, qword [rcx + 0x10]
lea r9, [0x100002ed0]
lea r8, [0x100001ab0]
mov edx, 0x3c
mov dword [rsp + 0x20], ebp
call fcn.10001a3dc
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x10000f71a
mov rax, qword [rcx]
call qword [rax + 0x10]
and dword [rdi + 0xb4], 0
sub r12d, r13d
cmp r12d, 0x14
jb 0x10000f736
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xc8]
test rsi, rsi
je 0x10000f744
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov eax, ebp
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x100014c1c
Capabilities:
Read file on windows

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 r14
sub rsp, 0x30
xor ebx, ebx
mov rsi, rcx
cmp dword [rcx + 0x38], ebx
je 0x100014c4e
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x100014c4e
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [rsi + 0x1c], 4
je 0x100014c72
cmp dword [rsi + 0x38], ebx
je 0x100014c68
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x100014c68
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x800702a4
jmp 0x100014da1
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
mov r8d, dword [rsi + 0x170]
mov rdx, qword [rsi + 0x168]
mov rcx, qword [rsi + 0x150]
lea rax, [0x100014b58]
lea r9, [rsi + 0x190]
mov qword [rsp + 0x20], rax
mov qword [rsi + 0x1a8], rsi
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test edi, edi
je 0x100014cc5
xor edi, edi
jmp 0x100014d72
mov rcx, qword [0x100032328]
lea r14, [0x100032328]
cmp rcx, r14
je 0x100014cfd
test byte [rcx + 0x1c], 4
je 0x100014cfd
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001a20]
mov edx, 0xf
mov r9d, eax
call fcn.10000b0b8
mov rcx, qword [0x100032328]
movzx edi, bp
or edi, 0x80070000
test ebp, ebp
cmovle edi, ebp
test edi, edi
jns 0x100014d3c
cmp rcx, r14
je 0x100014d3a
test byte [rcx + 0x1c], 4
je 0x100014d3a
mov rcx, qword [rcx + 0x10]
lea r9, [0x100003eb0]
lea r8, [0x100001a20]
mov edx, 0x10
mov dword [rsp + 0x20], edi
call fcn.10001a3dc
test edi, edi
je 0x100014d72
mov rbx, qword [rsi + 0x40]
test rbx, rbx
je 0x100014d50
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsi + 0x40]
test rcx, rcx
je 0x100014d64
and qword [rsi + 0x40], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsi + 0x40], 0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
cmp dword [rsi + 0x38], 0
je 0x100014d87
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x100014d87
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x100014d9f
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x20]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x10]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1000179f0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
xor esi, esi
lea rax, [0x100004710]
mov qword [rcx], rax
lea rax, [rcx + 8]
lea rcx, [0x100005a18]
mov dword [rax + 0x10], 0xdbcaabcd
mov dword [rax + 0x14], 1
mov qword [rax], rcx
mov qword [rax + 0x18], rax
lea rcx, [0x100002478]
mov rbx, rdx
mov qword [rax + 8], rcx
mov dword [rax + 0x20], esi
mov dword [rdi + 0x30], r8d
mov qword [rdi + 0x38], rsi
lea rcx, [0x100004870]
mov qword [rdi], rcx
lea rcx, [0x100005a18]
mov qword [rax], rcx
lea rax, [0x1000048c8]
lea rcx, [rsp + 0x20]
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x40], esi
mov dword [rdi + 0x44], esi
mov dword [rdi + 0x48], esi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x40], 1
mov r11d, esi
setne r11b
mov dword [rdi + 0x4c], r11d
mov qword [rdi + 0x50], rsi
mov qword [rdi + 0x58], rsi
mov dword [rdi + 0x60], esi
mov dword [rdi + 0x220], esi
mov qword [rdi + 0x218], rsi
mov qword [rdi + 0x210], rsi
mov qword [rdi + 0x208], rsi
mov qword [rdi + 0x230], rsi
mov qword [rdi + 0x238], rsi
mov qword [rdi + 0x240], rsi
mov rcx, qword [rdi + 0x230]
cmp rcx, rsi
je 0x100017ade
mov qword [rdi + 0x230], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x230], rbx
cmp rbx, rsi
je 0x100017af3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x50
pop rdi
ret

Function at 0x100018000
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
lea rax, [0x100004770]
mov rdi, rdx
mov qword [rcx], rax
lea rax, [rcx + 8]
lea rcx, [0x100005a18]
mov dword [rax + 0x10], 0xdbcaabcd
mov dword [rax + 0x14], 1
mov qword [rax], rcx
mov qword [rax + 0x18], rax
lea rcx, [0x100002478]
mov qword [rax + 8], rcx
mov dword [rax + 0x20], 0
lea rcx, [0x1000047e0]
mov qword [rbx], rcx
lea rcx, [0x100005a18]
mov qword [rax], rcx
lea rax, [0x100004850]
lea rcx, [rsp + 0x20]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x830], 0
mov dword [rbx + 0x834], 0
mov dword [rbx + 0x838], 0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor r11d, r11d
cmp dword [rsp + 0x40], 1
setne r11b
mov dword [rbx + 0x83c], r11d
mov qword [rbx + 0x840], rdi
test rdi, rdi
je 0x1000180bc
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
lea rcx, [rbx + 0x30]
xor edx, edx
mov r8d, 0x800
call sub.msvcrt.dll_memset
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x10001bf68
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x28], 0
mov rsi, rcx
jne 0x10001bfc2
mov ebx, 1
mov rcx, qword [0x100032328]
lea rdi, [0x100032328]
cmp rcx, rdi
je 0x10001c0a3
test byte [rcx + 0x1c], bl
je 0x10001c0a3
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x16]
lea r8, [0x100001940]
call fcn.10000b094
jmp 0x10001c0a3
lea r9, [rsi + 0x234]
lea rdx, [0x100004c58]
add rcx, 0x2c
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x10001c03c
mov rcx, qword [0x100032328]
lea rdi, [0x100032328]
cmp rcx, rdi
je 0x10001c018
mov ebx, 1
test byte [rcx + 0x1c], bl
je 0x10001c018
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x17]
lea r9, [rsi + 0x234]
lea r8, [0x100001940]
call fcn.10000d674
lea rcx, [rsi + 0x234]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10001c03c
lea rcx, [rsi + 0x234]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10001c052
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x10001c0a3
lea rdx, [rsi + 0x234]
mov r8d, 0x104
mov rcx, rsi
call fcn.10001c1d0
mov ebx, eax
test eax, eax
jns 0x10001c0a1
mov rcx, qword [0x100032328]
cmp rcx, rdi
je 0x10001c0a3
test byte [rcx + 0x1c], 4
je 0x10001c0a3
mov rcx, qword [rcx + 0x10]
lea r9, [0x100004c60]
lea r8, [0x100001940]
mov edx, 0x19
mov dword [rsp + 0x20], eax
call fcn.10001a3dc
jmp 0x10001c0a3
xor ebx, ebx
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x10001c0c0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rdx
xor edx, edx
mov rdi, rcx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x38]
mov esi, 0x80004005
call sub.msvcrt.dll_memset
lea rax, [rdi + 0x234]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov eax, 0x750
mov qword [rsp + 0x30], rbx
mov word [rsp + 0x40], ax
lea rax, [rdi + 0x444]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x50], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x10001c12f
xor esi, esi
jmp 0x10001c1b8
mov rcx, qword [0x100032328]
lea rbx, [0x100032328]
cmp rcx, rbx
je 0x10001c1b8
mov dil, 4
test byte [rcx + 0x1c], dil
je 0x10001c167
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001940]
mov edx, 0x1a
call fcn.10000b094
mov rcx, qword [0x100032328]
cmp rcx, rbx
je 0x10001c1b8
test byte [rcx + 0x1c], dil
je 0x10001c193
mov r9, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001940]
mov edx, 0x1b
call fcn.10000d674
mov rcx, qword [0x100032328]
cmp rcx, rbx
je 0x10001c1b8
test byte [rcx + 0x1c], dil
je 0x10001c1b8
mov r9, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001940]
mov edx, 0x1c
call fcn.10000d674
mov rbx, qword [rsp + 0x70]
mov eax, esi
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x10002060c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x20
mov edx, 4
mov rbx, rcx
lea ecx, [rdx + 0x3e]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1000207d8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbp, rax
test rax, rax
jne 0x100020662
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1000207bc
mov dword [rax], 0xffff
mov rcx, qword [rbx + 0xc8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100020777
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x1000206d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10002076f
test byte [rcx + 0x1c], 4
je 0x10002076f
mov edx, 0x28
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001830]
mov r9d, ebx
call fcn.10000b0b8
jmp 0x10002076f
mov ebx, 1
mov eax, ebx
xchg dword [0x100034dcc], eax
cmp eax, ebx
jne 0x100020701
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11d, ebx
xchg dword [0x100034dcc], r11d
cmp r11d, ebx
je 0x1000206ea
mov ecx, dword [0x100034dbc]
test ecx, ecx
jne 0x100020720
lea rcx, [0x1000073c0]
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov ecx, eax
mov dword [0x100034dbc], eax
xor eax, eax
mov rdx, rdi
xchg dword [0x100034dcc], eax
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x10002076d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x10002076f
test byte [rcx + 0x1c], 4
je 0x10002076f
mov edx, 0x29
jmp 0x1000206c1
xor ebx, ebx
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1000207bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x100032328]
lea rax, [0x100032328]
cmp rcx, rax
je 0x1000207bc
test byte [rcx + 0x1c], 4
je 0x1000207bc
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001830]
mov edx, 0x2a
mov r9d, ebx
call fcn.10000b0b8
test rbp, rbp
je 0x1000207ec
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x1000207ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1000207ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x1000207fe
test rdi, rdi
je 0x1000207fe
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x100024290
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, rcx
mov rcx, qword [rcx + 0x148]
mov edi, r8d
mov rsi, rdx
xor ebx, ebx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1000242f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x100032328]
lea rdx, [0x100032328]
cmp rcx, rdx
je 0x100024372
test byte [rcx + 0x1c], 4
je 0x100024372
mov edx, 0x18
lea r9, [0x100007608]
jmp 0x10002435e
call qword [sym.imp.USER32.dll_CountClipboardFormats]
cmp edi, eax
jb 0x10002438e
xor ecx, ecx
jmp 0x100024317
cmp ebx, edi
jae 0x100024321
mov dword [rsi], eax
inc ebx
mov ecx, eax
add rsi, 4
call qword [sym.imp.USER32.dll_EnumClipboardFormats]
test eax, eax
jne 0x100024309
mov dword [rbp + 0x138], ebx
call qword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x10002438a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x100032328]
lea rdx, [0x100032328]
cmp rcx, rdx
je 0x100024372
test byte [rcx + 0x1c], 4
je 0x100024372
mov edx, 0x19
lea r9, [0x100007638]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001810]
mov dword [rsp + 0x20], eax
call fcn.10001a3dc
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
test eax, eax
js 0x1000243c7
mov eax, 0x80004005
jmp 0x1000243c7
xor eax, eax
jmp 0x1000243c7
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, qword [0x100032328]
lea rdx, [0x100032328]
cmp rcx, rdx
je 0x1000243c2
test byte [rcx + 0x1c], 4
je 0x1000243c2
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001810]
mov edx, 0x1a
call fcn.10000b094
mov eax, 0x8007007a
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x10002e370
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100032110]
jne 0x10002e38b
rol rcx, 0x10
test cx, 0xffff
jne 0x10002e387
ret 0
ror rcx, 0x10
jmp 0x10002e73c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100032420]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x100032518]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10002e7c1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100032420]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x10002e7e3
mov rax, qword [rsp + 0x88]
mov qword [0x100032518], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1000324b8], rax
mov rax, qword [0x100032518]
mov qword [0x100032390], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1000324a0], rax
mov dword [0x100032380], 0xc0000409
mov dword [0x100032384], 1
mov rax, qword [0x100032110]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100032118]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1000016d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x10002e5d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10002e625
cmp rcx, 0xffffffffffffffff
je 0x10002e625
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10002e61d
cmp dword [rcx + 0x3c], edx
jl 0x10002e61d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10002e61d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x10002e625
mov rax, rdx
add rsp, 0x18
ret