Function at 0x140016740
Capabilities:
Create process on windows
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x540]
sub rsp, 0x640
mov rax, qword [0x14008b088]
xor rax, rsp
mov qword [rbp + 0x530], rax
mov r12, rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x14001a340]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp qword [r12 + 0x30], 0xa
jne 0x1400167b1
cmp qword [r12 + 0x50], 0x40
je 0x14001682d
movdqa xmm0, xmmword [0x1400720a0]
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x140072110]
movdqu xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x140071e80]
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x140071ea0]
movdqu xmmword [rbp + 0x10], xmm1
mov dword [rbp + 0x20], 0x9ad6999f
mov dword [rbp + 0x24], 0x1008b8a
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rbp + rcx - 0x20], al
inc rcx
cmp rcx, 0x46
jb 0x140016800
mov byte [rbp + 0x27], r15b
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
int 0x29
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f8], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x380], xmm1
mov qword [rbp + 0x390], r15
mov qword [rbp + 0x398], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x380], r15b
lea rcx, [rbp + 0x3f8]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov qword [rbp + 0x2f0], r15
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp + 0x3f8]
call qword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
jne 0x1400168a6
mov rdx, qword [rbp + 0x2f0]
lea rcx, [rbp + 0x380]
call fcn.1400125a0
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x360], xmm0
mov qword [rbp + 0x370], r15
mov qword [rbp + 0x378], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x360], 0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, reloc.WS2_32.dll_recv
cmp qword [rbp + 0x390], r8
cmovb r8, qword [rbp + 0x390]
lea rdx, [rbp + 0x380]
cmp qword [rbp + 0x398], 0xf
cmova rdx, qword [rbp + 0x380]
lea rcx, [rbp - 0x40]
call fcn.14000a190
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x360]
call fcn.140012510
lea rcx, [rbp - 0x40]
call fcn.140009260
mov word [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_45
mov byte [rsp + 0x42], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x41]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.14000b130
nop
lea r8, [rbp + 0x360]
cmp qword [rbp + 0x378], 0xf
cmova r8, qword [rbp + 0x360]
mov r9, qword [rbp + 0x370]
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14000a750
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp - 0x60]
call fcn.140009260
nop
lea rdi, [r12 + 0x40]
mov r8, rdi
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.14000b2f0
lea rcx, [r12 + 0x258]
mov rdx, rax
call fcn.140012510
lea rcx, [rbp + 0x30]
call fcn.140009260
nop
lea rcx, [rsp + 0x50]
call fcn.140009260
lea rcx, [rbp + 0x3d8]
call fcn.140014130
nop
call fcn.14001faf0
mov rbx, rax
mov dword [rsp + 0x50], 0xd7cfd890
mov dword [rsp + 0x54], 0xd9d5c9df
mov word [rsp + 0x58], 0x83
mov byte [rsp + 0x5a], 1
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x140016a28
mov rdx, qword [r12]
xor r8d, r8d
mov rcx, rbx
call fcn.14001e620
mov r14, rax
mov dword [rbp - 0x68], 0xd4d9d990
mov dword [rbp - 0x64], 0x10086df
mov dword [rbp + 0x310], 0xdad6d290
mov dword [rbp + 0x314], 0x80c5ded1
mov word [rbp + 0x318], 0x100
mov dword [rbp - 0x70], 0xcad9df90
mov dword [rbp - 0x6c], 0x10086d2
mov dword [rsp + 0x40], 0xcbddc190
mov word [rsp + 0x44], 0x87
mov byte [rsp + 0x46], 1
mov dword [rsp + 0x70], 0xdcc8cec2
mov dword [rsp + 0x74], 0xd4d2d287
mov word [rsp + 0x78], 0xca
mov byte [rsp + 0x7a], 1
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 5
jb 0x140016ab0
mov byte [rsp + 0x46], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x45]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.14000b130
nop
cmp byte [rsp + 0x7a], 0
je 0x140016b05
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 9
jb 0x140016af0
mov byte [rsp + 0x7a], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x79]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xe0]
call fcn.14000b130
nop
lea r9, [rbp + 0xc0]
lea r8, [rbp + 0xe0]
movzx edx, byte [rbp + 0x2f8]
lea rcx, [rbp + 0x30]
call fcn.140011770
nop
lea rcx, [rbp + 0xe0]
call fcn.140009260
nop
lea rcx, [rbp + 0xc0]
call fcn.140009260
nop
lea r8, [r12 + 0x60]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.14000b2f0
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp + 0x2d0]
call fcn.14000b530
nop
lea rdx, [rbp + 0x3d8]
cmp qword [rbp + 0x3f0], 0xf
cmova rdx, qword [rbp + 0x3d8]
mov r8, qword [rbp + 0x3e8]
mov rcx, rax
call fcn.140009830
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp + 0x310]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x2b0]
call fcn.14000b610
nop
lea rdx, [rbp + 0x360]
cmp qword [rbp + 0x378], 0xf
cmova rdx, qword [rbp + 0x360]
mov r8, qword [rbp + 0x370]
mov rcx, rax
call fcn.140009830
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov esi, 0xffc0000
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x290]
call fcn.14000b530
nop
mov r8, r14
mov rdx, rax
lea rcx, [rbp + 0x250]
call fcn.14000b360
nop
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.14000b6f0
nop
lea r8, [r12 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x408]
call fcn.14000b2f0
nop
lea rcx, [rbp + 0x270]
call fcn.140009260
nop
lea rcx, [rbp + 0x250]
call fcn.140009260
nop
lea rcx, [rbp + 0x290]
call fcn.140009260
nop
lea rcx, [rbp - 0x40]
call fcn.140009260
nop
lea rcx, [rbp + 0x2b0]
call fcn.140009260
nop
lea rcx, [rbp - 0x60]
call fcn.140009260
nop
lea rcx, [rbp + 0x2d0]
call fcn.140009260
nop
lea rcx, [rbp - 0x20]
call fcn.140009260
nop
lea rcx, [rbp + 0x30]
call fcn.140009260
mov rcx, rbx
call fcn.14001fad0
lea rax, [rbp + 0xc0]
mov qword [rbp + 0x100], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp + 0xc0]
call fcn.140009550
mov rbx, rax
lea rdx, [rbp + 0x408]
lea rcx, [rbp + 0xe0]
call fcn.140009550
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x340]
call fcn.14001bbf0
nop
movdqa xmm0, xmmword [0x140071d70]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x60], 1
cmp qword [rbp + 0x350], 0x10
jne 0x140016dd6
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xf
jb 0x140016d60
mov byte [rsp + 0x60], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x5f]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14000b130
mov esi, 0x3ffc0000
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
lea rcx, [rbp + 0x340]
cmp qword [rbp + 0x358], 0xf
cmova rcx, qword [rbp + 0x340]
mov r8, qword [rbp + 0x350]
cmp r8, qword [rbp - 0x80]
jne 0x140016dd6
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140016dd6
mov bl, 1
jmp 0x140016dd8
xor bl, bl
bt esi, 0x1c
jae 0x140016dec
btr esi, 0x1c
lea rcx, [rsp + 0x70]
call fcn.140009260
test bl, bl
je 0x140016e6d
movdqa xmm0, xmmword [0x1400720b0]
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x140071fc0]
movdqu xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x140071e60]
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x140071eb0]
movdqu xmmword [rbp + 0x10], xmm1
mov dword [rbp + 0x20], 0xd69384
mov byte [rbp + 0x24], 1
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rbp + rcx - 0x20], al
inc rcx
cmp rcx, 0x43
jb 0x140016e40
mov byte [rbp + 0x24], 0
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
int 0x29
mov qword [rbp + 0x18], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x300]
call fcn.14000eea0
nop
mov dword [rsp + 0x30], 0xcacbd2db
mov dword [rsp + 0x34], 0xd9dcdb
mov byte [rsp + 0x38], 1
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140016eb0
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.14000b130
or esi, 0xc0000000
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x140016f11
mov byte [rbp + 0x300], 1
call fcn.14000d7f0
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x140016f18
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x140016f2c
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.1400129f0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x3b8], xmm0
movdqa xmm1, xmmword [0x14007fc60]
movdqu xmmword [rbp + 0x3c8], xmm1
mov byte [rbp + 0x3b8], 0
bts esi, 0x11
mov dword [rsp + 0x40], esi
cmp byte [rbx], 3
jne 0x140016f6c
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x3b8]
cmp rax, rdx
je 0x140016f89
jmp 0x140016f6f
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140016f7d
mov rdx, qword [rdx]
lea rcx, [rbp + 0x3b8]
call fcn.140013c20
btr esi, 0x11
bts esi, 0x10
lea rcx, [rbp + 0x30]
call fcn.140009260
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x430]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x430]
call fcn.140011960
nop
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3a0], xmm1
mov qword [rbp + 0x3b0], r15
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rbp + 0x3a0]
call fcn.140012fd0
mov r15, qword [rbp + 0x3a0]
lea r13, [r15 + 0x20]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
movups xmmword [r15 + 0x10], xmm0
mov qword [rbp + 0x3a8], r13
lea r8, [rbp + 0x340]
cmp qword [rbp + 0x358], 0xf
cmova r8, qword [rbp + 0x340]
cmp qword [rdi + 0x18], 0xf
jbe 0x140017022
mov rdi, qword [rdi]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r15
mov r9, qword [rbp + 0x350]
mov rdx, qword [r12 + 0x50]
mov rcx, rdi
call fcn.140023180
mov r14, r15
cmp r15, r13
je 0x1400170b3
nop dword [rax]
movzx edi, byte [r14]
lea rdx, [0x140016710]
lea rcx, [rbp + 0x440]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0x30
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
mov edx, 2
lea rcx, [rsp + 0x50]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov edx, edi
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
inc r14
cmp r14, r13
jne 0x140017050
lea rbx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rbx, qword [section..data]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x430]
call fcn.14001e040
cmp qword [rax + 0x18], 0xf
jbe 0x1400170e4
mov rax, qword [rax]
movd xmm2, dword [rbx]
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
psrad xmm2, 0x18
movd xmm0, dword [rax]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm2, xmm0
movd xmm1, dword [rbx + 4]
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
psrad xmm1, 0x18
movd xmm0, dword [rax + 4]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
orps xmm2, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd ebx, xmm2
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14001718d
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017188
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017188
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d83c
xor r14d, r14d
test ebx, ebx
je 0x140017253
movdqa xmm0, xmmword [0x140071fb0]
movdqu xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x140071f70]
movdqu xmmword [rbp + 0x60], xmm1
movdqa xmm0, xmmword [0x140072000]
movdqu xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x140072050]
movdqu xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [0x140071e00]
movdqu xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x140071e30]
movdqu xmmword [rbp + 0xa0], xmm1
mov dword [rbp + 0xb0], 0x7c553779
mov dword [rbp + 0xb4], 0x7a7d6869
mov dword [rbp + 0xb8], 0x257b
mov byte [rbp + 0xbc], 1
mov ecx, r14d
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rbp + rcx + 0x50], al
inc rcx
cmp rcx, 0x6b
jb 0x140017220
mov byte [rbp + 0xbc], r14b
lea r8, [rbp + 0x3b8]
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.14000b3d0
mov rcx, rax
call fcn.140015770
lea rdx, [rbp + 0x300]
lea rcx, [rsp + 0x50]
call fcn.140011500
mov rdx, rax
mov rcx, r12
call fcn.140019530
mov dword [rsp + 0x30], 0xdadbc2c5
mov dword [rsp + 0x34], 0xcfc8df
mov byte [rsp + 0x38], 1
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140017290
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14000b130
or esi, 3
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x1400172e9
mov byte [rbp + 0x300], 1
call fcn.14000d7f0
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x1400172f0
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x140017306
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.1400129f0
mov rcx, rax
jmp 0x14001730b
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r14
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140017357
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017352
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017352
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d83c
test bl, bl
je 0x140017646
mov dword [rsp + 0x50], 0xeacfd2d8
mov dword [rsp + 0x54], 0xd4cfc8df
mov dword [rsp + 0x58], 0x100d1d1
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xa
jb 0x140017380
mov byte [rsp + 0x5b], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x5a]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.14000b130
nop
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x1400173d7
mov byte [rbp + 0x300], 1
call fcn.14000d7f0
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x1400173de
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x1400173f4
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.1400129f0
mov rcx, rax
jmp 0x1400173f9
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r14
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140017445
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017440
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017440
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d83c
test bl, bl
je 0x140017454
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x70], 0xcacbd2c5
mov dword [rsp + 0x74], 0xd4d2d4d3
mov word [rsp + 0x78], 0xda
mov byte [rsp + 0x7a], 1
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 9
jb 0x140017480
mov byte [rsp + 0x7a], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x79]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.14000b130
nop
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x1400174d7
mov byte [rbp + 0x300], 1
call fcn.14000d7f0
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x1400174de
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x1400174f1
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.1400129f0
jmp 0x1400174f6
mov rax, qword [rsp + 0x30]
lea rcx, [r12 + 0x238]
mov rdx, rax
call fcn.14000b260
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140017545
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017540
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017540
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d83c
mov byte [0x14008b698], 1
mov dword [rsp + 0x30], 0xd0c8c7d7
mov dword [rsp + 0x34], 0xd3ddd4
mov byte [rsp + 0x38], 1
mov rcx, r14
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140017570
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14000b130
nop
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x1400175c7
mov byte [rbp + 0x300], 1
call fcn.14000d7f0
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x1400175ce
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x1400175e1
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.1400129f0
jmp 0x1400175e6
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140011500
mov rdx, rax
mov rcx, r12
call fcn.140019110
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140017b47
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001763c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001763c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d83c
jmp 0x140017b47
mov dword [rsp + 0x50], 0xd8ced9df
mov dword [rsp + 0x54], 0xcbd8d2d6
mov dword [rsp + 0x58], 0x100cddb
xor eax, eax
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x70], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x310], xmm0
lea ecx, [rax + 0x20]
call fcn.14006d800
mov rbx, rax
lea rax, [rbp + 0x2f8]
mov qword [rbp + 0x310], rax
mov qword [rbp + 0x318], rbx
cmp byte [rsp + 0x5b], 0
je 0x1400176b5
mov rdx, r14
nop
lea ecx, [rdx - 0x4a]
xor byte [rsp + rdx + 0x50], cl
inc rdx
cmp rdx, 0xa
jb 0x1400176a0
mov byte [rsp + 0x5b], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x5a]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000b130
or esi, 0xc0
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x30], 0xcacbd2db
mov dword [rsp + 0x34], 0xd9dcdb
mov byte [rsp + 0x38], 1
mov rcx, r14
nop
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1400176f0
mov byte [rsp + 0x38], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.14000b130
or esi, 0x300
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x14001774a
mov byte [rbp + 0x300], 1
call fcn.14000d7f0
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x140017751
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x140017764
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.1400129f0
jmp 0x140017769
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.140012620
movzx ebx, al
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400177b7
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400177b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400177b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d83c
movdqa xmm0, xmmword [0x14007fc60]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
movzx edx, byte [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140014b90
test bl, bl
je 0x140017b47
mov dword [rsp + 0x30], 0xd7cfd8d2
mov dword [rsp + 0x34], 0xd9ddd4d6
mov word [rsp + 0x38], 0x100
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x140017800
mov byte [rsp + 0x39], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.14000b130
or esi, 0x3000
mov rdi, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x14001785f
mov byte [rbp + 0x300], 1
call fcn.14000d7f0
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x140017866
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x14001787a
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.1400129f0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x320], xmm0
mov r8, r14
mov qword [rbp + 0x330], r14
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x338], rbx
mov byte [rbp + 0x320], 0
bts esi, 0xf
mov dword [rsp + 0x40], esi
cmp byte [rdi], 3
jne 0x1400178c0
mov rdx, qword [rdi + 8]
lea rax, [rbp + 0x320]
cmp rax, rdx
je 0x1400178ea
jmp 0x1400178c3
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], rbx
jbe 0x1400178d0
mov rdx, qword [rdx]
lea rcx, [rbp + 0x320]
call fcn.140013c20
mov rbx, qword [rbp + 0x338]
mov r8, qword [rbp + 0x330]
mov rax, qword [rbp - 0x28]
cmp rax, 0xf
jbe 0x140017912
mov r8, rax
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.1400131c0
mov rbx, qword [rbp + 0x338]
mov r8, qword [rbp + 0x330]
lea rcx, [rbp + 0x320]
mov rdi, qword [rbp + 0x320]
cmp rbx, 0xf
cmova rcx, rdi
test r8, r8
jne 0x140017ac9
lea rdx, [0x14007f252]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140017ac9
movdqa xmm0, xmmword [0x140071f20]
movdqu xmmword [rbp + 0x110], xmm0
movdqa xmm1, xmmword [0x140071fe0]
movdqu xmmword [rbp + 0x120], xmm1
movdqa xmm0, xmmword [0x140072010]
movdqu xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x140071e50]
movdqu xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x140071e20]
movdqu xmmword [rbp + 0x150], xmm0
movdqa xmm1, xmmword [0x140071df0]
movdqu xmmword [rbp + 0x160], xmm1
movdqa xmm0, xmmword [str.6utxtp2]
movdqu xmmword [rbp + 0x170], xmm0
movdqa xmm1, xmmword [0x140071de0]
movdqu xmmword [rbp + 0x180], xmm1
movdqa xmm0, xmmword [0x140071dc0]
movdqu xmmword [rbp + 0x190], xmm0
movdqa xmm1, xmmword [0x140071dd0]
movdqu xmmword [rbp + 0x1a0], xmm1
movdqa xmm0, xmmword [str.__16433_b]
movdqu xmmword [rbp + 0x1b0], xmm0
movdqa xmm1, xmmword [0x140071db0]
movdqu xmmword [rbp + 0x1c0], xmm1
movdqa xmm0, xmmword [0x1400720e0]
movdqu xmmword [rbp + 0x1d0], xmm0
movdqa xmm1, xmmword [0x1400720d0]
movdqu xmmword [rbp + 0x1e0], xmm1
movdqa xmm0, xmmword [0x140072060]
movdqu xmmword [rbp + 0x1f0], xmm0
movdqa xmm1, xmmword [0x140072040]
movdqu xmmword [rbp + 0x200], xmm1
movdqa xmm0, xmmword [0x140071f30]
movdqu xmmword [rbp + 0x210], xmm0
movdqa xmm1, xmmword [0x140071fa0]
movdqu xmmword [rbp + 0x220], xmm1
movdqa xmm0, xmmword [0x140071e40]
movdqu xmmword [rbp + 0x230], xmm0
mov dword [rbp + 0x240], 0x90849385
mov word [rbp + 0x244], Ordinal_200
mov byte [rbp + 0x246], 1
mov rcx, r14
lea eax, [rcx - 0x4a]
xor byte [rbp + rcx + 0x110], al
inc rcx
cmp rcx, 0x135
jb 0x140017a92
mov byte [rbp + 0x246], 0
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
lea rdx, [rbp + 0x110]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140017b22
lea r8, [rbp + 0x320]
cmp rbx, 0xf
cmova r8, rdi
mov dword [rsp + 0x40], 0xd7ddc7d9
mov word [rsp + 0x44], 0x100
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x140017af0
mov byte [rsp + 0x45], 0
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
int 0x29
mov r8, qword [rbp + 0x338]
cmp r8, 0xf
jbe 0x140017b47
mov rdx, qword [rbp + 0x320]
lea rcx, [rbp + 0x320]
call fcn.1400131c0
nop
test r15, r15
je 0x140017b87
mov rdx, qword [rbp + 0x3b0]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x140017b7e
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017b7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14006d83c
nop
mov rax, qword [rbp + 0x430]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x430], rax
mov rax, qword [rbp + 0x430]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x42c], edx
lea rcx, [rbp + 0x448]
call fcn.140011f40
lea rcx, [rbp + 0x450]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x4c8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x3d0]
cmp rdx, 0xf
jbe 0x140017c24
inc rdx
mov rcx, qword [rbp + 0x3b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017c1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017c1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d83c
movdqa xmm0, xmmword [0x14007fc60]
movdqu xmmword [rbp + 0x3c8], xmm0
mov byte [rbp + 0x3b8], 0
movzx edx, byte [rbp + 0x300]
lea rcx, [rbp + 0x308]
call fcn.140014b90
nop
mov rdx, qword [rbp + 0x358]
cmp rdx, 0xf
jbe 0x140017c93
inc rdx
mov rcx, qword [rbp + 0x340]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017c8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017c8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d83c
mov qword [rbp + 0x350], r14
mov qword [rbp + 0x358], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x340], 0
mov rdx, qword [rbp + 0x420]
cmp rdx, 0xf
jbe 0x140017cf1
inc rdx
mov rcx, qword [rbp + 0x408]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017ceb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017ceb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d83c
nop
mov rdx, qword [rbp + 0x3f0]
cmp rdx, 0xf
jbe 0x140017d35
inc rdx
mov rcx, qword [rbp + 0x3d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017d30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017d30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d83c
mov qword [rbp + 0x3e8], r14
mov qword [rbp + 0x3f0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x3d8], 0
mov rdx, qword [rbp + 0x378]
cmp rdx, 0xf
jbe 0x140017d93
inc rdx
mov rcx, qword [rbp + 0x360]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017d8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017d8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d83c
nop
mov rdx, qword [rbp + 0x398]
cmp rdx, 0xf
jbe 0x140017dd7
inc rdx
mov rcx, qword [rbp + 0x380]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017dd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017dd2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d83c
mov rcx, qword [rbp + 0x530]
xor rcx, rsp
call fcn.14006df90
lea r11, [rsp + 0x640]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret