joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400185a0
Capabilities:
Send data
Send data on socket

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400185f8
mov rdi, r8
mov rbx, rdx
mov r14, qword [rcx]
lea rsi, str.PD_a_
nop
cmp rdi, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rdi
mov rcx, r14
mov rdx, rbx
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
je 0x1400185fc
test eax, eax
je 0x14001860b
movsxd rcx, eax
cmp rdi, rcx
jb 0x140018618
add rbx, rcx
sub rdi, rcx
jne 0x1400185c0
xor esi, esi
jmp 0x14001860b
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea r8, [0x140072318]
mov rdx, rdi
call fcn.14000eaa0
int3

Function at 0x14001a670
Capabilities:
Delete file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.1400464e0
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rcx, rax
neg rcx
jo 0x14001a6d8
movabs rbx, 0x8000000000000000
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov r8b, 1
call fcn.140046690
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
cmp rdi, rbx
jne 0x14001a6e3
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call sub.kernel32.dll_DeleteFileW
test eax, eax
je 0x14001a709
test rdi, rdi
je 0x14001a731
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rsi
call fcn.1400615a4
xor eax, eax
jmp 0x14001a6db
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x14001a6db
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rsi
mov rsi, rax
call fcn.1400615a4
jmp 0x14001a6d8
xor eax, eax
jmp 0x14001a6db

Function at 0x14001f420
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14001f445
cmp rax, rcx
je 0x14001f44b
cmp rdx, 4
jae 0x14001f44f
xor eax, eax
xor r8d, r8d
jmp 0x14001f4e0
pop rbp
jmp fcn.14000ef70
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14006a820]
movdqa xmm3, xmmword [0x14006a830]
pxor xmm1, xmm1
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14001f470
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14001f4f7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14001f4e0
pop rbp
ret
Function at 0x140023d90
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140075368]
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 0x140023dff
mov rcx, rsi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0x103
je 0x140023e2b
test eax, eax
js 0x140023e0b
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140023e21
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, [0x1400753c8]
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.140023560
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400236a0
mov ecx, 7
int 0x29
ud2

Function at 0x140024eb0
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 rdi, rcx
mov esi, dword [0x1400690b8]
test esi, esi
je 0x140024f59
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140024f50
je 0x140024ef9
test rdi, rdi
je 0x140024efd
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x140024eff
mov rbx, qword [rdi + 8]
jmp 0x140024eff
xor eax, eax
jmp 0x140024f50
xor ebx, ebx
movzx eax, byte [0x140081100]
mov edx, 0x10
xor ecx, ecx
call fcn.140057e30
test rax, rax
je 0x140024f7a
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140024f4d
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rdi
call fcn.1400615a4
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1400690a0]
call fcn.140025150
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140024edd
jmp 0x140024f50
mov ecx, 8
mov edx, 0x10
call fcn.14000e310
int3
Function at 0x140024f90
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 esi, dword [0x1400690d8]
test esi, esi
je 0x140025038
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14002502f
je 0x14002502d
movzx eax, byte [0x140081100]
mov edx, 0x10
xor ecx, ecx
call fcn.140057e30
test rax, rax
je 0x140025059
mov qword [rax], 0
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140025028
mov rax, qword [rdi]
test rax, rax
je 0x140025017
lock dec qword [rax]
jne 0x140025017
mov rcx, qword [rdi]
call fcn.140022e40
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rdi
call fcn.1400615a4
mov rax, rsi
jmp 0x14002502f
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1400690c0]
call fcn.140025150
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140024fba
jmp 0x14002502f
mov ecx, 8
mov edx, 0x10
call fcn.14000e310
int3

