joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a7cec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, qword [rdx + 0x10]
mov rdi, rdx
mov rbp, rcx
jne 0x1400a7d63
mov rcx, qword [rdi + 8]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400a7d33
call fcn.140042154
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x1400a7d4d
call fcn.140042154
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x1400a7d63
call fcn.140042154
call fcn.1400413a0
cmp qword [rax + 0x68], 0
je 0x1400a7d7d
mov rdx, rbx
mov rcx, rbp
call fcn.1400a71ac
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.1400a7fdc
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400a7da4
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400a7db3
mov rbx, rsi
mov qword [rbp + 0xf8], rsi
or dword [rdi + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b3b78
Capabilities:
Get graphical window text

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, 0x20
mov rdi, r8
mov rbx, rcx
call fcn.1400b3cb8
xor r14d, r14d
mov esi, 1
mov rbp, rax
mov dword [rbx + 0x14], esi
mov rcx, rax
cmp dword [rbx], r14d
je 0x1400b3c2d
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rbx, eax
test eax, eax
js 0x1400b3c50
mov rcx, qword [rdi]
mov edx, dword [rcx - 0xc]
sub esi, dword [rcx - 8]
sub edx, ebx
or esi, edx
jge 0x1400b3bdc
mov edx, ebx
mov rcx, rdi
call fcn.1400392e4
mov rdx, qword [rdi]
cmp ebx, dword [rdx - 0xc]
jg 0x1400b3c50
mov dword [rdx - 0x10], ebx
lea r8d, [rbx + 1]
mov rax, qword [rdi]
mov rcx, rbp
mov word [rax + rbx*2], r14w
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x1400b3c09
mov eax, r14d
jmp 0x1400b3c16
movsxd rdx, dword [rcx - 0xc]
call fcn.1401d9874
test eax, eax
js 0x1400b3c50
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x1400b3c50
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], r14w
jmp 0x1400b3c35
mov rdx, qword [rdi]
call fcn.14005074c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, 0x80070057
call fcn.140038864
int3
Function at 0x1400b3d0c
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0xd0
mov rax, qword [0x1402998f8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbp, r8
lea r15, [r11 + 0x28]
mov rdi, rcx
call fcn.1400b3cb8
cmp dword [rdi], 0
mov rsi, rax
mov dword [rdi + 0x14], 1
je 0x1400b3da1
mov rbx, qword [r15]
lea rdx, [rsp + 0x40]
mov r8d, 0x40
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r9, rbx
lea rcx, [rsp + 0x40]
mov r8, rbp
mov edx, 0x40
call fcn.1400b3e64
cmp eax, 1
je 0x1400b3e1a
mov ecx, dword [rsp + 0x118]
or r8d, 0xffffffff
xor edx, edx
call fcn.140040af4
mov rcx, rdi
call fcn.1400b3c5c
jmp 0x1400b3e1a
call fcn.1401d7c5c
mov ebx, dword [rax]
call fcn.1401d7c5c
and dword [rax], 0
call fcn.1400078a8
mov r9d, 0x3f
mov qword [rsp + 0x30], r15
and qword [rsp + 0x28], 0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rcx, qword [rax]
lea r8d, [r9 + 1]
call fcn.1401d6eac
call fcn.1401d7c5c
cmp dword [rax], 0
je 0x1400b3e06
call fcn.1401d7c5c
cmp dword [rax], 0
je 0x1400b3e0d
cmp dword [rax], 0xc
je 0x1400b3e4e
cmp dword [rax], 0x16
je 0x1400b3e43
cmp dword [rax], 0x22
je 0x1400b3e43
cmp dword [rax], 0x50
jne 0x1400b3e38
jmp 0x1400b3e0d
call fcn.1401d7c5c
mov dword [rax], ebx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14005074c
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401c17d0
add rsp, 0xd0
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140038864
int3
mov ecx, 0x80070057
call fcn.140038864
int3
mov ecx, 0x8007000e
call fcn.140038864
int3

Function at 0x1400b89bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
test r8, r8
jne 0x1400b89e7
call fcn.1400413a0
mov rbx, qword [rax + 0x18]
lea r8, [0x14021a298]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400b8a40
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400b8a40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x1400b8a40
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, rbp
mov r8d, eax
call fcn.1400b8a58
jmp 0x1400b8a42
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400eaab0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1402998f8]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
mov esi, r8d
mov r14, rdx
mov rbx, rcx
mov edi, 0xfffffffd
mov dword [rcx + 0xd4], r15d
cmp dword [rcx + 0xc8], r15d
je 0x1400eab50
test r8d, r8d
jne 0x1400eab50
cmp dword [rcx + 0xcc], r15d
jne 0x1400eab50
mov eax, dword [rcx + 0x24]
dec eax
cmp eax, edi
ja 0x1400eab46
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], r15
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [r14 + 0x40]
lea rdx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbx + 0x108]
call qword [sym.imp.USER32.dll_PtInRect]
mov dword [rbx + 0xd4], eax
test eax, eax
je 0x1400ead1c
jmp 0x1400eab50
mov dword [rcx + 0xd4], 1
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x1e0]
call qword [case.0x14005c10a.0]
test eax, eax
je 0x1400eaba0
test esi, esi
jne 0x1400eaba0
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], r15
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [r14 + 0x40]
lea rdx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbx + 0x118]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1400ead1c
cmp dword [rbx + 0xd4], r15d
jne 0x1400eabc8
mov eax, dword [rbx + 0x24]
dec eax
cmp eax, edi
ja 0x1400eabc8
cmp dword [rbx + 0xc8], r15d
jne 0x1400eabc8
cmp dword [rbx + 0xe0], r15d
je 0x1400ead1c
mov rdx, qword [rbx + 0x80]
lea rcx, str._bn__
call fcn.14004db90
mov rdi, rax
mov rax, qword [rbx + 0xc0]
test rax, rax
je 0x1400eac18
mov dword [rax + 0x1f0], r15d
mov rcx, qword [rbx + 0xc0]
mov rax, qword [rcx]
mov rax, qword [rax + 0xc0]
call qword [case.0x14005c10a.0]
mov qword [rbx + 0xc0], r15
test rdi, rdi
je 0x1400eac6a
xor edx, edx
jmp 0x1400eac62
mov rdx, qword [rbx + 0x80]
lea rcx, str.CMFCPopupMenuBar
call fcn.14004db90
test esi, esi
je 0x1400eacd7
test rax, rax
je 0x1400eacd7
cmp dword [0x1402a4a8c], r15d
jne 0x1400eacd7
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.1400e7f94
test rdi, rdi
je 0x1400eac6a
mov rdx, rbx
mov rcx, rdi
call fcn.140070730
cmp qword [rbx + 0x80], r15
je 0x1400eacb2
movups xmm0, xmmword [rbx + 0x68]
movdqu xmmword [rbp - 0x20], xmm0
call fcn.140068768
lea rcx, [rbp - 0x20]
mov edx, dword [rax + 0xcc]
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
mov rcx, qword [rbx + 0x80]
lea rdx, [rbp - 0x20]
mov r9d, 0x401
xor r8d, r8d
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401c17d0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
test rdi, rdi
je 0x1400eacfe
xor edx, edx
mov rcx, rdi
call fcn.14006862c
mov rcx, rax
test rax, rax
je 0x1400eacfe
mov rax, qword [rax]
mov rax, qword [rax + 0xb0]
call qword [case.0x14005c10a.0]
mov rax, qword [rbx]
mov rdx, r14
mov rcx, rbx
mov rax, qword [rax + 0x198]
call qword [case.0x14005c10a.0]
test eax, eax
jne 0x1400eac5a
xor eax, eax
jmp 0x1400eacb7
Function at 0x1400f7bbc
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1400f7d08
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x1400f7d4a
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret

