joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011ec74
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rbx, rcx
mov ecx, 0x104
xor edi, edi
mov rbp, rdx
cmp eax, ecx
ja 0x14011ee43
je 0x14011ee69
cmp eax, 0xa1
jb 0x14011eeb9
cmp eax, 0xa2
jbe 0x14011ee69
cmp eax, 0xa3
jbe 0x14011eeb9
cmp eax, 0xa5
jbe 0x14011ee69
cmp eax, 0xa6
jbe 0x14011eeb9
cmp eax, 0xa8
jbe 0x14011ee69
cmp eax, 0x100
jne 0x14011eeb9
cmp dword [rbx + 0x154], 0xffffffff
je 0x14011ee69
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14011ee69
mov rax, qword [rbp + 0x10]
sub rax, 0x21
je 0x14011edc4
cmp rax, 1
jne 0x14011ee69
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx + 1]
add ecx, dword [rbx + 0x150]
cmp ebp, ecx
jge 0x14011edba
mov eax, ebp
mov rcx, rbx
cdq
idiv dword [rbx + 0x150]
mov rax, qword [rbx]
mov r14d, edx
call qword [rax + 0x4f8]
test eax, eax
jne 0x14011ed73
mov eax, dword [rbx + 0x150]
inc ebp
add eax, dword [rbx + 0x154]
cmp ebp, eax
jl 0x14011ed43
jmp 0x14011edba
mov r8, qword [rbx]
mov edx, r14d
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
call qword [r8 + 0x428]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x420]
mov rcx, rax
call fcn.140019c60
mov r8, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
call qword [r8 + 0x4e0]
mov dword [rbx + 0x3b8], edi
mov eax, 1
jmp 0x14011eee7
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx - 1]
add ebp, dword [rbx + 0x150]
cmp ebp, ecx
jle 0x14011edba
mov eax, ebp
mov rcx, rbx
cdq
idiv dword [rbx + 0x150]
mov rax, qword [rbx]
mov r14d, edx
call qword [rax + 0x4f8]
test eax, eax
jne 0x14011edff
dec ebp
cmp ebp, dword [rbx + 0x154]
jg 0x14011edd7
jmp 0x14011edba
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
call qword [rax + 0x428]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x420]
mov rcx, rax
call fcn.140019c60
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
call qword [rax + 0x4e0]
jmp 0x14011edb4
cmp eax, 0x200
jb 0x14011eeb9
cmp eax, 0x202
jbe 0x14011ee69
cmp eax, 0x203
jbe 0x14011eeb9
cmp eax, 0x205
jbe 0x14011ee69
add eax, 0xfffffdf9
cmp eax, 1
ja 0x14011eeb9
mov rcx, qword [rbx + 0x1c0]
mov r14d, 0x407
test rcx, rcx
je 0x14011ee94
cmp qword [rcx + 0x40], rdi
je 0x14011ee94
mov rcx, qword [rcx + 0x40]
mov r9, rbp
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x14011eeb9
cmp qword [rcx + 0x40], rdi
je 0x14011eeb9
mov rcx, qword [rcx + 0x40]
mov r9, rbp
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rbp + 8], 0x203
jne 0x14011eedc
lea rax, [rbx + 0x3208]
test rax, rax
je 0x14011eed2
mov rdi, qword [rax + 0x40]
cmp qword [rbp], rdi
je 0x14011edba
mov rdx, rbp
mov rcx, rbx
call fcn.14009cc4c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14013123c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1402899b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
cmp r8, 0x20
jne 0x1401312e2
mov rcx, qword [rcx + 0x40]
lea rdx, [rsp + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x28]
lea rdx, [rsp + 0x20]
add eax, 4
mov rcx, rbx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x2c]
add eax, 0x17
mov dword [rsp + 0x24], eax
call fcn.140132460
mov rcx, rbx
call fcn.1401316f4
mov rcx, qword [rbx + 0x40]
mov edx, 0xec1a
call qword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14019fa40
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor esi, esi
cmp dword [rcx + 0x458], esi
jne 0x140131301
cmp r8, 0x79
je 0x1401312f8
cmp r8, 0x12
jne 0x1401312fd
mov esi, 1
mov eax, esi
jmp 0x1401312c1
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebp, ax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
shr ebp, 0xf
and ebp, 1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and eax, 1
cmp rdi, 0x12
je 0x140131336
cmp rdi, 0x79
jne 0x1401312b0
cmp qword [0x1402972c8], rsi
jne 0x1401312bf
test byte [rbx + 0x478], 2
jne 0x1401312bf
cmp rdi, 0x12
je 0x14013136c
cmp rdi, 0x79
jne 0x1401312bf
test ebp, ebp
jne 0x1401312bf
test eax, eax
jne 0x1401312bf
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.1400113cc
cmp rax, rbx
jne 0x140131391
bt r15, 0x1e
jb 0x140131391
cmp rdi, 0x79
jne 0x1401313a1
mov rcx, r14
jmp 0x14013139a
cmp rdi, 0x79
jne 0x1401313a1
mov rcx, rbx
call fcn.140019c60
jmp 0x1401313c1
cmp dword [rbx + 0x414], esi
jge 0x1401313c1
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov edx, 0xec1a
mov r8d, 0xc8
call qword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
jmp 0x1401312c1
Function at 0x140154400
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140299358]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402908dc]
test eax, eax
je 0x14015444b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402908dc]
test eax, eax
jne 0x140154454
call fcn.140017360
test eax, eax
je 0x140154470
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402880b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140154478
xor eax, eax
jmp 0x1401544d5
test rbx, rbx
jne 0x140154498
lea rcx, str.ChooseColorW
call fcn.140036884
mov rbx, rax
test rax, rax
je 0x1401544a3
mov qword [0x140299358], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1401544b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401544ba
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401544d3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14015bec0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
call fcn.140019884
test eax, eax
je 0x14015bff4
cmp dword [rbx + 0xb28], 0
je 0x14015bf10
and dword [rbx + 0x124], 0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
jmp 0x14015bff9
call fcn.14003385c
mov rcx, qword [rax + 8]
call fcn.14000df94
nop
mov rcx, qword [rbx + 0xb30]
sub rcx, 0x18
call fcn.14000d990
add rax, 0x18
mov qword [rsp + 0x60], rax
cmp dword [rax - 0x10], 0
jne 0x14015bf4b
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140011af0
lea rdx, [rbx + 0xb38]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.14004a3a4
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rax]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14015bf9e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rbx + 0xb2c], 1
and dword [rbx + 0x124], 0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14015bfea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x58]
call fcn.14000e9cc
mov eax, 1
add rsp, 0x40
pop rbx
ret
Function at 0x140167240
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov rdi, rcx
xor eax, eax
cmp qword [0x1402940e8], rax
setne al
test eax, eax
jne 0x140167271
call fcn.140019dcc
int3
lea r8, [rbp + 0x77]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x14016728a
xor eax, eax
jmp 0x1401673f8
lea rcx, [rbp + 0x7f]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x140167283
mov dword [rbp - 0x59], 0x67
mov edx, 0x18
lea ecx, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1401672c2
call fcn.140019dcc
int3
mov rax, qword [rbp + 0x77]
mov qword [rbx + 0x10], rax
mov rdx, qword [rbp + 0x77]
mov rcx, qword [0x1402940e8]
call fcn.14002f598
mov qword [rbx + 8], rax
and qword [rbx], 0
mov qword [rbp - 0x29], rbx
mov rax, qword [rdi]
mov r8, rbx
lea rdx, [rbp + 0x6f]
mov rcx, rdi
call qword [rax + 0x2c8]
nop
mov rax, qword [rbp + 0x6f]
mov edx, dword [rax - 0x10]
test edx, edx
jns 0x140167310
mov ecx, 0x80070057
call fcn.14000c138
int3
mov r8d, 1
sub r8d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edx
or ecx, r8d
jge 0x140167331
lea rcx, [rbp + 0x6f]
call fcn.14000ccf8
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x41], rax
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x2d0]
mov dword [rbp - 0x35], eax
mov rax, qword [rdi]
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x2d0]
mov dword [rbp - 0x31], eax
mov dword [rbp - 0x2d], 1
movups xmm0, xmmword [rbp - 0x59]
movaps xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x49]
movaps xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rbp - 0x39]
movaps xmmword [rbp + 0x17], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp + 0x27], xmm1
mov qword [rbp - 0x11], 0xffffffffffff0002
mov qword [rbp - 0x19], 0xffffffffffff0000
lea r9, [rbp - 0x19]
xor r8d, r8d
mov edx, 0x1132
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rax
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1401673f3
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
Function at 0x140169a2c
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov bl, r8b
movzx ebp, dx
mov rdi, rcx
call qword [rax + 0x2f0]
mov ecx, ebp
mov edx, 2
mov esi, eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test bl, bl
jne 0x140169a83
test esi, esi
js 0x140169a83
cmp ax, 0x20
je 0x140169a75
cmp bp, 0x71
jne 0x140169a83
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax + 0x320]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14016d9b4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r12
mov rax, qword [0x1402899b0]
xor rax, rbp
mov qword [rbp], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r12, rcx
test rdx, rdx
jne 0x14016d9f8
xor eax, eax
jmp 0x14016db25
test r8, r8
je 0x14016d9f1
call fcn.14003385c
mov r8, rdi
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14016d9f1
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14016d9f1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14016db4b
mov rcx, rax
call fcn.1401ad1c0
lea r15d, [rax + 1]
lea ecx, [r15 + r15]
movsxd r8, ecx
lea rdx, [r8 + 0x10]
cmp r8, rdx
sbb rcx, rcx
test rdx, rcx
je 0x14016dade
lea rcx, [r8 + 0x10]
cmp r8, rcx
sbb rax, rax
and rax, rcx
cmp rax, 0x400
lea rax, [r8 + 0x10]
ja 0x14016dabc
cmp r8, rax
sbb rcx, rcx
and rcx, rax
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x14016da9a
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14019f9d0
sub rsp, rax
lea rdi, [rsp + 0x20]
test rdi, rdi
je 0x14016db51
mov dword [rdi], 0xcccc
jmp 0x14016dad8
cmp r8, rax
sbb rcx, rcx
and rcx, rax
call fcn.1401ab794
mov rdi, rax
test rax, rax
je 0x14016dae1
mov dword [rax], 0xdddd
add rdi, 0x10
jmp 0x14016dae1
mov rdi, rbx
test rdi, rdi
je 0x14016db51
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call fcn.14001af4c
test rax, rax
je 0x14016db09
mov rdx, rax
mov rcx, r12
call fcn.140170178
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x14016db23
call fcn.1401a8974
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.14019fa40
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop rbp
ret
call fcn.140019dcc
int3
call fcn.140019dcc
int3
Function at 0x14019ed08
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14029a668]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402908dc]
test eax, eax
je 0x14019ed53
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402908dc]
test eax, eax
jne 0x14019ed5c
call fcn.140017360
test eax, eax
je 0x14019ed78
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402880b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14019ed80
xor eax, eax
jmp 0x14019eddd
test rbx, rbx
jne 0x14019eda0
lea rcx, str.PrintDlgW
call fcn.140036884
mov rbx, rax
test rax, rax
je 0x14019edab
mov qword [0x14029a668], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14019edc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14019edc2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14019eddb
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14019f1b8
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14019f249
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14019f249
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14019f249
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14019f22d
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14019f227
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14019f22f
add rdx, 0x28
jmp 0x14019f20c
xor edx, edx
test rdx, rdx
jne 0x14019f238
xor al, al
jmp 0x14019f24f
test dword [rdx + 0x24], 0x80000000
je 0x14019f245
xor al, al
jmp 0x14019f24f
mov al, 1
jmp 0x14019f24f
xor al, al
jmp 0x14019f24f
add rsp, 0x18
ret
Function at 0x1401a1dbc
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402899b0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rcx
xor r15d, r15d
cmp qword [rcx + 0x68], r15
je 0x1401a1f46
cmp byte [rcx + 0x72], r15b
je 0x1401a1f46
mov rax, qword [rcx]
mov edi, 0xffff
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1401a0028
movzx edx, di
mov rcx, r12
call rbx
cmp di, ax
jne 0x1401a1e33
xor al, al
jmp 0x1401a1f48
mov edx, SafeArrayGetDim
mov qword [rbp - 0x18], rdx
xor ecx, ecx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x20], 8
lea rax, [rbp - 0x30]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], r15b
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
lea r9, [rbp - 0x30]
cmp rdx, 0x10
cmovae r9, r8
lea r14, [rbp - 0x30]
cmovae r14, r8
mov rsi, qword [r12 + 0x68]
mov rdx, qword [rsi]
mov rbx, qword [rbp - 0x20]
add rbx, r9
mov rdi, qword [rdx + 0x40]
mov rcx, rdi
call fcn.1401a0028
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
lea rdx, [r12 + 0x74]
mov rcx, rsi
call rdi
mov ecx, eax
test eax, eax
je 0x1401a1eb7
sub ecx, 1
jne 0x1401a1f2b
jmp 0x1401a1ebc
mov byte [r12 + 0x72], r15b
lea rax, [rbp - 0x30]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
cmovae rax, r8
mov rbx, qword [rbp - 0x40]
sub rbx, rax
je 0x1401a1f07
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r8
mov r9, qword [r12 + 0x80]
mov r8, rbx
mov edx, 1
call fcn.1401a85b0
cmp rbx, rax
jne 0x1401a1f33
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x30]
cmp byte [r12 + 0x72], r15b
je 0x1401a1f30
test rbx, rbx
jne 0x1401a1e62
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.140005698
jmp 0x1401a1e5a
cmp ecx, 2
jne 0x1401a1f33
mov r15b, 1
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.14000526c
mov al, r15b
jmp 0x1401a1f48
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14019fa40
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1401b8de8
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1401b8bbc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401b8bbc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401b8bbc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401b8bbc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401b8bbc
cmp dword [rcx + 0x84], 0xe
jbe 0x1401b8bbc
cmp dword [rcx + 0xf8], esi
je 0x1401b8bbc
mov ecx, r14d
call fcn.1401b8d04
mov ecx, 2
call fcn.1401ba8e4
nop
cmp byte [0x14029b9c0], 0
jne 0x1401b8c86
mov r15d, 1
mov eax, r15d
xchg dword [0x14029b9b4], eax
test ebx, ebx
jne 0x1401b8c2f
mov rdi, qword [0x1402899b0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14029b9b8]
cmp rcx, rax
je 0x1401b8c26
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400d47f8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14029b9d0]
jmp 0x1401b8c3b
cmp ebx, r15d
jne 0x1401b8c41
lea rcx, [0x14029b9e8]
call fcn.1401ba650
nop
test ebx, ebx
jne 0x1401b8c58
lea rdx, [0x1401daa98]
lea rcx, [0x1401daa78]
call fcn.1401b8a7c
lea rdx, [0x1401daaa8]
lea rcx, [0x1401daaa0]
call fcn.1401b8a7c
movzx eax, byte [0x14029b9c0]
test esi, esi
cmove eax, r15d
mov byte [0x14029b9c0], al
jmp 0x1401b8c86
mov ecx, 2
call fcn.1401ba938
test esi, esi
jne 0x1401b8c9d
mov ecx, r14d
call fcn.1401b8cb8
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401b8b4c
Function at 0x1401be4e0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401be346
call fcn.1401a78e8
mov dword [rax], 0x16
call fcn.1401a7530
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401be328
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1401be328
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x1401be378
lock or dword [rax + 0x14], 0x10
jmp 0x1401be328
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1401be395
mov rcx, qword [rbp + 0x20]
call fcn.1401beb74
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x1401be3aa
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x1401be3b0
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1401b75d0
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1401c2bf0
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x1401be403
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x1401be328
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1401be46f
mov rcx, qword [rbp + 0x20]
call fcn.1401b75d0
cmp eax, 0xffffffff
je 0x1401be456
mov rcx, qword [rbp + 0x20]
call fcn.1401b75d0
cmp eax, 0xfffffffe
je 0x1401be456
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1401b75d0
movsxd rdi, eax
lea r15, [0x14029bdd0]
mov rcx, rbx
sar rdi, 6
call fcn.1401b75d0
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x1401be45d
lea rax, [0x140289f60]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401be46f
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x1401be4a5
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1401be4a1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1401be4a1
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x1401be4c3
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x1401be4ce
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x1401be32d
jmp 0x1401be2f4
Function at 0x140005000
Capabilities:
Encode data using xor

