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

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x460c60
cmp r11, r10
ja 0x460cd7
cmp r10, rdx
ja 0x460ce9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x460c62
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x460c40
jmp 0x460cc4
ja 0x460c6a
mov r11, r10
cmp rax, r8
jne 0x460c0e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x460ca0
mov rdi, r8
sub ecx, edx
jns 0x460cbb
jmp 0x460cc6
cmp r8, rsi
je 0x460cf8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x460cc6
xor al, 1
cmp rdi, rsi
jne 0x460c80
jmp 0x460cc6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.0045eeb0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.0045d9a0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.0045f030
int3

Function at 0x469293
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x004c6028]
test ecx, ecx
je 0x4692ac
dec ecx
add rsp, 0x28
jmp fcn.004c41ec
lea rcx, [0x004c6010]
call fcn.004864a0
mov ecx, eax
jmp 0x4692a3

Function at 0x4692bc
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x4692dd
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp sub.kernel32.dll_TlsSetValue
mov rcx, rax
call fcn.004864a0
mov ecx, eax
jmp 0x4692d0

Function at 0x46ac9f
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x004c6120]
test ecx, ecx
je 0x46acb8
dec ecx
add rsp, 0x28
jmp fcn.004c41ec
lea rcx, [0x004c6108]
call fcn.004864a0
mov ecx, eax
jmp 0x46acaf

Function at 0x472580
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x004c6140]
test ecx, ecx
je 0x472599
dec ecx
add rsp, 0x28
jmp fcn.004c41ec
lea rcx, [0x004c6128]
call fcn.004864a0
mov ecx, eax
jmp 0x472590
Function at 0x47a7b7
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
call fcn.00472580
cmp rax, 1
jbe 0x47a7d7
mov rsi, rax
add rsi, 8
jmp 0x47a84d
je 0x47a84b
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi], xmm0
mov edx, 0x10
mov rcx, rsi
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsi]
mov ecx, 0x18
mov edx, 8
call fcn.0043767a
mov rsi, rax
mov rbx, rax
lea rax, [0x004c6128]
mov qword [rsi], rax
movups xmmword [rsi + 8], xmm6
call fcn.00472580
mov rdi, rax
mov ecx, dword [0x004c6140]
test ecx, ecx
je 0x47a85d
dec ecx
add rsi, 8
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x47a84d
mov edx, 8
mov rcx, rdi
call fcn.0042cc00
jmp 0x47a84d
xor esi, esi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x004c6128]
call fcn.004864a0
mov ecx, eax
jmp 0x47a82b
Function at 0x481600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov r10, qword [rcx]
test r10, r10
je 0x481684
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x481684
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x48169d
cmp eax, 0x42
jne 0x481684
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x4817cd
cmp byte [r10 + rsi], 0x5f
jne 0x48175c
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x4817cd
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x481827
mov dil, 1
xor r9d, r9d
jmp 0x4817cf
xor edx, edx
call fcn.0047d1e0
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.0047d1e0
test al, al
jne 0x48180d
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x4816dc
lea rdx, [0x006c4703]
mov r8d, 1
call fcn.0045da10
mov rdx, rbx
test al, al
jne 0x48180d
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x481690
xor r14d, r14d
lea rdi, [0x006c4a59]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x481714
cmp byte [rax + rcx], 0x45
je 0x481860
sub r14, 1
jb 0x48173c
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x48173c
mov r8d, 2
mov rdx, rdi
call fcn.0045da10
mov rdx, rbx
test al, al
jne 0x48180d
mov rcx, rdx
call fcn.0047ea70
test al, al
jne 0x48180d
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x481700
jmp 0x481690
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x4817bd
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x48179f
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x481791
add dl, 0xa9
jmp 0x48179d
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x4817cd
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x4817cd
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x4817cf
cmp rsi, r11
jb 0x481770
jmp 0x4817cf
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x48165f
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x481815
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as_mut_const___dyn___unsafe_extern__
lea rdx, [0x006c4a38]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.0045da10
mov rcx, rbx
test al, al
je 0x481815
mov sil, 2
jmp 0x481690
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x481690
cmp qword [rcx + 0x20], 0
je 0x481820
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.00481600
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x481692
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x481690
Function at 0x485a65
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
mov r10d, r8d
rol r10d, 0x19
mov eax, dword [rdx]
mov esi, eax
rol esi, 0x19
mov r11d, dword [rdx + 4]
mov ebp, r11d
rol ebp, 0x19
mov edi, dword [rdx + 8]
mov r14d, edi
rol r14d, 0x19
mov ebx, r8d
rol ebx, 0xe
xor ebx, r10d
mov r15d, eax
rol r15d, 0xe
xor r15d, esi
mov r12d, r11d
rol r12d, 0xe
xor r12d, ebp
mov ebp, edi
rol ebp, 0xe
mov r10, qword [rsp + 0x60]
xor ebp, r14d
shr r8d, 3
mov esi, eax
shr esi, 3
xor esi, r15d
add esi, r11d
shr r11d, 3
xor r11d, r12d
add r11d, edi
shr edi, 3
xor edi, ebp
add edi, dword [rdx + 0xc]
add esi, dword [r9]
add r11d, dword [r9 + 4]
add edi, dword [r9 + 8]
mov edx, dword [r10 + 4]
mov ebp, edx
rol ebp, 0xf
xor r8d, ebx
mov ebx, edx
rol ebx, 0xd
mov r9d, dword [r10]
xor ebx, ebp
shr edx, 0xa
xor edx, ebx
add edx, edi
mov edi, r9d
rol edi, 0xf
mov ebx, r9d
rol ebx, 0xd
xor ebx, edi
shr r9d, 0xa
mov edi, edx
rol edi, 0xf
xor r9d, ebx
mov ebx, edx
rol ebx, 0xd
add r9d, r11d
xor ebx, edi
mov r11d, edx
shr r11d, 0xa
xor r11d, ebx
mov edi, r9d
rol edi, 0xf
add r11d, esi
mov esi, r9d
rol esi, 0xd
xor esi, edi
mov edi, r9d
shr edi, 0xa
xor edi, esi
add eax, dword [r10 + 0xc]
add eax, r8d
add eax, edi
mov dword [rcx], eax
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
mov dword [rcx + 0xc], edx
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x4863a6
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg1 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x4863c2
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg2 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x4864a0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
cmp qword [rcx], 0
je 0x486535
mov rax, qword [0x006e3040]
mov dword [rbp], 0
lea rbx, [rsi + 0x10]
mov r8, rbp
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.kernel32.dll_InitOnceBeginInitialize
mov dword [rbp - 4], eax
cmp eax, 1
jne 0x486574
cmp dword [rbp], 0
je 0x486558
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x486589
mov edi, eax
mov rax, qword [0x006e02d8]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x006e02d8], rsi
jne 0x486510
mov eax, edi
inc eax
mov dword [rsi + 0x18], eax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x486569
call sub.kernel32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x4865cb
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x48655d
mov edi, dword [rbp + 4]
jmp 0x486569
mov edi, dword [rsi + 0x18]
jmp 0x486567
mov edi, eax
mov ecx, dword [rbp + 4]
call sub.kernel32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x38], 0
lea rcx, [rbp - 4]
lea rdx, [rbp - 0x38]
call fcn.00487290
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 0x38]
call fcn.0045d020
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x38]
call fcn.004872e0
int3
Function at 0x486d50
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x006c7ec0]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x486dbf
mov rcx, rsi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0x103
je 0x486deb
test eax, eax
js 0x486dcb
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x486de1
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x006c7f20]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.00486660
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.00486710
mov ecx, 7
int 0x29
ud2

