joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b480
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x850
mov ebp, r9d
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x848], rax
call qword [sym.imp.USER32.dll_GetDC]
mov r15, rax
mov rcx, rdi
mov edx, 0x31
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14001b4dd
mov rcx, r15
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r8d, dword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
mov rdx, rsi
jb 0x14001b502
mov rdx, qword [rsi]
lea r9, [rsp + 0x38]
mov rcx, r15
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
xor ebx, ebx
test eax, eax
je 0x14001b5a0
lea r12, [rsp + 0x40]
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea r9, [rsp + 0x30]
mov rcx, r15
mov rdx, r12
mov r8d, eax
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x14001b5a0
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
sub eax, ecx
js 0x14001b5a0
mov r8d, dword [rsp + 0x8b0]
mov edx, dword [r14]
mov r9d, dword [r14 + 8]
add ecx, edx
mov ebx, r9d
sub ebx, ecx
test r8d, r8d
cmovne ebx, r8d
add ebx, eax
test bpl, bpl
je 0x14001b576
sub edx, ebx
mov dword [r14], edx
jmp 0x14001b57d
add r9d, ebx
mov dword [r14 + 8], r9d
mov r8d, dword [r14 + 4]
mov eax, dword [r14 + 0xc]
sub eax, r8d
sub r9d, edx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_MoveWindow]
mov rax, qword [rsi + 0x18]
cmp rax, 8
jb 0x14001b5e1
mov rcx, qword [rsi]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14001b5dc
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14001b61a
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.14001ebb8
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 7
mov word [rsi], 0
mov rcx, qword [rsp + 0x848]
xor rcx, rsp
call fcn.14001fad0
mov eax, ebx
add rsp, 0x850
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14001b630
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov byte [r8], 0
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000002
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x14001b689
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000001
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x14001b689
xor edi, edi
jmp 0x14001b6dc
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov dword [rax], 4
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor edi, edi
lea r9, [rsp + 0x44]
mov rdx, rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001b6d1
cmp dword [rsp + 0x44], 4
jne 0x14001b6d1
cmp dword [rsp + 0x34], 1
sete byte [rsi]
mov dil, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001fad0
mov eax, edi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x14001bab0
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x870
mov rsi, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x868], rax
mov edx, 0x3f6
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov rcx, rdi
mov edx, 0x31
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14001bb15
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea r14, [rsp + 0x38]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
xor ecx, ecx
mov rdx, rsi
mov r8, r14
mov r9d, 2
call qword [sym.imp.USER32.dll_MapWindowPoints]
lea r14, [rsp + 0x60]
mov rcx, rdi
mov rdx, r14
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea r9, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
mov r8d, eax
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x14001bbb2
mov eax, dword [rsp + 0x48]
mov ebp, dword [rsp + 0x38]
mov ebx, dword [rsp + 0x40]
sub ebx, ebp
cmp eax, ebx
jl 0x14001bbb2
cvtsi2ss xmm0, eax
cvtsi2ss xmm1, ebx
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
imul eax, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x3c]
mov r14d, r8d
sub r14d, dword [rsp + 0x44]
add r14d, eax
test r14d, r14d
jg 0x14001bbd5
mov rcx, qword [rsp + 0x868]
xor rcx, rsp
call fcn.14001fad0
nop
add rsp, 0x870
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r12d, 1
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], eax
mov r15, qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, rdi
mov edx, ebp
mov r9d, ebx
call r15
mov rdi, qword [0x140036420]
mov rcx, qword [rdi + 8]
call fcn.140023dd0
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [0x140036428], 0
lea rdi, [rsp + 0x34]
mov dword [rdi], 0x3ed
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.14001cad0
mov dword [rdi], 0x3f4
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x34]
call fcn.14001cad0
lea rdi, [rsp + 0x50]
mov rcx, rsi
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
add r14d, dword [rdi + 0xc]
mov dword [rdi + 0xc], r14d
mov edx, dword [rdi]
mov r8d, dword [rdi + 4]
sub r14d, r8d
mov r9d, dword [rdi + 8]
sub r9d, edx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r14d
mov rcx, rsi
call r15
lea rdx, [0x14002f7f0]
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.140025450
lea rdx, [0x14002f7f4]
mov rcx, rsi
call fcn.140025450
lea rdx, [0x14002f7f8]
mov rcx, rsi
call fcn.140025450
lea rdx, [0x14002f7fc]
mov rcx, rsi
call fcn.140025450
lea rdx, [0x14002f800]
mov rcx, rsi
call fcn.140025450
lea rdx, [0x14002f804]
mov rcx, rsi
call fcn.140025450
lea rdx, [0x14002f808]
mov rcx, rsi
call fcn.140025450
lea rdx, [0x14002f80c]
mov rcx, rsi
call fcn.140025450
jmp 0x14001bbb2
Function at 0x14001c970
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov eax, 0x9cc0
call fcn.14001fb00
sub rsp, rax
movaps xmmword [rsp + 0x9cb0], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x9ca8], rax
lea rdx, [rsp + 0x4e80]
mov r8d, 0x2711
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rbx, [rsp + 0x4c]
lea r14, [rsp + 0x48]
mov rcx, rdi
mov edx, 0xb0
mov r8, rbx
mov r9, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, dword [r14]
mov eax, dword [rbx]
mov edi, 0xfffffffe
cmp r9d, eax
je 0x14001ca48
sub r9d, eax
lea r8, [rsp + rax*2]
add r8, 0x4e80
lea rdi, [rsp + 0x50]
mov edx, 0x2711
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov eax, dword [rsp + 0x48]
sub eax, dword [rsp + 0x4c]
mov word [rsp + rax*2 + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, rdi
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
not edi
xorps xmm6, xmm6
movups xmmword [rsp + 0x30], xmm6
xor r14d, r14d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r15, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8, [rsp + 0x4e80]
mov ecx, 0xfde9
xor edx, edx
mov r9d, 0xffffffff
call r15
mov ebx, eax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov ecx, 0xfde9
xor edx, edx
mov r8, rsi
mov r9d, 0xffffffff
call r15
mov esi, eax
add ebx, edi
add esi, ebx
mov rcx, qword [rsp + 0x9ca8]
xor rcx, rsp
call fcn.14001fad0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x9cb0]
add rsp, 0x9cc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140022650
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x14002270c
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x14002270c
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xffffffff
call qword [0x140038010]
cmp eax, 0xffffffff
je 0x14002270a
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], r8
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [0x140038010]
cmp eax, 3
je 0x140022723
cmp eax, 1
je 0x1400226d9
test eax, eax
jne 0x14002270a
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x140022700
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14002270a
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x14002270c
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001fad0
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x71], 0
mov dil, 1
jmp 0x14002270c
Function at 0x421300
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x005ff114], 0
jne 0x421465
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
sub rdx, qword [rbx + 0x18]
nop
test rdx, rdx
jne 0x42140e
xor eax, eax
nop
nop
nop
mov rcx, rax
shr rax, 3
and rcx, 7
mov edx, 1
shl edx, cl
nop
add rax, qword [rbx + 0x50]
lock or byte [rax], dl
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x42145a
lea rbx, [0x005f66e0]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and rdx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and rax, 7
mov rcx, rax
mov esi, 1
shl esi, cl
test sil, bl
jne 0x4213cf
lock or byte [rdx], sil
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
mov rcx, qword [rsp + 0x30]
add qword [rax + 0x16a8], rcx
mov rcx, qword [rsp + 0x38]
add qword [rax + 0x16b0], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
cmp word [rbx + 0x5e], 0
je 0x42142a
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
shr rdx, cl
and rax, rdx
jmp 0x421335
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
movzx esi, byte [rbx + 0x66]
cmp sil, 0x40
sbb rdi, rdi
shr rdx, cl
and rax, rdx
movzx edx, word [rbx + 0x5c]
imul rax, rdx
mov ecx, esi
shr rax, cl
and rax, rdi
jmp 0x421335
mov ecx, 0x40
nop
call fcn.00468920
lea rax, [0x005148e0]
mov qword [rsp], rax
mov qword [rsp + 8], 0x2c
call fcn.00437340
nop
int3
Function at 0x428c00
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x428e6e
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
nop
lea rax, [0x005ff090]
mov qword [rsp], rax
call fcn.0040b140
lea rax, [0x005ff000]
mov qword [rsp], rax
call fcn.00419580
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
nop
nop
lea rcx, [0x005ff090]
mov qword [rsp], rcx
call fcn.0040b3a0
mov rax, qword [rsp + 0x48]
mov byte [rax + 0xa], 1
lea rdi, [rax + 0x10]
cmp dword [0x005ff3c0], 0
jne 0x428e5f
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x18], rcx
cmp dword [0x005ff3c0], 0
nop dword [rax]
jne 0x428e38
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00428760
cmp byte [rsp + 0x10], 0
je 0x428dd6
cmp dword [0x005ff150], 0
jne 0x428cf4
mov byte [rsp + 0x88], 1
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, qword [rsp + 0x60]
mov qword [rsp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 8], xmm0
call fcn.004145e0
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x18]
nop
inc dword [rcx + 0xd8]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x30], rcx
mov rbx, qword [rcx + 0xa0]
test byte [rbx], al
test byte [rax], al
mov qword [rsp], rdx
lea rax, [rbx + 0x1698]
mov qword [rsp + 0x38], rax
mov qword [rsp + 8], rax
call fcn.00420120
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], 8
lea rax, [0x005b6181]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], 0
call fcn.0041ff80
nop
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx + 0xd8]
lea ebx, [rdx - 1]
mov dword [rcx + 0xd8], ebx
cmp edx, 1
jne 0x428ce2
cmp byte [rax + 0xb1], 0
je 0x428ce2
mov qword [rax + 0x10], 0xfffffffffffffade
jmp 0x428ce2
nop
nop
lea rax, [0x005ff090]
mov qword [rsp], rax
call fcn.0040b140
nop
mov rax, qword [0x005ff030]
sub rax, qword [0x005ff000]
mov qword [0x005ff030], rax
mov rax, qword [0x005ff018]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
mov qword [0x005ff018], rcx
nop
nop
lea rax, [0x005ff090]
mov qword [rsp], rax
call fcn.0040b3a0
mov byte [rsp + 0x88], 0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
lea rcx, [rax + 0x20]
mov rdi, rcx
mov rbx, qword [rsp + 0x78]
call fcn.004685a0
lea rdi, [rax + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.00468560
jmp 0x428cbb
mov rcx, qword [rsp + 0x68]
call fcn.00468560
jmp 0x428c88
call fcn.00466800
jmp fcn.00428c00
Function at 0x45a060
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x45a141
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [0x00461ea0]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.004666a0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
nop
ret
call fcn.00466800
jmp fcn.0045a060
Function at 0x468300
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x402700
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call fcn.00409620
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.00466800
jmp 0x4026a0
cmp byte [0x005ff113], 0
je 0x46831f
mov rax, qword [rsp + 8]
mov rcx, qword [rax + 8]
mov rax, qword [rax]
lea rdx, [rsp + 0x18]
jmp 0x465820
jmp 0x4026a0

Function at 0x468340
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x005ff440]
nop
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*4]
xor rax, rcx
shl rcx, 0x20
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rcx, rax
mov qword [rsp + 0x18], rcx
ret
cmp byte [0x005ff113], 0
je 0x46837c
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005ff6a0]
aesenc xmm0, xmmword [0x005ff6b0]
aesenc xmm0, xmmword [0x005ff6c0]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x4098a0

