Function at 0x140016c20
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 [0x14008c080]
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, [0x14001a820]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp qword [r12 + 0x30], 0xa
jne 0x140016c91
cmp qword [r12 + 0x50], 0x40
je 0x140016d0d
movdqa xmm0, xmmword [0x1400730e0]
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x140073150]
movdqu xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x140072ec0]
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x140072ee0]
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 0x140016ce0
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 0x140016d86
mov rdx, qword [rbp + 0x2f0]
lea rcx, [rbp + 0x380]
call fcn.140012b10
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.14000a490
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x360]
call fcn.140012a80
lea rcx, [rbp - 0x40]
call fcn.140009330
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.14000b780
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.14000ada0
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.140009330
nop
lea rdi, [r12 + 0x40]
mov r8, rdi
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.14000b940
lea rcx, [r12 + 0x258]
mov rdx, rax
call fcn.140012a80
lea rcx, [rbp + 0x30]
call fcn.140009330
nop
lea rcx, [rsp + 0x50]
call fcn.140009330
lea rcx, [rbp + 0x3d8]
call fcn.140014610
nop
call fcn.14001ffd0
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 0x140016f08
mov rdx, qword [r12]
xor r8d, r8d
mov rcx, rbx
call fcn.14001eb00
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 0x140016f90
mov byte [rsp + 0x46], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x45]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.14000b780
nop
cmp byte [rsp + 0x7a], 0
je 0x140016fe5
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 9
jb 0x140016fd0
mov byte [rsp + 0x7a], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x79]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xe0]
call fcn.14000b780
nop
lea r9, [rbp + 0xc0]
lea r8, [rbp + 0xe0]
movzx edx, byte [rbp + 0x2f8]
lea rcx, [rbp + 0x30]
call fcn.140011dc0
nop
lea rcx, [rbp + 0xe0]
call fcn.140009330
nop
lea rcx, [rbp + 0xc0]
call fcn.140009330
nop
lea r8, [r12 + 0x60]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.14000b940
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp + 0x2d0]
call fcn.14000bb80
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.140009800
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.14000bc60
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.140009800
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.14000bb80
nop
mov r8, r14
mov rdx, rax
lea rcx, [rbp + 0x250]
call fcn.14000b9b0
nop
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.14000bd40
nop
lea r8, [r12 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x408]
call fcn.14000b940
nop
lea rcx, [rbp + 0x270]
call fcn.140009330
nop
lea rcx, [rbp + 0x250]
call fcn.140009330
nop
lea rcx, [rbp + 0x290]
call fcn.140009330
nop
lea rcx, [rbp - 0x40]
call fcn.140009330
nop
lea rcx, [rbp + 0x2b0]
call fcn.140009330
nop
lea rcx, [rbp - 0x60]
call fcn.140009330
nop
lea rcx, [rbp + 0x2d0]
call fcn.140009330
nop
lea rcx, [rbp - 0x20]
call fcn.140009330
nop
lea rcx, [rbp + 0x30]
call fcn.140009330
mov rcx, rbx
call fcn.14001ffb0
lea rax, [rbp + 0xc0]
mov qword [rbp + 0x100], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp + 0xc0]
call fcn.140009520
mov rbx, rax
lea rdx, [rbp + 0x408]
lea rcx, [rbp + 0xe0]
call fcn.140009520
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x340]
call fcn.14001c0d0
nop
movdqa xmm0, xmmword [0x140072db0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x60], 1
cmp qword [rbp + 0x350], 0x10
jne 0x1400172b6
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xf
jb 0x140017240
mov byte [rsp + 0x60], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x5f]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14000b780
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 0x1400172b6
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400172b6
mov bl, 1
jmp 0x1400172b8
xor bl, bl
bt esi, 0x1c
jae 0x1400172cc
btr esi, 0x1c
lea rcx, [rsp + 0x70]
call fcn.140009330
test bl, bl
je 0x14001734d
movdqa xmm0, xmmword [0x1400730f0]
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x140073000]
movdqu xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x140072ea0]
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x140072ef0]
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 0x140017320
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.14000f4f0
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 0x140017390
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.14000b780
or esi, 0xc0000000
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x1400173f1
mov byte [rbp + 0x300], 1
call fcn.14000de40
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x1400173f8
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x14001740c
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.140012f60
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x3b8], xmm0
movdqa xmm1, xmmword [0x140080f20]
movdqu xmmword [rbp + 0x3c8], xmm1
mov byte [rbp + 0x3b8], 0
bts esi, 0x11
mov dword [rsp + 0x40], esi
cmp byte [rbx], 3
jne 0x14001744c
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x3b8]
cmp rax, rdx
je 0x140017469
jmp 0x14001744f
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14001745d
mov rdx, qword [rdx]
lea rcx, [rbp + 0x3b8]
call fcn.140014100
btr esi, 0x11
bts esi, 0x10
lea rcx, [rbp + 0x30]
call fcn.140009330
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x430]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x430]
call fcn.140011fb0
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.1400134f0
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 0x140017502
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.140023660
mov r14, r15
cmp r15, r13
je 0x140017593
nop dword [rax]
movzx edi, byte [r14]
lea rdx, [0x140016bf0]
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 0x140017530
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.14001e520
cmp qword [rax + 0x18], 0xf
jbe 0x1400175c4
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 0x14001766d
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017668
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017668
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e1fc
xor r14d, r14d
test ebx, ebx
je 0x140017733
movdqa xmm0, xmmword [0x140072ff0]
movdqu xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x140072fb0]
movdqu xmmword [rbp + 0x60], xmm1
movdqa xmm0, xmmword [0x140073040]
movdqu xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x140073090]
movdqu xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [0x140072e40]
movdqu xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x140072e70]
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 0x140017700
mov byte [rbp + 0xbc], r14b
lea r8, [rbp + 0x3b8]
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.14000ba20
mov rcx, rax
call fcn.140015c50
lea rdx, [rbp + 0x300]
lea rcx, [rsp + 0x50]
call fcn.140011b50
mov rdx, rax
mov rcx, r12
call fcn.140019a10
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 0x140017770
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14000b780
or esi, 3
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x1400177c9
mov byte [rbp + 0x300], 1
call fcn.14000de40
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x1400177d0
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x1400177e6
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140012f60
mov rcx, rax
jmp 0x1400177eb
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 0x140017837
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017832
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017832
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e1fc
test bl, bl
je 0x140017b26
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 0x140017860
mov byte [rsp + 0x5b], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x5a]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.14000b780
nop
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x1400178b7
mov byte [rbp + 0x300], 1
call fcn.14000de40
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x1400178be
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x1400178d4
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140012f60
mov rcx, rax
jmp 0x1400178d9
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 0x140017925
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017920
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017920
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e1fc
test bl, bl
je 0x140017934
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 0x140017960
mov byte [rsp + 0x7a], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x79]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.14000b780
nop
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x1400179b7
mov byte [rbp + 0x300], 1
call fcn.14000de40
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x1400179be
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x1400179d1
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140012f60
jmp 0x1400179d6
mov rax, qword [rsp + 0x30]
lea rcx, [r12 + 0x238]
mov rdx, rax
call fcn.14000b8b0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140017a25
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017a20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017a20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e1fc
mov byte [0x14008c7b8], 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 0x140017a50
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14000b780
nop
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x140017aa7
mov byte [rbp + 0x300], 1
call fcn.14000de40
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x140017aae
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x140017ac1
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140012f60
jmp 0x140017ac6
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140011b50
mov rdx, rax
mov rcx, r12
call fcn.1400195f0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140018027
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017b1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017b1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e1fc
jmp 0x140018027
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.14006e1c0
mov rbx, rax
lea rax, [rbp + 0x2f8]
mov qword [rbp + 0x310], rax
mov qword [rbp + 0x318], rbx
cmp byte [rsp + 0x5b], 0
je 0x140017b95
mov rdx, r14
nop
lea ecx, [rdx - 0x4a]
xor byte [rsp + rdx + 0x50], cl
inc rdx
cmp rdx, 0xa
jb 0x140017b80
mov byte [rsp + 0x5b], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x5a]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000b780
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 0x140017bd0
mov byte [rsp + 0x38], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.14000b780
or esi, 0x300
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x140017c2a
mov byte [rbp + 0x300], 1
call fcn.14000de40
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x140017c31
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x140017c44
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.140012f60
jmp 0x140017c49
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.140012b90
movzx ebx, al
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140017c97
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017c92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017c92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e1fc
movdqa xmm0, xmmword [0x140080f20]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
movzx edx, byte [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140015070
test bl, bl
je 0x140018027
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 0x140017ce0
mov byte [rsp + 0x39], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.14000b780
or esi, 0x3000
mov rdi, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x140017d3f
mov byte [rbp + 0x300], 1
call fcn.14000de40
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x140017d46
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x140017d5a
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.140012f60
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 0x140017da0
mov rdx, qword [rdi + 8]
lea rax, [rbp + 0x320]
cmp rax, rdx
je 0x140017dca
jmp 0x140017da3
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], rbx
jbe 0x140017db0
mov rdx, qword [rdx]
lea rcx, [rbp + 0x320]
call fcn.140014100
mov rbx, qword [rbp + 0x338]
mov r8, qword [rbp + 0x330]
mov rax, qword [rbp - 0x28]
cmp rax, 0xf
jbe 0x140017df2
mov r8, rax
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.1400098e0
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 0x140017fa9
lea rdx, [0x1400803b2]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140017fa9
movdqa xmm0, xmmword [0x140072f60]
movdqu xmmword [rbp + 0x110], xmm0
movdqa xmm1, xmmword [0x140073020]
movdqu xmmword [rbp + 0x120], xmm1
movdqa xmm0, xmmword [0x140073050]
movdqu xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x140072e90]
movdqu xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x140072e60]
movdqu xmmword [rbp + 0x150], xmm0
movdqa xmm1, xmmword [0x140072e30]
movdqu xmmword [rbp + 0x160], xmm1
movdqa xmm0, xmmword [str.6utxtp2]
movdqu xmmword [rbp + 0x170], xmm0
movdqa xmm1, xmmword [0x140072e20]
movdqu xmmword [rbp + 0x180], xmm1
movdqa xmm0, xmmword [0x140072e00]
movdqu xmmword [rbp + 0x190], xmm0
movdqa xmm1, xmmword [0x140072e10]
movdqu xmmword [rbp + 0x1a0], xmm1
movdqa xmm0, xmmword [str.__16433_b]
movdqu xmmword [rbp + 0x1b0], xmm0
movdqa xmm1, xmmword [0x140072df0]
movdqu xmmword [rbp + 0x1c0], xmm1
movdqa xmm0, xmmword [0x140073120]
movdqu xmmword [rbp + 0x1d0], xmm0
movdqa xmm1, xmmword [0x140073110]
movdqu xmmword [rbp + 0x1e0], xmm1
movdqa xmm0, xmmword [0x1400730a0]
movdqu xmmword [rbp + 0x1f0], xmm0
movdqa xmm1, xmmword [0x140073080]
movdqu xmmword [rbp + 0x200], xmm1
movdqa xmm0, xmmword [0x140072f70]
movdqu xmmword [rbp + 0x210], xmm0
movdqa xmm1, xmmword [0x140072fe0]
movdqu xmmword [rbp + 0x220], xmm1
movdqa xmm0, xmmword [0x140072e80]
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 0x140017f72
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 0x140018002
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 0x140017fd0
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 0x140018027
mov rdx, qword [rbp + 0x320]
lea rcx, [rbp + 0x320]
call fcn.1400098e0
nop
test r15, r15
je 0x140018067
mov rdx, qword [rbp + 0x3b0]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14001805e
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001805e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14006e1fc
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.1400124d0
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 0x140018104
inc rdx
mov rcx, qword [rbp + 0x3b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400180ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400180ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e1fc
movdqa xmm0, xmmword [0x140080f20]
movdqu xmmword [rbp + 0x3c8], xmm0
mov byte [rbp + 0x3b8], 0
movzx edx, byte [rbp + 0x300]
lea rcx, [rbp + 0x308]
call fcn.140015070
nop
mov rdx, qword [rbp + 0x358]
cmp rdx, 0xf
jbe 0x140018173
inc rdx
mov rcx, qword [rbp + 0x340]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001816e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001816e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e1fc
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 0x1400181d1
inc rdx
mov rcx, qword [rbp + 0x408]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400181cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400181cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e1fc
nop
mov rdx, qword [rbp + 0x3f0]
cmp rdx, 0xf
jbe 0x140018215
inc rdx
mov rcx, qword [rbp + 0x3d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018210
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018210
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e1fc
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 0x140018273
inc rdx
mov rcx, qword [rbp + 0x360]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001826d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001826d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e1fc
nop
mov rdx, qword [rbp + 0x398]
cmp rdx, 0xf
jbe 0x1400182b7
inc rdx
mov rcx, qword [rbp + 0x380]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400182b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400182b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e1fc
mov rcx, qword [rbp + 0x530]
xor rcx, rsp
call fcn.14006e940
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