Function at 0x488440
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x004c6100]
test ecx, ecx
je 0x488511
dec ecx
call fcn.004c41ec
cmp rax, 1
jbe 0x488471
add rax, 8
jmp 0x488508
je 0x488506
movzx eax, byte [0x006e0338]
mov edx, 0x10
xor ecx, ecx
call fcn.004b9480
test rax, rax
je 0x488544
mov rbx, rax
mov rsi, rax
lea rax, [0x004c60e8]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x004c6100]
test ecx, ecx
je 0x488524
dec ecx
call fcn.004c41ec
mov rdi, rax
mov ecx, dword [0x004c6100]
test ecx, ecx
je 0x488534
dec ecx
add rbx, 8
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x488501
mov rax, qword [rdi + 8]
test rax, rax
je 0x4884f4
lock dec qword [rax]
jne 0x4884f4
mov rcx, qword [rdi + 8]
call fcn.00487b90
mov edx, 8
mov rcx, rdi
call fcn.0042cc00
mov rax, rbx
jmp 0x488508
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x004c60e8]
call fcn.004864a0
mov ecx, eax
jmp 0x48845d
lea rcx, [0x004c60e8]
call fcn.004864a0
mov ecx, eax
jmp 0x4884b7
lea rcx, [0x004c60e8]
call fcn.004864a0
mov ecx, eax
jmp 0x4884cb
mov ecx, 8
mov edx, 0x10
call fcn.0042d010
int3
Function at 0x4889d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x004c60c0]
test ecx, ecx
je 0x488a7e
dec ecx
call fcn.004c41ec
cmp rax, 1
jbe 0x4889fe
add rax, 8
jmp 0x488a75
je 0x488a73
movzx eax, byte [0x006e0338]
mov edx, 0x10
xor ecx, ecx
call fcn.004b9480
test rax, rax
je 0x488ab1
mov rbx, rax
mov rsi, rax
lea rax, [0x004c60a8]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x004c60c0]
test ecx, ecx
je 0x488a91
dec ecx
call fcn.004c41ec
mov rdi, rax
mov ecx, dword [0x004c60c0]
test ecx, ecx
je 0x488aa1
dec ecx
add rbx, 8
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x488a6e
mov edx, 8
mov rcx, rdi
call fcn.0042cc00
mov rax, rbx
jmp 0x488a75
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x004c60a8]
call fcn.004864a0
mov ecx, eax
jmp 0x4889ed
lea rcx, [0x004c60a8]
call fcn.004864a0
mov ecx, eax
jmp 0x488a3c
lea rcx, [0x004c60a8]
call fcn.004864a0
mov ecx, eax
jmp 0x488a50
mov ecx, 8
mov edx, 0x10
call fcn.0042d010
int3

