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

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x140068141]
mov ecx, 0x10
mov edx, 8
call fcn.140004750
test rax, rax
je 0x140028c8f
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140028d20]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140028c81
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140028c58
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.140004760
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.140004760
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.140039c00
ud2

Function at 0x140036cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x140036d3a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140036d30
cmp r10, r11
jb 0x140036dd3
cmp r10, rdx
ja 0x140036de7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140036d32
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140036d10
jmp 0x140036da7
ja 0x140036d3a
mov r11, r10
cmp rax, r8
jne 0x140036ce2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140036dab
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140036d80
mov r8, r10
sub ecx, r9d
jns 0x140036d9e
jmp 0x140036dad
cmp r10, rdx
je 0x140036db9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140036dad
xor al, 1
cmp r8, rdx
jne 0x140036d60
jmp 0x140036dad
xor eax, eax
jmp 0x140036dad
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuefrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140039d20
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14003a1f0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14003a170
ud2
Function at 0x140038994
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400389de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400389de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400389de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400389de
cmp dword [rcx + 0x84], 0xe
jbe 0x1400389de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400389e0
xor al, al
add rsp, 0x28
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400097a0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400097b0]
mov dword [rax], 1
mov rax, qword [0x1400097c0]
mov dword [rax], 1
mov rax, qword [0x140009740]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140009790]
mov dword [0x14000c020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140009870]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140009850]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400096f0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001820
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140001890
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000c0b4]
mov rbx, rcx
test esi, esi
jle 0x1400019c0
mov rax, qword [0x14000c0b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400018db
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001965
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400018c0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400019e2
mov rax, qword [0x14000c0b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000c0b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400019c7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000195e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001970
add dword [0x14000c0b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000c0b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000195e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400018e8
mov rax, qword [0x14000c0b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001f50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000c120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000c100]
test rbx, rbx
je 0x140001fac
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140001fa3
test rsi, rsi
je 0x140001fa3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001f88
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400021c0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400021d8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400021e0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x4187a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x418946
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.00437180
xorps xmm15, xmm15
mov r14, qword [0x0062d908]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x41880b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x418827
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
call fcn.00452480
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
test rbx, rbx
jbe 0x41884b
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x41885f
cmp rbx, 0x1000
jae 0x418815
jmp 0x4188c9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x418871
xor edx, edx
jmp 0x4188c0
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.00437180
xorps xmm15, xmm15
mov r14, qword [0x0062d908]
mov r14, qword gs:[r14]
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]
test dl, dl
jne 0x418855
jmp 0x418840
call fcn.00468460
xorps xmm15, xmm15
mov r14, qword [0x0062d908]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.0043b220
lea rax, [0x004f4b5c]
mov ebx, 0x18
call fcn.0043bac0
mov rax, qword [rsp + 0x38]
call fcn.0043b800
lea rax, [0x004f4c1c]
mov ebx, 0x19
call fcn.0043bac0
mov rax, qword [rsp + 0x30]
nop
call fcn.0043b800
call fcn.0043b460
call fcn.0043b2a0
lea rax, [0x004f784d]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.00439a60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464a20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004187a0
Function at 0x418980
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x418baa
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.00437220
xorps xmm15, xmm15
mov r14, qword [0x0062d908]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4189f9
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x418a20
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, rcx
call fcn.00452480
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
test rbx, rbx
jbe 0x418a45
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x418a59
cmp rbx, 0x1000
jae 0x418a03
nop dword [rax]
jmp 0x418ad4
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x418a6d
xor esi, esi
jmp 0x418aca
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
call fcn.00437220
xorps xmm15, xmm15
mov r14, qword [0x0062d908]
mov r14, qword gs:[r14]
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]
test sil, sil
jne 0x418a4f
jmp 0x418a34
call fcn.00468460
xorps xmm15, xmm15
mov r14, qword [0x0062d908]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x418b4c
call fcn.0043b220
lea rax, [0x004f5211]
mov ebx, 0x19
call fcn.0043bac0
mov rax, qword [rsp + 0x68]
call fcn.0043b800
lea rax, [0x004f4c1c]
mov ebx, 0x19
call fcn.0043bac0
mov eax, dword [rsp + 0x34]
call fcn.0043b800
call fcn.0043b460
call fcn.0043b2a0
lea rax, [0x004f0d0c]
mov ebx, 0xd
call fcn.00439a60
cmp eax, 0x5af
je 0x418af7
call fcn.0043b220
lea rax, [0x004f5211]
mov ebx, 0x19
call fcn.0043bac0
mov rax, qword [rsp + 0x38]
call fcn.0043b800
lea rax, [0x004f4c1c]
mov ebx, 0x19
nop
call fcn.0043bac0
mov eax, dword [rsp + 0x34]
call fcn.0043b800
call fcn.0043b460
call fcn.0043b2a0
lea rax, [0x004f709a]
mov ebx, 0x1f
call fcn.00439a60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464a20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00418980
Function at 0x423c60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x423d5e
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x423ca0
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x423d4f
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.00424780
nop dword [rax]
test rax, rax
je 0x423d4f
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x00423da0]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.004648e0
xorps xmm15, xmm15
mov r14, qword [0x0062d908]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x423d3d
xor eax, eax
jmp 0x423d47
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x423c92
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00464a20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00423c60