Function at 0x1400f8140
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400f820a
test rbx, rbx
je 0x1400f820a
test r9, r9
je 0x1400f820a
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400f8206
cmp dword [rsp + 0x48], 3
jne 0x1400f8206
cmp dword [rdi], eax
je 0x1400f8206
mov ecx, dword [rdi]
call fcn.140037d84
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400f81fa
cmp dword [rsp + 0x48], 3
jne 0x1400f81fa
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx]
call fcn.140037d7c
and qword [rbx], 0
xor eax, eax
jmp 0x1400f81e5
call fcn.14004c3f8
int3

Function at 0x1400f8624
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400f8635
xor eax, eax
jmp 0x1400f8663
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400f866c
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400f867d
xor eax, eax
jmp 0x1400f86a1
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1400f8b9c
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax - 0x18], 0
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1401e0324
test eax, eax
jne 0x1400f8c00
mov eax, dword [rsp + 0x30]
lea r8, str._s_s_X.tmp
mov dword [rsp + 0x28], eax
mov r9, rsi
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call fcn.14003b1c4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f8c12
jmp 0x1400f8bc0
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1400fae7c
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
xor ebp, ebp
mov rbx, rcx
mov qword [rcx + 0x58], rbp
mov rsi, rdx
mov dword [rcx + 0x60], ebp
lea ecx, [rbp + 1]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400faeb7
or dword [rbx + 0x60], 1
or dword [rbx + 0x5c], 2
jmp 0x1400faecf
mov ecx, 2
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400faecf
or dword [rbx + 0x60], 2
or dword [rbx + 0x5c], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rsi + 0x40]
mov edi, eax
call qword [sym.imp.USER32.dll_SetCapture]
mov rcx, rax
call fcn.140045b3c
jmp 0x1400fafa3
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call fcn.140045b3c
cmp rax, rsi
jne 0x1400fafac
mov r9d, 0x209
mov dword [rsp + 0x20], 1
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [r9 - 9]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400faf4b
mov r9d, 0x109
mov dword [rsp + 0x20], 1
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [r9 - 9]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400faf8c
mov eax, dword [rsp + 0x38]
cmp eax, 0x203
je 0x1400faf64
cmp eax, 0x200
jbe 0x1400faf64
cmp eax, 0x206
jb 0x1400fafac
cmp eax, 0x100
jne 0x1400faf73
cmp qword [rsp + 0x40], 0x1b
je 0x1400fafac
mov rdx, qword [rsp + 0x54]
lea rcx, [rbx + 0x48]
call qword [sym.imp.USER32.dll_PtInRect]
mov ecx, ebp
test eax, eax
sete cl
mov dword [rbx + 0x58], ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, dword [0x1402a6a64]
jbe 0x1400fafa3
mov dword [rbx + 0x58], 1
cmp dword [rbx + 0x58], ebp
je 0x1400faeee
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [rbx + 0x58]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400fc5bc
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x28]
xor ebx, ebx
cmp dword [rdi - 0x10], ebx
je 0x1400fc634
mov rsi, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
call fcn.14003f6dc
mov rcx, rax
test rax, rax
je 0x1400fc60b
mov rax, qword [rax]
mov rax, qword [rax + 0xe8]
call qword [case.0x14005c10a.0]
test rax, rax
je 0x1400fc60b
mov rcx, qword [rax + 0x40]
jmp 0x1400fc60e
mov rcx, rbx
mov dword [rsp + 0x28], 1
mov r9, rbp
mov r8, rdi
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
setae bl
mov eax, ebx
jmp 0x1400fc636
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140183538
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x310
mov rax, qword [0x1402998f8]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov qword [rsp + 0x38], rdx
mov rax, r8
mov rbx, rdx
test r8, r8
je 0x1401835b7
mov rcx, qword [rax + 8]
lea r8, [rsp + 0x40]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x208
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, rbx
lea rdx, [rsp + 0x50]
test rax, rax
jne 0x140183596
lea rdx, [0x14023f3f0]
call fcn.140037f04
mov rax, rbx
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1401c17d0
add rsp, 0x310
pop rbx
ret
call fcn.14004c3f8
int3