Function at 0x140025150
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 0x1400251e5
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 0x140025224
cmp dword [rbp], 0
je 0x140025208
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140025247
mov edi, eax
mov rax, qword [0x140084038]
mov rax, qword [0x1400810f0]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400810f0], rsi
jne 0x1400251c0
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 0x140025219
call sub.kernel32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x140025289
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14002520d
mov edi, dword [rbp + 4]
jmp 0x140025219
mov edi, dword [rsi + 0x18]
jmp 0x140025217
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 rdx, [0x1400755f0]
lea r9, str.std_src_sys_thread_localkeywindows.rs
lea rcx, [rbp - 4]
lea r8, [rbp - 0x38]
call fcn.1400252c0
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.std_src_sys_thread_localkeywindows.rs
lea rcx, [rbp - 0x38]
call fcn.14000eca0
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.140025300
int3
Function at 0x140025be0
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 esi, dword [0x140069078]
test esi, esi
je 0x140025c6e
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140025c65
je 0x140025c63
movzx eax, byte [0x140081100]
mov edx, 0x18
xor ecx, ecx
call fcn.140057e30
test rax, rax
je 0x140025c8f
mov qword [rax], 0
mov byte [rax + 8], 0
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140025c5e
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rdi
call fcn.1400615a4
mov rax, rsi
jmp 0x140025c65
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140069060]
call fcn.140025150
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140025c06
jmp 0x140025c65
mov ecx, 8
mov edx, 0x18
call fcn.14000e310
int3
Function at 0x1400292d0
Capabilities:
Read file via mapping

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov rax, r8
mov rdi, rcx
mov dword [rbp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 7
mov qword [rbp - 0x2c], 0
mov word [rbp - 0x24], 0
mov byte [rbp - 0x28], 1
lea r8, [rbp - 0x48]
mov rcx, rdx
mov rdx, rax
call fcn.140046150
mov rsi, rdx
test rax, rax
je 0x140029392
mov eax, esi
and eax, 3
cmp eax, 1
jne 0x140029386
mov rax, rsi
dec rsi
mov rbx, qword [rax - 1]
mov r14, qword [rax + 7]
mov rax, qword [r14]
test rax, rax
je 0x140029352
mov rcx, rbx
call rax
cmp qword [r14 + 8], 0
je 0x140029375
cmp qword [r14 + 0x10], 0x11
jb 0x140029364
mov rbx, qword [rbx - 8]
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rbx
call fcn.1400615a4
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rsi
call fcn.1400615a4
mov qword [rdi], 0
jmp 0x1400294fd
lea rcx, [rbp - 0x48]
mov rdx, rsi
call fcn.1400463d0
cmp dword [rbp - 0x48], 2
jne 0x14002941f
mov rax, qword [rbp - 0x40]
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne 0x1400293ff
lea rbx, [rax - 1]
mov r14, qword [rax - 1]
mov r15, qword [rax + 7]
mov rax, qword [r15]
test rax, rax
je 0x1400293cb
mov rcx, r14
call rax
cmp qword [r15 + 8], 0
je 0x1400293ee
cmp qword [r15 + 0x10], 0x11
jb 0x1400293dd
mov r14, qword [r14 - 8]
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, r14
call fcn.1400615a4
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rbx
call fcn.1400615a4
mov qword [rdi], 0
mov rcx, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp sub.kernel32.dll_CloseHandle
mov r12, qword [rbp - 0x10]
test rsi, rsi
je 0x14002946d
mov qword [rbp - 0x48], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x48]
mov rcx, rax
mov rdx, rsi
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x1400294e9
mov rbx, qword [rbp - 0x48]
jmp 0x14002946f
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 0x1400294d8
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 sub.kernel32.dll_CloseHandle
test r15, r15
je 0x1400294d8
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r12
mov qword [rdi], 1
jmp 0x1400294f5
mov qword [rdi], 0
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
jmp 0x1400294f5
call sub.kernel32.dll_GetLastError
mov qword [rdi], 0
mov rcx, rsi
call sub.kernel32.dll_CloseHandle
nop
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
Function at 0x140047da0
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 rbx, rdx
mov qword [rbp - 0x20], rcx
movzx eax, byte [rdx + 0x18]
mov byte [rbp + 7], al
mov byte [rdx + 0x18], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 2
mov qword [rbp - 8], 0
movzx r15d, word [rdx + 0x10]
mov rsi, qword [rdx]
mov r12, qword [rdx + 8]
mov eax, 2
xor edi, edi
xor r13d, r13d
mov r14d, r15d
test r15w, r15w
je 0x140047e3b
jmp 0x140047f50
shl edx, 6
or edx, r9d
mov r14d, edx
xor r15d, r15d
mov rsi, rcx
cmp r14w, 0x22
jne 0x140047f03
xor r13b, 1
mov r14d, r15d
test r15w, r15w
jne 0x140047f50
cmp rsi, r12
je 0x140047f62
lea rcx, [rsi + 1]
mov qword [rbx], rcx
movzx r14d, byte [rsi]
test r14b, r14b
jns 0x140047e19
mov edx, r14d
and edx, 0x1f
lea rcx, [rsi + 2]
mov qword [rbx], rcx
movzx r9d, byte [rsi + 1]
and r9d, 0x3f
cmp r14b, 0xdf
jbe 0x140047e10
lea rcx, [rsi + 3]
mov qword [rbx], rcx
movzx r8d, byte [rsi + 2]
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
cmp r14b, 0xf0
jb 0x140047ebc
lea rcx, [rsi + 4]
mov qword [rbx], rcx
movzx r14d, byte [rsi + 3]
and edx, 7
shl edx, 0x12
shl r8d, 6
and r14d, 0x3f
or r14d, r8d
or r14d, edx
cmp r14d, 0xffff
jbe 0x140047e19
jmp 0x140047ed2
shl edx, 0xc
or r8d, edx
mov r14d, r8d
cmp r14d, 0xffff
jbe 0x140047e19
lea edx, [r14 + 0xff0000]
shr edx, 0xa
or edx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov word [rbx + 0x10], r14w
mov rsi, rcx
mov r15d, r14d
mov r14d, edx
jmp 0x140047e1f
movzx ecx, r14w
cmp ecx, 0x3b
jne 0x140047f1a
test r13b, 1
je 0x140047f5e
mov r13b, 1
mov r14w, 0x3b
cmp rdi, qword [rbp - 0x18]
jne 0x140047f2d
lea rcx, [rbp - 0x18]
call fcn.140046d60
mov rax, qword [rbp - 0x10]
mov word [rax + rdi*2], r14w
inc rdi
mov qword [rbp - 8], rdi
mov r14d, r15d
test r15w, r15w
je 0x140047e3b
nop word cs:[rax + rax]
mov word [rbx + 0x10], 0
xor r15d, r15d
jmp 0x140047e1f
mov byte [rbx + 0x18], 1
test rdi, rdi
setne al
or byte [rbp + 7], al
je 0x140047fa8
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x40]
mov r8, rdi
call fcn.140027770
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
mov rax, qword [rbp - 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
cmp qword [rbp - 0x18], 0
jne 0x140047fc0
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movabs rax, 0x8000000000000000
mov rcx, qword [rbp - 0x20]
mov qword [rcx], rax
cmp qword [rbp - 0x18], 0
je 0x140047f97
mov r8, qword [rbp - 0x10]
mov rcx, qword [0x1400810e8]
xor edx, edx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.1400615a4
Function at 0x140048270
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, 0x48
lea rbp, [rsp + 0x40]
movdqa xmmword [rbp - 0x10], xmm6
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
mov eax, 0
cmp rbx, 3
jb 0x1400482e1
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x1400482e1
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x1400482e1
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x1400483bc
cmp byte [rdx], 0xed
jne 0x1400483c5
movzx r15d, byte [rdx + 1]
mov r8d, r15d
and r8b, 0xf0
cmp r8b, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x1400483c5
cmp rbx, 3
jb 0x140048321
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
movzx r12d, byte [rdx + 2]
shl r15d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
mov rcx, rax
sub rcx, rbx
cmp rcx, r8
jb 0x1400484af
and r15d, 0x3c0
or r15d, r14d
or r12d, r15d
lea r8d, [r12 + 0x10000]
mov r9d, r8d
shr r9d, 0x12
shr r8d, 4
and r8d, 0xff00
or r8d, r9d
shl r15d, 0xa
and r15d, 0xff0000
or r15d, r8d
shl r12d, 0x18
or r12d, r15d
movd xmm6, r12d
pand xmm6, xmmword [str._a___]
por xmm6, xmmword [0x14006c340]
cmp rcx, 3
jbe 0x1400484e1
add rdx, 3
mov rcx, qword [rsi + 8]
movd dword [rcx + rbx], xmm6
add rbx, 4
mov qword [rsi + 0x10], rbx
add rdi, 0xfffffffffffffffd
jmp 0x140048453
test rdi, rdi
je 0x140048450
lea rax, [rdx + rdi]
mov r9, rdx
jmp 0x1400483e8
add r9, 2
cmp r8, rax
cmovne r8, r9
nop dword [rax]
mov r9, r8
cmp r8, rax
je 0x140048450
lea r8, [r9 + 1]
movzx r10d, byte [r9]
test r10b, r10b
jns 0x1400483e0
cmp r10b, 0xe0
jb 0x1400483ce
cmp r10b, 0xed
jne 0x14004841f
cmp r8, rax
je 0x140048450
lea r8, [r9 + 2]
cmp r8, rax
je 0x140048450
cmp byte [r9 + 1], 0x9f
ja 0x14004844c
add r9, 3
mov r8, r9
jmp 0x1400483e0
add r9, 2
cmp r8, rax
cmove r9, r8
xor r8d, r8d
cmp r9, rax
setne r8b
add r8, r9
cmp r10b, 0xf0
jb 0x1400483e0
xor r9d, r9d
cmp r8, rax
setne r9b
add r8, r9
jmp 0x1400483e0
mov byte [rsi + 0x18], 0
mov rax, qword [rsi]
sub rax, rbx
cmp rax, rdi
jb 0x140048482
add rcx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
add rbx, rdi
mov qword [rsi + 0x10], rbx
movaps xmm6, xmmword [rbp - 0x10]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
mov r8, rdi
call fcn.140029020
mov rdx, r14
mov rcx, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
jmp 0x14004845b
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r13, rdx
mov rdx, rbx
call fcn.140029020
mov rdx, r13
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
mov rcx, rax
sub rcx, rbx
jmp 0x140048340
mov qword [rsp + 0x20], 1
mov r8d, 4
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
call fcn.140029020
mov rdx, r14
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
jmp 0x14004839e
Function at 0x140048680
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140075368]
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_NtReadFile
cmp eax, 0x103
jne 0x1400486e8
mov rcx, rsi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0xc0000011
jne 0x1400486f5
xor edx, edx
xor eax, eax
jmp 0x14004871e
cmp eax, 0x103
je 0x140048728
test eax, eax
js 0x140048708
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14004871e
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, [0x1400753c8]
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.140023560
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400236a0
mov ecx, 7
int 0x29
ud2
Function at 0x140048d30
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, 0x1c8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x140], r8
mov r15, qword [rcx + 8]
mov r14, qword [rcx + 0x10]
test r14, r14
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0x138], rdx
je case.0x14004893a.5
movzx eax, byte [r14 + r15 - 1]
cmp al, 0x2f
setne cl
cmp al, 0x5c
setne r12b
and r12b, cl
lea rcx, [rbp + 0xc0]
mov rdx, r15
mov r8, r14
call fcn.140027fb0
movzx r13d, byte [rbp + 0xc0]
movzx ebp, byte [rbp + 0xc0]
mov eax, 0x48000000
mov dword [rbp + 0x70], eax
mov dword [rsi + rsi + 0x30], eax
xchg ebp, eax
and byte [rcx], al
add byte [rax], al
adc dword [rsi + rsi + 0x20], edx
invalid
lea eax, [rdx + 1]
add dword [rax], eax
add byte [rcx - 0x77], cl
invalid
stc
pop rsp
invalid
invalid
loopne 0x140049bf1
sub dword [rbp - 0x10], ecx
cmovl ecx, dword [rcx + 0x5d2b48f3]
movabs al, byte [0x89480000017b820f]
jnp 0x140049bfe
add byte [rax], al
invalid
invalid
jnp 0x140049bfe
add byte [rax], al
add byte [rax - 0x77], cl
pop rdi
or byte [rax - 0x2176b6fe], dh
mov al, 2
mov r14, rbx
test byte [rax], al
add byte [rax], al
add byte [rax], al
invalid
test ecx, ecx
mov ecx, dword [rdi + 0x30]
cmp dword [r11], r8d
add al, 0x48
mov esi, dword [rsi - 8]
add byte [rax], al
add byte [rax], al
add byte [rdx + 1], dil
nop word cs:[rax + rax]
add byte [rax], al
add byte [rax], al
insb byte [rdi], dx
and al, 0x40
add byte [rax - 0x73], cl
add byte [rax], al
add byte [rax], al
test r8, r8
je 0x14004ba86
mov r9, r8
dec r8
cmp byte [rax + r9 - 1], 0x2e
jne 0x14004ba50
test r8, r8
je 0x14004bb15
sub rdx, r9
mov rcx, rax
add rcx, r9
test rax, rax
cmovne rcx, rax
test rcx, rcx
jne 0x14004ba9e
jmp 0x14004bb2a
mov rcx, rax
mov r8, rdx
sal byte [rcx], 1
ror byte [rax - 0x7b], 0xc0
jae 0x14004ba4c
add al, byte [rax]
xor ecx, ecx
cmp eax, 0x20
add r8b, byte [r8]
add byte [rax - 0x75], cl
push rbp
add byte [rax - 0x75], cl
cmp cl, byte [rbx + rcx*4 + 0x4a]
adc byte [rax - 0x77], cl
invalid
fisttp word [rdi]
xchg ecx, esp
add dword [rax], eax
add byte [rbp + rcx*4 + 0x67], cl
and byte [rax - 0x73], cl
lea eax, [rdi + rdi]
Function at 0x14004a870
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 esi, dword [0x140069098]
test esi, esi
je 0x14004a918
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14004a90f
je 0x14004a90d
movzx eax, byte [0x140081100]
mov edx, 0x10
xor ecx, ecx
call fcn.140057e30
test rax, rax
je 0x14004a939
mov qword [rax], 0
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14004a908
mov rax, qword [rdi]
test rax, rax
je 0x14004a8f7
lock dec qword [rax]
jne 0x14004a8f7
mov rcx, qword [rdi]
call fcn.14004a950
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rdi
call fcn.1400615a4
mov rax, rsi
jmp 0x14004a90f
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140069080]
call fcn.140025150
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14004a89a
jmp 0x14004a90f
mov ecx, 8
mov edx, 0x10
call fcn.14000e310
int3