Function at 0x45cb80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45cc39
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x0045cc80]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.004648e0
xorps xmm15, xmm15
mov r14, qword [0x0062d908]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00464a20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045cb80
Function at 0x466ac0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403b0f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.0040a160
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464a20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403ae0
cmp byte [0x0062d70f], 0
je 0x466ad5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x463b20
jmp 0x403ae0

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40a5cf
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x28], rbx
call fcn.0040a6c0
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x0062da00]
movabs rdx, 0xa0761d6478bd642f
xor rbx, rdx
mov rax, rcx
call fcn.0040a6a0
mov rbx, rax
movabs rax, 0x1d8e4e27c47d124b
nop dword [rax]
call fcn.0040a6a0
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464a20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x40a560
cmp byte [0x0062d70f], 0
je 0x466b15
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0062dd40]
aesenc xmm0, xmmword [0x0062dd50]
aesenc xmm0, xmmword [0x0062dd60]
movq rax, xmm0
ret
jmp 0x40a560

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40a66f
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x28], rbx
call fcn.0040a700
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x0062da00]
movabs rdx, 0xa0761d6478bd642f
xor rbx, rdx
mov rax, rcx
call fcn.0040a6a0
mov rbx, rax
movabs rax, 0x1d8e4e27c47d1247
nop dword [rax]
call fcn.0040a6a0
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464a20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x40a600
cmp byte [0x0062d70f], 0
je 0x466b56
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0062dd40]
aesenc xmm0, xmmword [0x0062dd50]
aesenc xmm0, xmmword [0x0062dd60]
movq rax, xmm0
ret
jmp 0x40a600