Function at 0x1401869dc
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov r14, r8
mov rdi, rdx
mov r8, rcx
test rdx, rdx
je 0x140186a7c
movzx eax, word [rdx]
mov r9d, ebx
test ax, ax
je 0x140186a7c
movzx eax, ax
inc r9d
add rdx, rax
movzx eax, word [rdx]
test ax, ax
jne 0x140186a0c
test r9d, r9d
je 0x140186a7c
cmp r9d, 1
jne 0x140186a3c
mov r8, r14
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x140186a95
xor eax, eax
jmp 0x140186a7f
lea esi, [r9 - 1]
mov rcx, rdi
test esi, esi
je 0x140186a58
mov edx, esi
movzx eax, word [rcx]
add bx, ax
add rcx, rax
sub rdx, 1
jne 0x140186a49
movzx edx, bx
mov rcx, r8
add edx, 2
call fcn.14018693c
movzx r8d, bx
mov rdx, rdi
mov rcx, rax
mov qword [r14], rax
call fcn.1401c75d0
mov eax, esi
jmp 0x140186a7f
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
call fcn.14004c3f8
int3
Function at 0x14019a530
Capabilities:
Encode data using xor
Hash data using fnv

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
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14019a5f1
mov esi, 0x811c9dc5
xor ebx, ebx
mov rcx, rdx
call fcn.1401d9748
mov r8, rax
mov eax, 0xcccccccd
mul r8d
shr edx, 3
inc edx
test r8d, r8d
je 0x14019a594
movzx ecx, word [rdi + rbx*2]
imul esi, esi, 0x1000193
xor esi, ecx
add ebx, edx
cmp ebx, r8d
jb 0x14019a581
mov dword [r14], esi
xor edx, edx
mov eax, esi
div dword [rbp + 0x10]
mov dword [r15], edx
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14019a5d6
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x14019a5d6
mov eax, dword [r14]
cmp dword [rbx + 8], eax
jne 0x14019a5cc
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call fcn.1401d9e08
nop
test eax, eax
je 0x14019a5d1
mov rbx, qword [rbx]
jmp 0x14019a5ae
mov rax, rbx
jmp 0x14019a5d8
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
call fcn.14004c3f8
int3