Disassembly:
add byte [rax], al
mov esi, 0x1b9ce214
ffree st(7)
fnstenv [rsp - 0xc]
pop rbp
xor ecx, ecx
mov cx, 0x3c0
xor dword [rbp + 0x17], esi
add esi, dword [rbp + 0x17]
sub ebp, 0xfffffffc
loop 0x140004ffe
pop rax
mov edi, 0x1abf01af
adc eax, 0x5ebecbc8
mov edi, 0xcbc8151a
mov esi, 0x761ab15e
clc
enter 0xffffffffffffbecb, 0x5e
mov cl, 0x1a
jbe 0x140005024
cld
in al, 0x8b
xor al, 0xad
add byte [rdi], cl
cmc
push rbp
pop rsp
call 0xf7d0c1d0
add dword [rax - 0x401a561d], 0xbe779b80
fsubr qword [rax - 0x3105bd85]
sal byte [rdx + 0x4f], 1
jns 0x140005021
rol byte [rcx], cl
push 0xfffffffff66398fc
jno 0x1400050ad
xor dh, byte [rdi + 0x78]
ja entry0
ja 0x14000502a
insd dword [rdi], dx
xor eax, 0x4104e5b8
invalid
push rdi
xchg byte [rbp - 2], bh
cmp cl, byte [rbx + 0x6034e56e]
movabs qword [0xd6c28014b1d35afe], rax
cmpsb byte [rsi], byte [rdi]
outsd dx, dword [rsi]
clc
imul esp, dword [rbx - 0x5485eb9a], 0xfffffffe
pop rdx
or byte [rdx + 0x431b4e6d], al
outsb dx, byte [rsi]
sbb esi, dword [rsi]
mov ebp, 0x9876726f
invalid