Function at 0x4683a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x005ff440]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*8]
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x005ff113], 0
je 0x4683dd
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005ff6a0]
aesenc xmm0, xmmword [0x005ff6b0]
aesenc xmm0, xmmword [0x005ff6c0]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x409920

Function at 0x469c40
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005ff620]
mov qword [rsp + 8], rdx
lea r8d, [0x005ff12c]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
add rsp, 0x30
ret
Function at 0x4736e0
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rdx + 8]
lea rsi, [rbx + 0x2e]
imul rsi, rsi, 0xffffffffffffffe4
movabs rax, 0x5816058160581606
mov rcx, rdx
imul rsi
sar rdx, 5
sar rsi, 0x3f
sub rdx, rsi
lea rsi, [rdx + 0x15c]
sar rsi, 0x3f
shr rsi, 0x3d
lea rdx, [rsi + rdx]
lea rdx, [rdx + 0x15c]
sar rdx, 3
cmp rdx, 0x57
jae 0x4737b9
lea rsi, [rdx + rdx*2]
lea rdi, [0x005c2de0]
mov r8, qword [rdi + rsi*8 + 8]
lea r9, [r8 + rbx]
lea r9, [r9 + 0x40]
cmp r9, 0xffffffffffffffc4
jge 0x473762
inc rdx
nop
jmp 0x473738
cmp r9, 0xffffffffffffffe0
jle 0x47376d
dec rdx
jmp 0x473738
mov rbx, qword [rdi + rsi*8]
mov rax, qword [rcx]
mov rsi, rdx
mul rbx
shr rax, 0x3f
add rdx, rax
mov qword [rcx], rdx
mov rdx, qword [rcx + 8]
lea rdx, [rdx + r8]
lea rdx, [rdx + 0x40]
mov qword [rcx + 8], rdx
mov rcx, rsi
shl rsi, 3
lea rdx, [rsi - 0x15c]
neg rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, rdx
mov ecx, 0x57
call fcn.00468900
nop
int3
Function at 0x486200
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edx, dword [rsp + 8]
xor ebx, ebx
jmp 0x486221
movzx esi, byte [rax + rbx]
inc rbx
imul edx, edx, 0x1000193
xor edx, esi
cmp rbx, rcx
jl 0x486212
mov dword [rsp + 0x28], edx
ret
Function at 0x415f60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41610b
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430540
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x415fce
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415fe1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416005
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416019
cmp rbx, 0x1000
jae 0x415fd8
nop
jmp 0x416089
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41602d
xor edx, edx
jmp 0x416080
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430540
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x41600f
jmp 0x415ff5
call fcn.0045f800
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00435500
lea rax, [0x004cbfeb]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00435e00
mov rax, qword [rsp + 0x38]
call fcn.00435b00
lea rax, [0x004cc07b]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00435e00
mov rax, qword [rsp + 0x30]
call fcn.00435b00
call fcn.00435760
call fcn.00435580
lea rax, [0x004ce26b]
mov ebx, 0x21
call fcn.00433d80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045bc80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415f60
Function at 0x416140
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41636a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.004305c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4161bb
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4161ce
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4161f0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416204
cmp rbx, 0x1000
jae 0x4161c5
jmp 0x41628e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x416216
xor esi, esi
jmp 0x416280
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.004305c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x4161fa
jmp 0x4161e2
call fcn.0045f800
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x416309
call fcn.00435500
lea rax, [0x004cc418]
mov ebx, 0x19
call fcn.00435e00
mov rax, qword [rsp + 0x68]
call fcn.00435b00
lea rax, [0x004cc07b]
mov ebx, 0x19
nop
call fcn.00435e00
mov eax, dword [rsp + 0x34]
call fcn.00435b00
call fcn.00435760
call fcn.00435580
lea rax, [0x004c8eba]
mov ebx, 0xd
call fcn.00433d80
cmp eax, 0x5af
je 0x4162b3
call fcn.00435500
lea rax, [0x004cc418]
mov ebx, 0x19
call fcn.00435e00
mov rax, qword [rsp + 0x38]
call fcn.00435b00
lea rax, [0x004cc07b]
mov ebx, 0x19
nop dword [rax]
call fcn.00435e00
mov eax, dword [rsp + 0x34]
call fcn.00435b00
call fcn.00435760
call fcn.00435580
lea rax, [0x004cdb7c]
mov ebx, 0x1f
call fcn.00433d80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045bc80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416140