Function at 0x1401c2530
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401c257a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401c257a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401c257a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401c257a
cmp dword [rcx + 0x84], 0xe
jbe 0x1401c257a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401c257c
xor al, al
add rsp, 0x28
ret
Function at 0x1401e0df4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1401c1f40
sub rsp, rax
mov rax, qword [0x1402998f8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1401e0abc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1401e0e43
mov rax, rbp
jmp 0x1401e0f4b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x2a85f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1401eb67c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x2a85f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1401e0f47
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401e0f47
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1401eb67c
test rax, rax
js 0x1401e0f47
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1401e0f47
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1401e0f39
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1401e0f39
cmp byte [rcx], 0xd
jne 0x1401e0f1f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1401e0f2e
cmp byte [rcx + 1], 0xa
jne 0x1401e0f2e
inc rcx
jmp 0x1401e0f2e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x299ed0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1401e0f01
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1401e0f4b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401c17d0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1401e2968
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401e2758
Function at 0x1401e99d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1401e9a02
call fcn.1401d7c5c
mov dword [rax], 0x16
call fcn.1401cd640
jmp 0x1401e9b21
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401e9b21
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1401e9b21
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1401e9a31
lock or dword [rcx + 0x14], 0x10
jmp 0x1401e9b21
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1401e9a45
call fcn.1401ea98c
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1401e0abc
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1401eaea4
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1401e9b0f
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1401e9ada
mov rcx, rsi
call fcn.1401e0abc
cmp eax, edi
je 0x1401e9ac5
mov rcx, rsi
call fcn.1401e0abc
cmp eax, 0xfffffffe
je 0x1401e9ac5
mov rcx, rsi
call fcn.1401e0abc
movsxd rbx, eax
lea r14, [0x1402a85f0]
mov rcx, rsi
sar rbx, 6
call fcn.1401e0abc
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1401e9acc
lea rdx, [0x140299e80]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401e9ada
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1401e9afe
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1401e9afe
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1401e9afe
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x1401e9b24
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret