joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180163070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.1800fb440
sub rsp, rax
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov rsi, rcx
movzx r10d, byte [rax]
mov ebx, dword [r15]
lea rdi, [rax + 1]
movzx ecx, byte [rdi + 6]
mov qword [rbp - 0x18], rax
movzx eax, byte [rdi]
shl eax, 8
mov r14, rdx
movzx edx, byte [rdi + 3]
or r10d, eax
movzx eax, byte [rdi + 1]
shl ecx, 8
shl eax, 0x10
mov r12d, r8d
lea r8, [rdi + 5]
or r10d, eax
movzx eax, byte [rdi + 2]
xor r13d, r13d
shl eax, 0x18
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r15
or r10d, eax
movzx eax, byte [rdi + 4]
shl eax, 8
mov dword [rbp - 0x30], r10d
mov byte [rbp - 0x10], r10b
or edx, eax
movzx eax, byte [r8]
or ecx, eax
mov eax, r10d
shr eax, 8
shl ecx, 0x10
mov byte [rbp - 0xf], al
or edx, ecx
mov eax, r10d
shr eax, 0x10
mov dword [rbp - 0x2c], edx
mov byte [rbp - 0xc], dl
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 9], al
test r12d, r12d
je 0x18016322c
mov r15, qword [rbp - 0x28]
sub r14, rsi
movzx r8d, dl
movzx r9d, r10b
dec r12d
test ebx, ebx
jne 0x1801631c8
lea r8d, [rbx + 1]
lea rcx, [rbp - 0x30]
mov rdx, r15
call fcn.18015e980
mov r10d, dword [rbp - 0x30]
mov edx, dword [rbp - 0x2c]
movzx r9d, byte [rbp - 0x30]
movzx r8d, byte [rbp - 0x2c]
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x10], r9b
mov byte [rbp - 0xc], r8b
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
inc r13d
mov byte [rbp - 9], al
movsxd rax, ebx
inc rsi
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [rsi - 1]
inc ebx
mov byte [r14 + rsi - 1], cl
and ebx, 7
test r12d, r12d
jne 0x180163162
mov r15, qword [rbp - 0x20]
test r13d, r13d
je 0x18016322c
mov rax, qword [rbp - 0x18]
mov byte [rax], r9b
mov eax, r10d
shr eax, 8
mov byte [rdi], al
mov eax, r10d
shr r10d, 0x18
shr eax, 0x10
mov byte [rdi + 1], al
mov byte [rdi + 2], r10b
mov byte [rdi + 3], r8b
mov eax, edx
shr eax, 8
mov byte [rdi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [rdi + 5], al
mov byte [rdi + 6], dl
mov dword [r15], ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800f98f0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180173640
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r9, rcx
test rcx, rcx
je 0x180173698
movzx eax, byte [rcx]
test al, al
je 0x180173698
mov r10d, pe_nt_image_headers64
nop dword [rax + rax]
movsx edx, al
inc r9
or edx, r10d
add r10d, 0x100
mov eax, edx
shr eax, 2
xor eax, edx
and eax, 0xf
movzx ecx, al
movzx eax, byte [r9]
imul edx, edx
rol r8d, cl
xor r8d, edx
test al, al
jne 0x180173660
mov eax, r8d
shr eax, 0x10
xor eax, r8d
ret
xor eax, eax
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
call fcn.18018eff0
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edx, 0x80000000
lea r8d, [r9 + 7]
mov rcx, rbx
mov dword [rsp + 0x28], 0x80
mov dword [rdi + 0x20], 1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x18018f2f1
test rax, rax
je 0x18018f2f1
lea rdx, [rdi + 0x14]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, qword [rdi + 8]
lea r9, [rdi + 0x43c]
lea rdx, [rdi + 0x3c]
mov r8d, 0x400
mov dword [rdi + 0x10], eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18018f2f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18018f3d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 8]
mov esi, r8d
mov edi, edx
mov rbx, rcx
cmp rax, 0xffffffffffffffff
je 0x18018f4fb
test rax, rax
je 0x18018f4fb
mov qword [rsp + 0x60], r12
lea r9, [rsp + 0x50]
xor r12d, r12d
mov edx, edi
mov qword [rsp + 0x50], r12
call fcn.18018f110
mov r10, qword [rsp + 0x50]
cmp r10, qword [rcx + 0x10]
jg 0x18018f48d
cmp dword [rsp + 0x54], r12d
jne 0x18018f440
mov eax, dword [rcx + 0x43c]
cmp dword [rsp + 0x50], eax
ja 0x18018f440
lea rax, [rdi + rcx + 0x3c]
mov r12, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov r11, qword [rbx + 0x28]
test r11, r11
je 0x18018f47e
mov edx, dword [rbx + 0x38]
mov r8d, dword [rbx + 0x34]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x50], r12
call fcn.18018f110
cmp edx, edi
ja 0x18018f47e
cmp r10, qword [rsp + 0x50]
jg 0x18018f47e
mov r12, qword [rsp + 0x60]
sub edi, edx
mov eax, edi
add rax, r11
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov edx, esi
mov rcx, rbx
call fcn.18018f0a0
test rax, rax
jne 0x18018f49c
xor eax, eax
mov r12, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov edx, edi
mov rcx, rbx
mov qword [rsp + 0x58], rbp
call fcn.18018f140
test eax, eax
je 0x18018f4eb
mov rdx, qword [rbx + 0x28]
mov rcx, qword [rbx + 8]
lea r9, [rbx + 0x34]
mov r8d, esi
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18018f4eb
cmp dword [rbx + 0x34], esi
jne 0x18018f4eb
mov rax, qword [rbx + 0x28]
mov dword [rbx + 0x38], edi
mov rbp, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov qword [rbx + 0x34], r12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
xor eax, eax
jmp 0x18018f4d9
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x180190230
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x18023d9c4]
test ecx, ecx
jne 0x1801903f0
mov eax, dword [0x18023d9c0]
cmp eax, 3
ja 0x1801903f0
inc eax
mov qword [rsp + 0x20], rbx
mov dword [0x18023d9c0], eax
call fcn.180127c90
test eax, eax
je 0x180190276
lea rcx, str.wtsapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x180190283
lea rcx, [0x1801e4128]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x180190295
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rdx, str.WTSOpenServerA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSOpenServerW
mov rcx, rbx
mov qword [0x18023d950], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSCloseServer
mov rcx, rbx
mov qword [0x18023d958], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSFreeMemory
mov rcx, rbx
mov qword [0x18023d960], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSEnumerateSessionsA
mov rcx, rbx
mov qword [0x18023d968], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSEnumerateSessionsW
mov rcx, rbx
mov qword [0x18023d970], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSTerminateProcess
mov rcx, rbx
mov qword [0x18023d978], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSEnumerateProcessesA
mov rcx, rbx
mov qword [0x18023d980], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSEnumerateProcessesW
mov rcx, rbx
mov qword [0x18023d988], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSSendMessageA
mov rcx, rbx
mov qword [0x18023d990], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSSendMessageW
mov rcx, rbx
mov qword [0x18023d998], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSQuerySessionInformationA
mov rcx, rbx
mov qword [0x18023d9a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSQuerySessionInformationW
mov rcx, rbx
mov qword [0x18023d9a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSWaitSystemEvent
mov rcx, rbx
mov qword [0x18023d9b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x20]
mov qword [0x18023d9b8], rax
mov dword [0x18023d9c4], 1
mov eax, 1
add rsp, 0x28
ret
mov eax, ecx
add rsp, 0x28
ret
Function at 0x414c60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414deb
push rbp
mov rbp, rsp
sub 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.00432180
xorps xmm15, xmm15
mov r14, qword [0x005f1fd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414cc5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414cd4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414cf3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414d03
cmp rbx, 0x1000
jae 0x414ccb
jmp 0x414d6d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414d15
xor edx, edx
jmp 0x414d64
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.00432180
xorps xmm15, xmm15
mov r14, qword [0x005f1fd0]
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 0x414cf9
jmp 0x414ce8
call fcn.00462a00
xorps xmm15, xmm15
mov r14, qword [0x005f1fd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00436580
lea rax, [0x004e2329]
mov ebx, 0x18
nop dword [rax]
call fcn.00436e00
mov rax, qword [rsp + 0x38]
call fcn.00436b40
lea rax, [0x004e29d2]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00436e00
mov rax, qword [rsp + 0x30]
call fcn.00436b40
call fcn.004367c0
call fcn.004365e0
lea rax, [0x004e5254]
mov ebx, 0x21
call fcn.00434be0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f340
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00414c60
Function at 0x414e20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415046
push rbp
mov rbp, rsp
sub 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.00432200
xorps xmm15, xmm15
mov r14, qword [0x005f1fd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x414e93
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x414ea2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x414ec5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x414ed5
cmp rbx, 0x1000
jae 0x414e99
nop
jmp 0x414f58
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x414eed
xor esi, esi
jmp 0x414f4a
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.00432200
xorps xmm15, xmm15
mov r14, qword [0x005f1fd0]
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 0x414ecb
jmp 0x414eb6
call fcn.00462a00
xorps xmm15, xmm15
mov r14, qword [0x005f1fd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x414fe0
nop dword [rax + rax]
call fcn.00436580
lea rax, [0x004e29eb]
mov ebx, 0x19
call fcn.00436e00
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00436b40
lea rax, [0x004e29d2]
mov ebx, 0x19
call fcn.00436e00
mov eax, dword [rsp + 0x34]
call fcn.00436b40
nop
call fcn.004367c0
call fcn.004365e0
lea rax, [0x004de7ba]
mov ebx, 0xd
call fcn.00434be0
nop dword [rax + rax]
cmp eax, 0x5af
je 0x414f80
call fcn.00436580
lea rax, [0x004e29eb]
mov ebx, 0x19
call fcn.00436e00
mov rax, qword [rsp + 0x38]
call fcn.00436b40
lea rax, [0x004e29d2]
mov ebx, 0x19
call fcn.00436e00
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00436b40
call fcn.004367c0
call fcn.004365e0
lea rax, [0x004e49ed]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00434be0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f340
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00414e20
Function at 0x41e440
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x005f1d95], 0
jne 0x41e527
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x50]
test byte [rdx], al
mov esi, dword [rax + 0x64]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], r8b
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x41e51a
lea rbx, [0x005c4178]
mov rdx, qword [rbx + rdx*8]
test byte [rdx], al
mov rbx, rcx
shr rbx, 0x10
and ebx, 0x3f
shr rcx, 0xd
and ecx, 7
mov esi, 1
shl esi, cl
shr rax, 0x16
and eax, 0xfffff
mov rax, qword [rdx + rax*8]
test byte [rax], al
movzx edx, byte [rax + rbx + 0x11440]
lea rax, [rax + rbx]
lea rax, [rax + 0x11440]
test sil, dl
jne 0x41e500
lock or byte [rax], sil
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rdi
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call fcn.004615e0
lea rax, [0x004e741c]
mov ebx, 0x2c
call fcn.00434be0
nop
int3

Function at 0x420800
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x420906
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x420843
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x4208fb
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.004215e0
test rax, rax
je 0x4208fb
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [0x00420940]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call fcn.0045f200
xorps xmm15, xmm15
mov r14, qword [0x005f1fd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x4208e9
xor eax, eax
jmp 0x4208f3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x420831
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.0045f340
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.00420800
Function at 0x42e8e0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42eb66
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
mov rcx, qword [rax + 0x1268]
lea rsi, [rax + 0x1278]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42eb5a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x005f1d95], 0
jne 0x42e93a
xor edx, edx
xor ebx, ebx
jmp 0x42e980
xor edx, edx
jmp 0x42e965
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.0041dca0
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42e93e
add rax, 0x1268
call fcn.0042e860
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x42eaf4
mov rsi, qword [rax + rdx*8 + 0x1278]
cmp rsi, 0x1000
jb 0x42e97b
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call fcn.00411f80
test rax, rax
jne 0x42e9cc
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42e97b
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x42ea0c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42e97b
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x42eb4d
lea r10, [0x005c4178]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x11440]
lea r8, [r8 + r10]
lea r8, [r8 + 0x11440]
test r11b, r9b
jne 0x42ea8f
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x6a]
test r8b, 1
je 0x42eac5
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x70]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42e97b
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42eb45
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42e97b
cmp rbx, 0x200
ja 0x42eb34
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.004244e0
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.0042e860
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call fcn.00461640
mov rax, r8
call fcn.004615c0
mov rax, r8
mov ecx, 0x40
call fcn.004615e0
mov edx, 0x200
nop
call fcn.00461620
nop
mov qword [rsp + 8], rax
call fcn.00465e80
mov rax, qword [rsp + 8]
jmp fcn.0042e8e0
Function at 0x443780
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4438e7
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x443792
cmp edx, ecx
jne 0x4438d5
nop word [rax + rax]
test rsi, rsi
jne 0x4438d5
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x4437f4
nop
call fcn.00462e20
xorps xmm15, xmm15
mov r14, qword [0x005f1fd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.004436a0
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x4438d0
mov rdx, qword [0x0059ed58]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x4438c5
mov rcx, qword [0x0059ed50]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x0059fa10]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x0059fa10], rax
nop
mov edx, 1
lea rsi, [0x0059fa18]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x4438b3
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004e69dc]
mov ebx, 0x28
nop
call fcn.00434be0
mov rax, rsi
mov rcx, rdx
call fcn.004615c0
call fcn.00433280
lea rax, [0x004e5a25]
mov ebx, 0x23
call fcn.00434be0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f340
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00443780
Function at 0x456620
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4566cf
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
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 rsi, [0x00456720]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
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.0045f200
xorps xmm15, xmm15
mov r14, qword [0x005f1fd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045f340
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00456620
Function at 0x461120
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4031e3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00408c40
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f340
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4031c0
cmp byte [0x005f1d8e], 0
je 0x461135
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45e380
jmp 0x4031c0

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

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005f2080]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005f1d8e], 0
je 0x461175
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005f2340]
aesenc xmm0, xmmword [0x005f2350]
aesenc xmm0, xmmword [0x005f2360]
movq rax, xmm0
ret
jmp 0x408e60

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

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005f2080]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005f1d8e], 0
je 0x4611b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005f2340]
aesenc xmm0, xmmword [0x005f2350]
aesenc xmm0, xmmword [0x005f2360]
movq rax, xmm0
ret
jmp 0x408ec0

Function at 0x462e80
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
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 0x462eb4
mov rcx, 0x28
jmp 0x462ebf
shl rcx, 3
add rcx, 0x1480
mov qword [0x005f1fd0], rcx
pop rbp
ret