Function at 0x140029b30
Capabilities:
Create thread
Encrypt data using rc4 ksa

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x210
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1401d4770]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xor edi, edi
mov dword [rsp + 0x3c], edi
movsd xmm0, qword [str.test_key_000]
movsd qword [rbp + 0x40], xmm0
mov eax, dword [0x1401aac60]
mov dword [rbp + 0x48], eax
movzx eax, byte [0x1401aac64]
mov byte [rbp + 0x4c], al
movsd xmm6, qword [str.This_is_a_test]
mov eax, dword [0x1401aac70]
mov dword [rsp + 0x34], eax
movzx eax, word [0x1401aac74]
mov word [rsp + 0x38], ax
movzx eax, byte [0x1401aac76]
mov byte [rsp + 0x30], al
xor r8b, r8b
xor r10b, r10b
xor r9b, r9b
xor eax, eax
xor ecx, ecx
cpuid
mov r11d, eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x4c], edx
cmp eax, 1
jl 0x140029c10
mov eax, 1
xor ecx, ecx
cpuid
mov r8d, ecx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x4c], edx
mov r10d, ecx
shr r10d, 9
and r10b, 1
shr r8d, 0x19
and r8b, 1
cmp r11d, 7
jl 0x140029c3a
mov eax, 7
xor ecx, ecx
cpuid
mov r9d, ebx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x4c], edx
shr r9d, 5
and r9b, 1
mov esi, 8
mov eax, 0xa
test r8b, r8b
cmovne esi, eax
call fcn.1400c499c
test rax, rax
je 0x140029c5c
test r9b, r9b
je 0x140029c5c
or esi, 0x40
lea rax, [0x1400c5a70]
test rax, rax
je 0x140029c70
test r10b, r10b
je 0x140029c70
or esi, 0x20
or esi, 4
mov dword [rsp + 0x68], esi
mov ecx, esi
call fcn.1400bfe58
mov r13, rax
test rax, rax
jne 0x140029c9b
lea rcx, str.Cache_allocation_failed_n
call fcn.140029a20
lea eax, [r13 + 1]
jmp 0x14002a371
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, [rbp + 0x40]
mov rcx, r13
call fcn.1400c004c
mov ecx, esi
call fcn.1400c01f8
mov r14, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x140029cd6
lea rcx, str.Dataset_allocation_failed_n
call fcn.140029a20
lea eax, [r14 + 1]
jmp 0x14002a371
mov dword [rsp + 0x60], 1
call fcn.140141e30
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x64]
cmp eax, 1
cmovae rcx, rdx
mov r15d, dword [rcx]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rax
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov edx, r15d
mov rax, qword [rbp - 0x38]
sub rax, qword [rbp - 0x48]
sar rax, 4
cmp r15, rax
jbe 0x140029d41
movabs rax, 0xfffffffffffffff
cmp rdx, rax
ja 0x14002a3ac
lea rcx, [rbp - 0x48]
call fcn.14002a7a0
mov r12d, 1
cmp r15d, r12d
jbe 0x140029e48
mov esi, 0x207ffff
mov rbx, qword [rbp - 0x40]
nop dword [rax]
xor edx, edx
mov eax, esi
div r15d
mov ecx, eax
lea eax, [rsi + 0x207ffff]
xor edx, edx
div r15d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x78], ecx
mov dword [rbp - 0x74], eax
cmp rbx, qword [rbp - 0x38]
je 0x140029e1d
mov qword [rbp - 0x30], rdi
mov ecx, 0x18
call fcn.140140c80
mov r14, rax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rax], xmm0
movsd xmm1, qword [rbp - 0x78]
movsd qword [rax + 0x10], xmm1
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x3c]
or eax, 1
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0x58], rdi
mov qword [rbp - 0x30], r14
and eax, 0xfffffffe
mov dword [rsp + 0x3c], eax
lea r8, [0x14002aba0]
lea rax, [rbx + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, r14
xor edx, edx
xor ecx, ecx
call fcn.140151410
mov qword [rbx], rax
test rax, rax
je 0x14002a3b2
mov qword [rbp - 0x30], rdi
mov rbx, qword [rbp - 0x40]
add rbx, 0x10
mov qword [rbp - 0x40], rbx
mov r14, qword [rsp + 0x70]
jmp 0x140029e32
lea r8, [rsp + 0x78]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.14002a9c0
mov rbx, qword [rbp - 0x40]
inc r12d
add esi, 0x207ffff
cmp r12d, r15d
jb 0x140029d60
mov esi, dword [rsp + 0x68]
xor edx, edx
mov eax, 0x207ffff
div r15d
mov r9d, eax
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, r13
call qword [r13 + 0x20]
mov rbx, qword [rbp - 0x48]
mov r14, qword [rbp - 0x40]
cmp rbx, r14
je 0x140029eb5
nop
cmp dword [rbx + 8], 0
je 0x14002a3d6
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x14002a3cb
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x70], xmm0
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140141e50
test eax, eax
jne 0x14002a3c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, r14
jne 0x140029e70
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140029f24
mov rdx, qword [rbp - 0x40]
mov rax, rcx
cmp rcx, rdx
je 0x140029ee3
nop word [rax + rax]
cmp dword [rax + 8], 0
jne 0x14002a3e1
add rax, 0x10
cmp rax, rdx
jne 0x140029ed0
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x140029f13
add rdx, 0x27
mov rbx, qword [rcx - 8]
sub rcx, rbx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002a3e7
mov rcx, rbx
call fcn.140140cc0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov rcx, r13
call qword [r13 + reloc.WS2_32.dll_htonl]
nop
lea rcx, [r13 + 0x8380]
call fcn.14001a9b0
mov rcx, qword [r13 + 0x8368]
test rcx, rcx
je 0x140029f99
mov rax, qword [r13 + 0x8378]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x140029f7f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002a3a6
mov rcx, r8
call fcn.140140cc0
mov qword [r13 + 0x8368], rdi
mov qword [r13 + 0x8370], rdi
mov qword [r13 + 0x8378], rdi
mov edx, 0x83a8
mov rcx, r13
call fcn.140140cc0
mov r13, qword [rsp + 0x70]
mov r8, r13
xor edx, edx
mov ecx, esi
call fcn.1400c02a0
mov rbx, rax
test rax, rax
jne 0x140029fd3
lea rcx, str.Failed_to_create_a_virtual_machine
call fcn.140029a20
lea eax, [rbx + 1]
jmp 0x14002a371
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movsd qword [rbp + 0x20], xmm6
mov eax, dword [rsp + 0x34]
mov dword [rbp + 0x28], eax
movzx eax, word [rsp + 0x38]
mov word [rbp + 0x2c], ax
movzx eax, byte [rsp + 0x30]
mov byte [rbp + 0x2e], al
mov r15, rdi
nop
stmxcsr dword [rsp + 0x34]
mov r12d, dword [rsp + 0x34]
mov r9d, 0x20
lea r8, [rbp + 0x20]
lea edx, [r9 + 0x20]
lea rcx, [rbp - 0x20]
call fcn.1400c63ac
mov rax, qword [rbx]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [rax + 0x30]
mov dword [rsp + 0x34], 0x9fc0
ldmxcsr dword [rsp + 0x34]
mov esi, 7
mov rax, qword [rbx]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [rax + 0x38]
mov r9d, 0x100
lea r8, [rbx + 0x8c0]
mov edx, 0x40
lea rcx, [rbp - 0x20]
call fcn.1400c63ac
sub rsi, 1
jne 0x14002a040
mov rax, qword [rbx]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [rax + 0x38]
mov rax, qword [rbx]
lea r8d, [rsi + 0x20]
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov dword [rsp + 0x34], r12d
ldmxcsr dword [rsp + 0x34]
inc r15
cmp r15, 0x64
jb 0x14002a000
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x90], al
mov rdx, rdi
lea r8, str.0123456789abcdef
nop dword [rax + rax]
movzx ecx, byte [rbp + rdx + 0x20]
mov eax, ecx
shr rax, 4
movzx eax, byte [rax + r8]
mov byte [rsp + 0x30], al
and ecx, 0xf
movzx eax, byte [rcx + r8]
mov byte [rsp + 0x31], al
cmp edi, 0x3e
jg 0x14002a10a
movsxd rax, edi
lea rcx, [rbp + 0x50]
add rcx, rax
movzx eax, word [rsp + 0x30]
mov word [rcx], ax
add edi, 2
movzx ecx, byte [rbp + rdx + 0x21]
mov eax, ecx
shr rax, 4
movzx eax, byte [rax + r8]
mov byte [rsp + 0x30], al
and ecx, 0xf
movzx eax, byte [rcx + r8]
mov byte [rsp + 0x31], al
cmp edi, 0x3e
jg 0x14002a144
movsxd rax, edi
lea rcx, [rbp + 0x50]
add rcx, rax
movzx eax, word [rsp + 0x30]
mov word [rcx], ax
add edi, 2
movzx ecx, byte [rbp + rdx + 0x22]
mov eax, ecx
shr rax, 4
movzx eax, byte [rax + r8]
mov byte [rsp + 0x30], al
and ecx, 0xf
movzx eax, byte [rcx + r8]
mov byte [rsp + 0x31], al
cmp edi, 0x3e
jg 0x14002a17e
movsxd rax, edi
lea rcx, [rbp + 0x50]
add rcx, rax
movzx eax, word [rsp + 0x30]
mov word [rcx], ax
add edi, 2
movzx ecx, byte [rbp + rdx + 0x23]
mov eax, ecx
shr rax, 4
movzx eax, byte [rax + r8]
mov byte [rsp + 0x30], al
and ecx, 0xf
movzx eax, byte [rcx + r8]
mov byte [rsp + 0x31], al
cmp edi, 0x3e
jg 0x14002a1b8
movsxd rax, edi
lea rcx, [rbp + 0x50]
add rcx, rax
movzx eax, word [rsp + 0x30]
mov word [rcx], ax
add edi, 2
movzx ecx, byte [rbp + rdx + 0x24]
mov eax, ecx
shr rax, 4
movzx eax, byte [rax + r8]
mov byte [rsp + 0x30], al
and ecx, 0xf
movzx eax, byte [rcx + r8]
mov byte [rsp + 0x31], al
cmp edi, 0x3e
jg 0x14002a1f2
movsxd rax, edi
lea rcx, [rbp + 0x50]
add rcx, rax
movzx eax, word [rsp + 0x30]
mov word [rcx], ax
add edi, 2
movzx ecx, byte [rbp + rdx + 0x25]
mov eax, ecx
shr rax, 4
movzx eax, byte [rax + r8]
mov byte [rsp + 0x30], al
and ecx, 0xf
movzx eax, byte [rcx + r8]
mov byte [rsp + 0x31], al
cmp edi, 0x3e
jg 0x14002a22c
movsxd rax, edi
lea rcx, [rbp + 0x50]
add rcx, rax
movzx eax, word [rsp + 0x30]
mov word [rcx], ax
add edi, 2
movzx ecx, byte [rbp + rdx + 0x26]
mov eax, ecx
shr rax, 4
movzx eax, byte [rax + r8]
mov byte [rsp + 0x30], al
and ecx, 0xf
movzx eax, byte [rcx + r8]
mov byte [rsp + 0x31], al
cmp edi, 0x3e
jg 0x14002a266
movsxd rax, edi
lea rcx, [rbp + 0x50]
add rcx, rax
movzx eax, word [rsp + 0x30]
mov word [rcx], ax
add edi, 2
movzx ecx, byte [rbp + rdx + 0x27]
mov eax, ecx
shr rax, 4
movzx eax, byte [rax + r8]
mov byte [rsp + 0x30], al
and ecx, 0xf
movzx eax, byte [rcx + r8]
mov byte [rsp + 0x31], al
cmp edi, 0x3e
jg 0x14002a2a0
movsxd rax, edi
lea rcx, [rbp + 0x50]
add rcx, rax
movzx eax, word [rsp + 0x30]
mov word [rcx], ax
add edi, 2
add rdx, 8
cmp rdx, 0x20
jb 0x14002a0d0
lea eax, [rdi + 1]
cmp eax, 0x40
jg 0x14002a2be
movsxd rax, edi
mov byte [rbp + rax + 0x50], 0
movdqa xmm0, xmmword [0x1401b40a0]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x1401b40c0]
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmm0, xmmword [0x1401b40b0]
movdqa xmmword [rbp + 0xc0], xmm0
movdqa xmm1, xmmword [0x1401b40f0]
movdqa xmmword [rbp + 0xd0], xmm1
mov byte [rbp + 0xe0], 0
mov r8d, 0x40
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x50]
call fcn.140145aa0
test eax, eax
je 0x14002a33d
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0xa0]
lea rcx, str.Invalid_hash_calculated:_expected__s__got__s_n
call fcn.140029a20
mov eax, 1
jmp 0x14002a371
test rbx, rbx
je 0x14002a34f
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rcx, r13
call qword [r13 + reloc.WS2_32.dll_htonl]
mov edx, reloc.WS2_32.dll_recv
mov rcx, r13
call fcn.140140cc0
lea rcx, str.Self_test_passed_n
call fcn.140029a20
xor eax, eax
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140140c60
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140149dd0
nop
call fcn.140012d80
nop
mov dword [rbx + 8], edi
mov ecx, 6
call fcn.140142f7c
nop
mov ecx, 2
call fcn.140142f7c
int3
mov ecx, 5
call fcn.140142f7c
int3
mov ecx, 1
call fcn.140142f7c
nop
call fcn.1401514f0
int3
call fcn.140149dd0
int3