Function at 0x488f60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x004c60a0]
test ecx, ecx
je 0x489016
dec ecx
call fcn.004c41ec
cmp rax, 1
jbe 0x488f8e
add rax, 8
jmp 0x48900d
je 0x48900b
movzx eax, byte [0x006e0338]
mov edx, 0x18
xor ecx, ecx
call fcn.004b9480
test rax, rax
je 0x489049
mov rbx, rax
mov rsi, rax
lea rax, [0x004c6088]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov byte [rsi + 0x10], 0
mov ecx, dword [0x004c60a0]
test ecx, ecx
je 0x489029
dec ecx
call fcn.004c41ec
mov rdi, rax
mov ecx, dword [0x004c60a0]
test ecx, ecx
je 0x489039
dec ecx
add rbx, 8
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x489006
mov edx, 8
mov rcx, rdi
call fcn.0042cc00
mov rax, rbx
jmp 0x48900d
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x004c6088]
call fcn.004864a0
mov ecx, eax
jmp 0x488f7d
lea rcx, [0x004c6088]
call fcn.004864a0
mov ecx, eax
jmp 0x488fd4
lea rcx, [0x004c6088]
call fcn.004864a0
mov ecx, eax
jmp 0x488fe8
mov ecx, 8
mov edx, 0x18
call fcn.0042d010
int3
Function at 0x489ea0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x468
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3c8], rcx
mov qword [rbp + 0x3d0], 0
mov qword [rbp + 0x3d8], 2
mov qword [rbp + 0x3e0], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c0], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x489f30
jmp 0x489f1f
jae 0x489feb
cmp r8, 0x201
jae 0x489f30
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x489f87
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x489f5f
lea rcx, [rbp + 0x3d0]
mov rdx, rbx
call fcn.0048bed0
mov rsi, qword [rbp + 0x3d0]
mov rax, qword [rbp + 0x3d8]
mov qword [rbp + 0x3c0], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e0], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c0]
mov r12, rbx
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov ecx, r12d
mov rdx, r15
call sub.kernel32.dll_GetCurrentDirectoryW
mov r13d, eax
test eax, eax
jne 0x489fad
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x48a04f
mov r8d, r13d
cmp r12, r8
jne 0x489f10
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x48a080
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x489f1f
jmp 0x489f30
cmp r14, r8
jb 0x48a09a
lea rcx, [rbp + 0x3a0]
mov rdx, r15
call fcn.0048a770
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
mov rax, qword [rbp + 0x3c8]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
cmp qword [rbp + 0x3d0], 0
je 0x48a03a
mov rcx, qword [rbp + 0x3d8]
mov edx, 2
call fcn.0042cc00
nop
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x3c8]
mov qword [rcx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rcx], rax
cmp qword [rbp + 0x3d0], 0
jne 0x48a029
jmp 0x48a03a
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.0045dd10
jmp 0x48a0af
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.0045d9a0
ud2
Function at 0x48deb0
Capabilities:
Read file via mapping

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd0
lea rbp, [rsp + 0x80]
mov rax, r8
mov rsi, rcx
mov dword [rbp + 8], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x20], 7
mov qword [rbp + 0x24], 0
mov word [rbp + 0x2c], 0
mov byte [rbp + 0x28], 1
lea r8, [rbp + 8]
mov rcx, rdx
mov rdx, rax
call fcn.004a5b50
mov rdi, rdx
test rax, rax
je 0x48df3b
mov qword [rbp - 0x40], 1
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x38], rdi
call fcn.00486730
mov qword [rsi], 0
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 8]
mov rdx, rdi
call fcn.004a5da0
cmp dword [rbp + 8], 2
jne 0x48df5f
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 2
jmp 0x48df8e
movups xmm0, xmmword [rbp + 8]
movups xmm1, xmmword [rbp + 0x18]
movups xmm2, xmmword [rbp + 0x28]
movups xmm3, xmmword [rbp + 0x38]
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rbp + 0x48]
mov qword [rbp], rax
movaps xmmword [rbp - 0x10], xmm3
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x30], xmm1
cmp qword [rbp - 0x40], 2
jne 0x48dfb7
lea rcx, [rbp - 0x38]
call fcn.00486730
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp fcn.004c3f64
mov r12, qword [rbp - 8]
test rdi, rdi
je 0x48e005
mov qword [rbp - 0x40], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x40]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x48e081
mov rbx, qword [rbp - 0x40]
jmp 0x48e007
xor ebx, ebx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.kernel32.dll_CreateFileMappingA
test rax, rax
je 0x48e070
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call fcn.004c3f64
test r15, r15
je 0x48e070
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x48e0aa
mov qword [rsi], 0
mov rcx, rbx
call fcn.004c3f64
jmp 0x48e0aa
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 8], 1
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x10], rax
call fcn.00486730
mov qword [rsi], 0
mov rcx, rdi
call fcn.004c3f64
jmp 0x48df29
Function at 0x4a72b0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x498
lea rbp, [rsp + 0x80]
mov rsi, rcx
movabs rdi, 0x8000000000000000
lea rcx, [rbp - 0x60]
call fcn.004a5ea0
mov rax, qword [rbp - 0x60]
cmp rax, rdi
jne 0x4a72fb
lea rcx, [rbp - 0x58]
call fcn.00486730
mov qword [rsi], rdi
jmp 0x4a7534
mov qword [rbp + 0x3f0], rsi
mov qword [rbp + 0x3e8], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x3f8], rax
mov qword [rbp + 0x400], 0
mov qword [rbp + 0x408], 2
mov qword [rbp + 0x410], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e0], rax
xor esi, esi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x4a7380
jmp 0x4a736f
jae 0x4a7443
cmp r8, 0x201
jae 0x4a7380
mov edi, 0x200
lea r13, [rbp - 0x60]
mov r15, r8
jmp 0x4a73d8
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x4a73af
lea rcx, [rbp + 0x400]
mov rdx, r12
call fcn.0048bed0
mov rsi, qword [rbp + 0x400]
mov rax, qword [rbp + 0x408]
mov qword [rbp + 0x3e0], rax
mov eax, 0xffffffff
cmp rsi, rax
mov r12d, 0xffffffff
cmovb r12, rsi
mov qword [rbp + 0x410], r12
mov rbx, rsi
mov rdi, r12
mov r13, qword [rbp + 0x3e0]
mov r15, r12
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, qword [rbp + 0x3f8]
mov rdx, r13
mov r8d, r15d
call sub.kernel32.dll_GetEnvironmentVariableW
mov r14d, eax
test eax, eax
jne 0x4a7405
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x4a74c3
mov r8d, r14d
cmp r15, r8
jne 0x4a7360
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x4a7549
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x4a736f
jmp 0x4a7380
cmp rdi, r8
jb 0x4a7563
lea rcx, [rbp + 0x3a0]
mov rdx, r13
call fcn.0048a770
movabs rdi, 0x8000000000000000
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x3d0], xmm1
movaps xmmword [rbp + 0x3c0], xmm0
cmp qword [rbp + 0x400], 0
mov rsi, qword [rbp + 0x3f0]
je 0x4a74a3
mov rcx, qword [rbp + 0x408]
mov edx, 2
call fcn.0042cc00
cmp qword [rbp + 0x3c0], rdi
je 0x4a750a
movaps xmm0, xmmword [rbp + 0x3c0]
movaps xmm1, xmmword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
jmp 0x4a7519
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c8], rax
movabs rdi, 0x8000000000000000
mov qword [rbp + 0x3c0], rdi
cmp qword [rbp + 0x400], 0
je 0x4a7503
mov rcx, qword [rbp + 0x408]
mov edx, 2
call fcn.0042cc00
mov rsi, qword [rbp + 0x3f0]
mov qword [rsi], rdi
lea rcx, [rbp + 0x3c8]
call fcn.00486730
cmp qword [rbp + 0x3e8], 0
je 0x4a7534
mov edx, 2
mov rcx, qword [rbp + 0x3f8]
call fcn.0042cc00
nop
add rsp, 0x498
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.0045dd10
jmp 0x4a7578
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, rdi
mov r8, rax
call fcn.0045d9a0
ud2
Function at 0x4a82d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, r9
mov rdi, r8
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
add rsi, r8
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x30], 0x81