Function at 0x4683e0
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, [0x0062dcc0]
mov qword [rsp + 8], rdx
lea r8d, [0x0062d728]
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
call fcn.00466a00
add rsp, 0x30
ret
Function at 0x468920
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46894c
call fcn.00466a00
shl rcx, 3
add rcx, 0x1480
mov qword [0x0062d908], rcx
ret
Function at 0x4a36e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a3916
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x70], rax
xor ecx, ecx
xor edx, edx
xor esi, esi
xor edi, edi
xor r8d, r8d
jmp 0x4a3723
dec rbx
mov r10, rbx
neg rbx
sar rbx, 0x3f
and ebx, 1
add rax, rbx
mov rbx, r10
mov rcx, r9
test rbx, rbx
je 0x4a38f7
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x46], r8b
movzx r9d, byte [rax]
mov byte [rsp + 0x47], r9b
cmp r9b, 0x20
jbe 0x4a3853
cmp r9b, 0x22
je 0x4a3764
cmp r9b, 0x5c
jne 0x4a3865
lea r9, [rcx + 1]
jmp 0x4a370a
mov qword [rsp + 0x48], rcx
mov r8, rcx
shr rcx, 0x3f
lea r9, [rcx + r8]
sar r9, 1
mov rax, rdi
mov rbx, rdx
mov rcx, rsi
mov rdi, r9
call fcn.004a3640
mov rdx, qword [rsp + 0x48]
bt edx, 0
jb 0x4a380b
movzx edx, byte [rsp + 0x46]
test dl, dl
je 0x4a37fc
mov r8, qword [rsp + 0x50]
cmp r8, 1
jle 0x4a37f2
mov r9, qword [rsp + 0x58]
cmp byte [r9 + 1], 0x22
jne 0x4a37ea
inc rbx
cmp rcx, rbx
jae 0x4a37db
mov edi, 1
lea rsi, [0x004d35c0]
call fcn.0044d3a0
movzx edx, byte [rsp + 0x46]
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
mov byte [rbx + rax - 1], 0x22
lea rsi, [r8 - 1]
lea r8, [r9 + 1]
jmp 0x4a3806
mov rsi, r8
mov r8, r9
jmp 0x4a3806
mov rsi, r8
mov r8, qword [rsp + 0x58]
jmp 0x4a3806
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
xor edx, 1
jmp 0x4a3839
inc rbx
cmp rcx, rbx
jae 0x4a3825
mov edi, 1
lea rsi, [0x004d35c0]
nop
call fcn.0044d3a0
mov byte [rbx + rax - 1], 0x22
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
movzx edx, byte [rsp + 0x46]
xor r9d, r9d
mov rdi, rax
mov rax, r8
mov r8d, edx
mov rdx, rbx
mov rbx, rsi
mov rsi, rcx
jmp 0x4a370a
cmp r9b, 9
je 0x4a3860
cmp r9b, 0x20
jne 0x4a3865
nop
test r8b, r8b
je 0x4a38bb
mov rax, rdi
mov rbx, rdx
mov rdi, rcx
mov rcx, rsi
call fcn.004a3640
inc rbx
cmp rcx, rbx
jae 0x4a388f
mov edi, 1
lea rsi, [0x004d35c0]
call fcn.0044d3a0
movzx r10d, byte [rsp + 0x47]
mov byte [rbx + rax - 1], r10b
mov rsi, rcx
mov rdx, rbx
xor r9d, r9d
mov rdi, rax
movzx r8d, byte [rsp + 0x46]
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
jmp 0x4a370a
mov rax, rdi
mov rbx, rdx
mov rdi, rcx
mov rcx, rsi
call fcn.004a3640
mov rsi, qword [rsp + 0x50]
dec rsi
mov rdx, rsi
neg rsi
sar rsi, 0x3f
and esi, 1
mov r8, qword [rsp + 0x58]
lea rdi, [rsi + r8]
mov rsi, rdx
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov rax, rdi
mov rbx, rdx
mov rdi, rcx
mov rcx, rsi
call fcn.004a3640
xor edi, edi
xor esi, esi
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464a20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004a36e0
Function at 0x4a4f40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a50db
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
nop dword [rax]
cmp rbx, 2
jl 0x4a5016
movzx ecx, byte [rax]
cmp byte [rax + 1], 0x3a
jne 0x4a4f9c
lea edx, [rcx - 0x30]
cmp dl, 9
jbe 0x4a4f8d
lea edx, [rcx - 0x61]
nop
cmp dl, 0x19
jbe 0x4a4f8d
lea edx, [rcx - 0x41]
cmp dl, 0x19
ja 0x4a4f9c
mov ebx, 2
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
cmp rbx, 5
jge 0x4a4fb0
xor ecx, ecx
jmp 0x4a4fc3
mov eax, ecx
call fcn.004a4de0
mov rbx, qword [rsp + 0x28]
mov ecx, eax
mov rax, qword [rsp + 0x20]
test cl, cl
jne 0x4a4fcb
xor ecx, ecx
jmp 0x4a5005
movzx ecx, byte [rax + 1]
mov eax, ecx
call fcn.004a4de0
test al, al
jne 0x4a4fe8
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
jmp 0x4a5005
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + 2]
call fcn.004a4de0
xor eax, 1
mov rbx, qword [rsp + 0x28]
mov ecx, eax
mov rax, qword [rsp + 0x20]
test cl, cl
je 0x4a5024
cmp byte [rax + 2], 0x2e
je 0x4a5024
mov ecx, 3
jmp 0x4a5044
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, qword [rsp + 8]
inc rcx
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
lea rdx, [rbx - 1]
cmp rcx, rdx
jge 0x4a5024
mov qword [rsp + 8], rcx
movzx edx, byte [rcx + rax]
mov eax, edx
call fcn.004a4de0
nop dword [rax]
test al, al
je 0x4a5032
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
movzx eax, byte [rdx + rcx + 1]
call fcn.004a4de0
test al, al
jne 0x4a5024
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
movzx edx, byte [rcx + rax + 1]
cmp dl, 0x2e
je 0x4a5024
inc rcx
jmp 0x4a50a2
mov rcx, qword [rsp + 8]
inc rcx
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
cmp rdx, rcx
jle 0x4a50ce
mov qword [rsp + 8], rcx
movzx edx, byte [rcx + rax]
mov eax, edx
call fcn.004a4de0
nop dword [rax]
test al, al
je 0x4a5095
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov rbx, rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464a20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004a4f40