Function at 0x140065830
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 [0x1400e9080]
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, [0x140069430]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp qword [r12 + 0x30], 0xa
jne 0x1400658a1
cmp qword [r12 + 0x50], 0x40
je 0x14006591d
movdqa xmm0, xmmword [0x1400c3350]
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1400c33c0]
movdqu xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x1400c3130]
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1400c3150]
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 0x1400658f0
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 0x140065996
mov rdx, qword [rbp + 0x2f0]
lea rcx, [rbp + 0x380]
call fcn.1400532a0
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.14003fed0
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x360]
call fcn.140061860
lea rcx, [rbp - 0x40]
call fcn.14004b310
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.1400591f0
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.1400548d0
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.14004b310
nop
lea rdi, [r12 + 0x40]
mov r8, rdi
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.140056410
lea rcx, [r12 + 0x258]
mov rdx, rax
call fcn.140061860
lea rcx, [rbp + 0x30]
call fcn.14004b310
nop
lea rcx, [rsp + 0x50]
call fcn.14004b310
lea rcx, [rbp + 0x3d8]
call fcn.140063250
nop
call fcn.14006eb80
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 0x140065b18
mov rdx, qword [r12]
xor r8d, r8d
mov rcx, rbx
call fcn.14006d6b0
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 0x140065ba0
mov byte [rsp + 0x46], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x45]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.1400591f0
nop
cmp byte [rsp + 0x7a], 0
je 0x140065bf5
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 9
jb 0x140065be0
mov byte [rsp + 0x7a], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x79]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xe0]
call fcn.1400591f0
nop
lea r9, [rbp + 0xc0]
lea r8, [rbp + 0xe0]
movzx edx, byte [rbp + 0x2f8]
lea rcx, [rbp + 0x30]
call fcn.140058fd0
nop
lea rcx, [rbp + 0xe0]
call fcn.14004b310
nop
lea rcx, [rbp + 0xc0]
call fcn.14004b310
nop
lea r8, [r12 + 0x60]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140056410
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp + 0x2d0]
call fcn.14005ad50
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.1400549c0
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.14005ae30
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.1400549c0
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.14005ad50
nop
mov r8, r14
mov rdx, rax
lea rcx, [rbp + 0x250]
call fcn.1400563a0
nop
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.14005af10
nop
lea r8, [r12 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x408]
call fcn.140056410
nop
lea rcx, [rbp + 0x270]
call fcn.14004b310
nop
lea rcx, [rbp + 0x250]
call fcn.14004b310
nop
lea rcx, [rbp + 0x290]
call fcn.14004b310
nop
lea rcx, [rbp - 0x40]
call fcn.14004b310
nop
lea rcx, [rbp + 0x2b0]
call fcn.14004b310
nop
lea rcx, [rbp - 0x60]
call fcn.14004b310
nop
lea rcx, [rbp + 0x2d0]
call fcn.14004b310
nop
lea rcx, [rbp - 0x20]
call fcn.14004b310
nop
lea rcx, [rbp + 0x30]
call fcn.14004b310
mov rcx, rbx
call fcn.14006eb60
lea rax, [rbp + 0xc0]
mov qword [rbp + 0x100], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp + 0xc0]
call fcn.140049830
mov rbx, rax
lea rdx, [rbp + 0x408]
lea rcx, [rbp + 0xe0]
call fcn.140049830
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x340]
call fcn.14006ace0
nop
movdqa xmm0, xmmword [0x1400c3020]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x60], 1
cmp qword [rbp + 0x350], 0x10
jne 0x140065ec6
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x4a]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xf
jb 0x140065e50
mov byte [rsp + 0x60], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x5f]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400591f0
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 0x140065ec6
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140065ec6
mov bl, 1
jmp 0x140065ec8
xor bl, bl
bt esi, 0x1c
jae 0x140065edc
btr esi, 0x1c
lea rcx, [rsp + 0x70]
call fcn.14004b310
test bl, bl
je 0x140065f5d
movdqa xmm0, xmmword [0x1400c3360]
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1400c3270]
movdqu xmmword [rbp - 0x10], xmm1
movdqa xmm0, xmmword [0x1400c3110]
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1400c3160]
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 0x140065f30
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.14005e510
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 0x140065fa0
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.1400591f0
or esi, 0xc0000000
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x140066001
mov byte [rbp + 0x300], 1
call fcn.14005ce60
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x140066008
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x14006601c
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.140061cc0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x3b8], xmm0
movdqa xmm1, xmmword [0x1400d6a60]
movdqu xmmword [rbp + 0x3c8], xmm1
mov byte [rbp + 0x3b8], 0
bts esi, 0x11
mov dword [rsp + 0x40], esi
cmp byte [rbx], 3
jne 0x14006605c
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x3b8]
cmp rax, rdx
je 0x140066079
jmp 0x14006605f
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14006606d
mov rdx, qword [rdx]
lea rcx, [rbp + 0x3b8]
call fcn.140055610
btr esi, 0x11
bts esi, 0x10
lea rcx, [rbp + 0x30]
call fcn.14004b310
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x430]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x430]
call fcn.140060de0
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.14005a860
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 0x140066112
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.140072210
mov r14, r15
cmp r15, r13
je 0x1400661a3
nop dword [rax]
movzx edi, byte [r14]
lea rdx, [0x140037f60]
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 0x140066140
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.14006d130
cmp qword [rax + 0x18], 0xf
jbe 0x1400661d4
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 0x14006627d
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066278
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066278
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcba0
xor r14d, r14d
test ebx, ebx
je 0x140066343
movdqa xmm0, xmmword [0x1400c3260]
movdqu xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x1400c3220]
movdqu xmmword [rbp + 0x60], xmm1
movdqa xmm0, xmmword [0x1400c32b0]
movdqu xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x1400c3300]
movdqu xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [0x1400c30b0]
movdqu xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x1400c30e0]
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 0x140066310
mov byte [rbp + 0xbc], r14b
lea r8, [rbp + 0x3b8]
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.140057230
mov rcx, rax
call fcn.140064890
lea rdx, [rbp + 0x300]
lea rcx, [rsp + 0x50]
call fcn.140060b70
mov rdx, rax
mov rcx, r12
call fcn.140068620
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 0x140066380
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400591f0
or esi, 3
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x1400663d9
mov byte [rbp + 0x300], 1
call fcn.14005ce60
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x1400663e0
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x1400663f6
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140061cc0
mov rcx, rax
jmp 0x1400663fb
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 0x140066447
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066442
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066442
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcba0
test bl, bl
je 0x140066736
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 0x140066470
mov byte [rsp + 0x5b], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x5a]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.1400591f0
nop
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x1400664c7
mov byte [rbp + 0x300], 1
call fcn.14005ce60
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x1400664ce
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x1400664e4
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140061cc0
mov rcx, rax
jmp 0x1400664e9
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 0x140066535
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066530
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066530
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcba0
test bl, bl
je 0x140066544
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 0x140066570
mov byte [rsp + 0x7a], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x79]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.1400591f0
nop
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x1400665c7
mov byte [rbp + 0x300], 1
call fcn.14005ce60
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x1400665ce
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x1400665e1
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140061cc0
jmp 0x1400665e6
mov rax, qword [rsp + 0x30]
lea rcx, [r12 + 0x238]
mov rdx, rax
call fcn.14005acc0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140066635
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066630
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066630
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcba0
mov byte [0x140115fd8], 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 0x140066660
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x2f8]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400591f0
nop
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x1400666b7
mov byte [rbp + 0x300], 1
call fcn.14005ce60
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x1400666be
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x1400666d1
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140061cc0
jmp 0x1400666d6
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140060b70
mov rdx, rax
mov rcx, r12
call fcn.140068200
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140066c37
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006672c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006672c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcba0
jmp 0x140066c37
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.1400bceb8
mov rbx, rax
lea rax, [rbp + 0x2f8]
mov qword [rbp + 0x310], rax
mov qword [rbp + 0x318], rbx
cmp byte [rsp + 0x5b], 0
je 0x1400667a5
mov rdx, r14
nop
lea ecx, [rdx - 0x4a]
xor byte [rsp + rdx + 0x50], cl
inc rdx
cmp rdx, 0xa
jb 0x140066790
mov byte [rsp + 0x5b], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x5a]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400591f0
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 0x1400667e0
mov byte [rsp + 0x38], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.1400591f0
or esi, 0x300
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x14006683a
mov byte [rbp + 0x300], 1
call fcn.14005ce60
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x140066841
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x140066854
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.140061cc0
jmp 0x140066859
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.1400618f0
movzx ebx, al
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400668a7
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400668a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400668a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcba0
movdqa xmm0, xmmword [0x1400d6a60]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
movzx edx, byte [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140063cb0
test bl, bl
je 0x140066c37
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 0x1400668f0
mov byte [rsp + 0x39], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.1400591f0
or esi, 0x3000
mov rdi, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x300]
test cl, cl
jne 0x14006694f
mov byte [rbp + 0x300], 1
call fcn.14005ce60
mov qword [rbp + 0x308], rax
movzx ecx, byte [rbp + 0x300]
jmp 0x140066956
mov rax, qword [rbp + 0x308]
cmp cl, 1
jne 0x14006696a
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.140061cc0
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 0x1400669b0
mov rdx, qword [rdi + 8]
lea rax, [rbp + 0x320]
cmp rax, rdx
je 0x1400669da
jmp 0x1400669b3
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], rbx
jbe 0x1400669c0
mov rdx, qword [rdx]
lea rcx, [rbp + 0x320]
call fcn.140055610
mov rbx, qword [rbp + 0x338]
mov r8, qword [rbp + 0x330]
mov rax, qword [rbp - 0x28]
cmp rax, 0xf
jbe 0x140066a02
mov r8, rax
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140055770
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 0x140066bb9
lea rdx, [0x1400d0446]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140066bb9
movdqa xmm0, xmmword [0x1400c31d0]
movdqu xmmword [rbp + 0x110], xmm0
movdqa xmm1, xmmword [0x1400c3290]
movdqu xmmword [rbp + 0x120], xmm1
movdqa xmm0, xmmword [0x1400c32c0]
movdqu xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x1400c3100]
movdqu xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x1400c30d0]
movdqu xmmword [rbp + 0x150], xmm0
movdqa xmm1, xmmword [0x1400c30a0]
movdqu xmmword [rbp + 0x160], xmm1
movdqa xmm0, xmmword [str.6utxtp2]
movdqu xmmword [rbp + 0x170], xmm0
movdqa xmm1, xmmword [0x1400c3090]
movdqu xmmword [rbp + 0x180], xmm1
movdqa xmm0, xmmword [0x1400c3070]
movdqu xmmword [rbp + 0x190], xmm0
movdqa xmm1, xmmword [0x1400c3080]
movdqu xmmword [rbp + 0x1a0], xmm1
movdqa xmm0, xmmword [str.__16433_b]
movdqu xmmword [rbp + 0x1b0], xmm0
movdqa xmm1, xmmword [0x1400c3060]
movdqu xmmword [rbp + 0x1c0], xmm1
movdqa xmm0, xmmword [0x1400c3390]
movdqu xmmword [rbp + 0x1d0], xmm0
movdqa xmm1, xmmword [0x1400c3380]
movdqu xmmword [rbp + 0x1e0], xmm1
movdqa xmm0, xmmword [0x1400c3310]
movdqu xmmword [rbp + 0x1f0], xmm0
movdqa xmm1, xmmword [0x1400c32f0]
movdqu xmmword [rbp + 0x200], xmm1
movdqa xmm0, xmmword [0x1400c31e0]
movdqu xmmword [rbp + 0x210], xmm0
movdqa xmm1, xmmword [0x1400c3250]
movdqu xmmword [rbp + 0x220], xmm1
movdqa xmm0, xmmword [0x1400c30f0]
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 0x140066b82
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 0x140066c12
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 0x140066be0
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 0x140066c37
mov rdx, qword [rbp + 0x320]
lea rcx, [rbp + 0x320]
call fcn.140055770
nop
test r15, r15
je 0x140066c77
mov rdx, qword [rbp + 0x3b0]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x140066c6e
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066c6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400bcba0
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.140061310
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 0x140066d14
inc rdx
mov rcx, qword [rbp + 0x3b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066d0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066d0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcba0
movdqa xmm0, xmmword [0x1400d6a60]
movdqu xmmword [rbp + 0x3c8], xmm0
mov byte [rbp + 0x3b8], 0
movzx edx, byte [rbp + 0x300]
lea rcx, [rbp + 0x308]
call fcn.140063cb0
nop
mov rdx, qword [rbp + 0x358]
cmp rdx, 0xf
jbe 0x140066d83
inc rdx
mov rcx, qword [rbp + 0x340]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066d7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066d7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcba0
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 0x140066de1
inc rdx
mov rcx, qword [rbp + 0x408]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066ddb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066ddb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcba0
nop
mov rdx, qword [rbp + 0x3f0]
cmp rdx, 0xf
jbe 0x140066e25
inc rdx
mov rcx, qword [rbp + 0x3d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066e20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066e20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcba0
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 0x140066e83
inc rdx
mov rcx, qword [rbp + 0x360]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066e7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066e7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcba0
nop
mov rdx, qword [rbp + 0x398]
cmp rdx, 0xf
jbe 0x140066ec7
inc rdx
mov rcx, qword [rbp + 0x380]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066ec2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066ec2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcba0
mov rcx, qword [rbp + 0x530]
xor rcx, rsp
call fcn.1400bc750
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