Function at 0x1802439a0
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 - 0x450]
sub rsp, 0x550
mov rax, qword [0x1802f40c0]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov r12, rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov esi, r13d
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [0x180246a40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp qword [r12 + 0x30], 0xa
jne 0x180243a19
cmp qword [r12 + 0x50], 0x40
je 0x180243a89
movdqa xmm0, xmmword [0x1802bac30]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1802bacf0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x1802bac90]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1802babf0]
movdqa xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x20], 0x8dc38282
mov dword [rbp - 0x1c], 0x100809f
mov rcx, r13
nop
lea eax, [rcx - 0x55]
xor byte [rbp + rcx - 0x60], al
inc rcx
cmp rcx, 0x46
jb 0x180243a60
mov byte [rbp - 0x19], sil
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x330], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x2d0], xmm1
mov rbx, r13
mov qword [rbp + 0x2e0], rbx
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x2e8], rdi
mov byte [rbp + 0x2d0], bl
lea rcx, [rbp + 0x330]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov qword [rbp + 0x200], r13
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x330]
call qword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
jne 0x180243b24
mov rdx, qword [rbp + 0x200]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180243af3
lea rcx, [rbp + 0x2d0]
call fcn.18011d230
lea rcx, [rbp + 0x200]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeA]
mov rdi, qword [rbp + 0x2e8]
mov rbx, qword [rbp + 0x2e0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x2b0], xmm0
mov qword [rbp + 0x2c0], r13
mov qword [rbp + 0x2c8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2b0], 0
movups xmmword [rbp + 0x270], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x280], xmm1
mov r8d, reloc.WS2_32.dll_recv
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp + 0x2d0]
cmp rdi, 0x10
cmovae rdx, qword [rbp + 0x2d0]
lea rcx, [rbp + 0x270]
call fcn.180125a30
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x2b0]
call fcn.180119280
mov r8, qword [rbp + 0x288]
cmp r8, 0x10
jb 0x180243bbb
inc r8
mov rdx, qword [rbp + 0x270]
lea rcx, [rbp + 0x270]
call fcn.180026b40
mov word [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_45
mov byte [rsp + 0x42], 0
lea r9, [rbp + 0x208]
lea r8, [rsp + 0x41]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x310]
call fcn.18012e260
nop
lea r8, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 0x10
cmovae r8, qword [rbp + 0x2b0]
mov r9, qword [rbp + 0x2c0]
xor edx, edx
lea rcx, [rbp + 0x310]
call fcn.1801bb7f0
xorps xmm0, xmm0
movups xmmword [rbp + 0x250], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x260], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x250], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x260], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp + 0x310]
call fcn.180026a40
nop
lea rdi, [r12 + 0x40]
mov r8, rdi
lea rdx, [rbp + 0x250]
lea rcx, [rsp + 0x70]
call fcn.1802383a0
lea rcx, [r12 + 0x258]
mov rdx, rax
call fcn.180119280
lea rcx, [rsp + 0x70]
call fcn.180026a40
nop
lea rcx, [rbp + 0x250]
call fcn.180026a40
lea rcx, [rbp + 0x2f0]
call fcn.180240950
nop
call fcn.18024bb60
mov rbx, rax
mov dword [rbp + 0x210], 0xc0dac38d
mov dword [rbp + 0x214], 0xd6d8c2ca
mov word [rbp + 0x218], Ordinal_143
mov byte [rbp + 0x21a], 1
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x180243cdf
mov rdx, qword [r12]
xor r8d, r8d
mov rcx, rbx
call fcn.18024a690
mov r14, rax
mov dword [rbp - 0x68], 0xc3ccc28d
mov dword [rbp - 0x64], 0x1008dca
mov dword [rbp + 0x240], 0xcdc3c98d
mov dword [rbp + 0x244], 0x8fc8d5c4
mov word [rbp + 0x248], 0x100
mov dword [rbp - 0x70], 0xddccc48d
mov dword [rbp - 0x6c], 0x1008dc7
mov dword [rsp + 0x40], 0xdcc8da8d
mov word [rsp + 0x44], __WSAFDIsSet
mov byte [rsp + 0x46], 1
mov dword [rsp + 0x50], 0xcbddd5df
mov dword [rsp + 0x54], 0xdbdfd992
mov word [rsp + 0x58], Ordinal_200
mov byte [rsp + 0x5a], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 5
jb 0x180243d60
mov byte [rsp + 0x46], 0
lea r9, [rbp + 0x208]
lea r8, [rsp + 0x45]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.18012e260
nop
cmp byte [rsp + 0x5a], 0
je 0x180243db5
mov rcx, r13
nop dword [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 9
jb 0x180243da0
mov byte [rsp + 0x5a], 0
lea r9, [rbp + 0x208]
lea r8, [rsp + 0x59]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x310]
call fcn.18012e260
nop
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x310]
movzx edx, byte [rbp + 0x208]
lea rcx, [rbp + 0x270]
call fcn.180129760
nop
lea rcx, [rbp + 0x310]
call fcn.180026a40
nop
lea rcx, [rsp + 0x70]
call fcn.180026a40
nop
lea r8, [r12 + 0x60]
lea rdx, [rbp + 0x270]
lea rcx, [rbp - 0x60]
call fcn.1802383a0
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp + 0x1c0]
call fcn.180238410
nop
lea rdx, [rbp + 0x2f0]
cmp qword [rbp + 0x308], 0x10
cmovae rdx, qword [rbp + 0x2f0]
mov r8, qword [rbp + 0x300]
mov rcx, rax
call fcn.1800268f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x250], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x260], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp + 0x240]
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x1a0]
call fcn.1802384f0
nop
lea rdx, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 0x10
cmovae rdx, qword [rbp + 0x2b0]
mov r8, qword [rbp + 0x2c0]
mov rcx, rax
call fcn.1800268f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
call fcn.180238410
nop
mov r8, r14
mov rdx, rax
lea rcx, [rbp + 0x160]
call fcn.18011fe90
nop
lea r8, [rbp + 0x210]
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.1802385d0
nop
lea r8, [r12 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x310]
call fcn.1802383a0
nop
lea rcx, [rbp + 0x140]
call fcn.180026a40
nop
lea rcx, [rbp + 0x160]
call fcn.180026a40
nop
lea rcx, [rbp + 0x180]
call fcn.180026a40
nop
lea rcx, [rsp + 0x70]
call fcn.180026a40
nop
lea rcx, [rbp + 0x1a0]
call fcn.180026a40
nop
lea rcx, [rbp + 0x250]
call fcn.180026a40
nop
lea rcx, [rbp + 0x1c0]
call fcn.180026a40
nop
lea rcx, [rbp - 0x60]
call fcn.180026a40
nop
lea rcx, [rbp + 0x270]
call fcn.180026a40
mov rcx, rbx
call fcn.18024bb40
lea rax, [rsp + 0x70]
mov qword [rbp - 0x10], rax
lea rdx, [r12 + 0x80]
lea rcx, [rsp + 0x70]
call fcn.1801193c0
mov rbx, rax
lea rdx, [rbp + 0x310]
lea rcx, [rbp + 0x1e0]
call fcn.1801193c0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x290]
call fcn.180247d90
nop
movdqa xmm0, xmmword [0x1802bab60]
movdqu xmmword [rbp + 0x210], xmm0
mov byte [rbp + 0x220], 1
cmp qword [rbp + 0x2a0], 0x10
jne 0x1802440ab
mov rcx, r13
nop dword [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rbp + rcx + 0x210], al
inc rcx
cmp rcx, 0xf
jb 0x180244020
mov byte [rbp + 0x220], 0
lea r9, [rbp + 0x208]
lea r8, [rbp + 0x21f]
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x250]
call fcn.18012e260
mov esi, 3
lea rdx, [rbp + 0x250]
cmp qword [rbp + 0x268], 0x10
cmovae rdx, qword [rbp + 0x250]
lea rcx, [rbp + 0x290]
cmp qword [rbp + 0x2a8], 0x10
cmovae rcx, qword [rbp + 0x290]
mov r8, qword [rbp + 0x2a0]
cmp r8, qword [rbp + 0x260]
jne 0x1802440ab
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1802440ab
mov bl, 1
jmp 0x1802440ad
xor bl, bl
test sil, 1
je 0x1802440bf
lea rcx, [rbp + 0x250]
call fcn.180026a40
test bl, bl
je 0x180244139
movdqa xmm0, xmmword [0x1802bac20]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1802bac70]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x1802baca0]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1802bac00]
movdqa xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x20], 0xc38899
mov byte [rbp - 0x1c], 1
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rbp + rcx - 0x60], al
inc rcx
cmp rcx, 0x43
jb 0x180244110
mov byte [rbp - 0x1c], 0
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov qword [rbp - 0x28], r13
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x230]
call fcn.18023b810
nop
mov dword [rsp + 0x30], 0xdddec9c6
mov dword [rsp + 0x34], 0xd4d7ce
mov byte [rsp + 0x38], 1
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x180244180
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x208]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x270]
call fcn.18012e260
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x230]
test cl, cl
jne 0x1802441df
mov byte [rbp + 0x230], 1
call fcn.18023a080
mov qword [rbp + 0x238], rax
movzx ecx, byte [rbp + 0x230]
jmp 0x1802441e6
mov rax, qword [rbp + 0x238]
cmp cl, 1
jne 0x1802441fd
lea rdx, [rbp + 0x270]
mov rcx, rax
call fcn.18023efe0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x250], xmm0
movdqa xmm1, xmmword [0x1802baae0]
movdqu xmmword [rbp + 0x260], xmm1
mov byte [rbp + 0x250], 0
mov dword [rsp + 0x40], 0xffec0000
cmp byte [rbx], 3
jne 0x18024423d
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x250]
cmp rax, rdx
je 0x18024425b
jmp 0x180244240
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18024424e
mov rdx, qword [rdx]
lea rcx, [rbp + 0x250]
call fcn.18011d230
nop
mov r8, qword [rbp + 0x288]
cmp r8, 0x10
jb 0x18024427e
inc r8
mov rdx, qword [rbp + 0x270]
lea rcx, [rbp + 0x270]
call fcn.180026b40
movdqa xmm0, xmmword [0x1802baae0]
movdqu xmmword [rbp + 0x280], xmm0
mov byte [rbp + 0x270], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x340]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x340]
call fcn.18023e2d0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x270], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1802996d0
mov r14, rax
mov qword [rbp + 0x270], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x280], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x278], r15
lea r8, [rbp + 0x290]
cmp qword [rbp + 0x2a8], 0x10
cmovae r8, qword [rbp + 0x290]
cmp qword [rdi + 0x18], 0x10
jb 0x180244316
mov rdi, qword [rdi]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x2a0]
mov rdx, qword [r12 + 0x50]
mov rcx, rdi
call fcn.18024ee60
mov rsi, r14
cmp r14, r15
je 0x18024439e
movzx edi, byte [rsi]
lea rdx, [0x180243980]
lea rcx, [rbp + 0x350]
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 rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], Ordinal_50
mov edx, 2
lea rcx, [rbp + 0x210]
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 rsi
cmp rsi, r15
jne 0x180244340
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1802baae0]
movdqu xmmword [rsp + 0x60], xmm1
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x40], 0xffdc0002
xor eax, eax
movups xmmword [rbp + 0x210], xmm0
mov qword [rbp + 0x220], rax
mov rcx, qword [rbp + 0x3c8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x18024440d
mov rax, qword [rbp + 0x398]
mov r8, qword [rax]
test r8, r8
je 0x18024440d
mov rax, qword [rbp + 0x378]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x3c0]
cmovb r8, qword [rbp + 0x3c0]
sub r8, rdx
jmp 0x18024444b
test cl, 4
jne 0x18024443d
mov rax, qword [rbp + 0x390]
mov rcx, qword [rax]
test rcx, rcx
je 0x18024443d
mov rax, qword [rbp + 0x370]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x3a8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x18024444b
mov r8, qword [rbp + 0x218]
mov rdx, qword [rbp + 0x210]
test rdx, rdx
je 0x18024445b
lea rcx, [rsp + 0x50]
call fcn.18011d230
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18024449b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180244496
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180244496
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x210]
call fcn.18023dfc0
mov rdx, rax
mov rcx, r12
call fcn.180245660
mov dword [rsp + 0x30], 0xcdced9d8
mov dword [rsp + 0x34], 0xc2c3ca
mov byte [rsp + 0x38], 1
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1802444e0
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x208]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.18012e260
nop
movzx ecx, byte [rbp + 0x230]
test cl, cl
jne 0x180244538
mov byte [rbp + 0x230], 1
call fcn.18023a080
mov qword [rbp + 0x238], rax
movzx ecx, byte [rbp + 0x230]
jmp 0x18024453f
mov rax, qword [rbp + 0x238]
cmp cl, 1
jne 0x180244556
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.18023efe0
mov rcx, rax
jmp 0x18024455b
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r13
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1802445a8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802445a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802445a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
test bl, bl
je 0x1802448b9
mov dword [rbp + 0x210], 0xfddac9c5
mov dword [rbp + 0x214], 0xdbc2c3ca
mov dword [rbp + 0x218], 0x100dadc
mov rcx, r13
lea eax, [rcx - 0x55]
xor byte [rbp + rcx + 0x210], al
inc rcx
cmp rcx, 0xa
jb 0x1802445d1
mov byte [rbp + 0x21b], 0
lea r9, [rbp + 0x208]
lea r8, [rbp + 0x21a]
lea rdx, [rbp + 0x210]
lea rcx, [rsp + 0x70]
call fcn.18012e260
nop
movzx ecx, byte [rbp + 0x230]
test cl, cl
jne 0x180244632
mov byte [rbp + 0x230], 1
call fcn.18023a080
mov qword [rbp + 0x238], rax
movzx ecx, byte [rbp + 0x230]
jmp 0x180244639
mov rax, qword [rbp + 0x238]
cmp cl, 1
jne 0x180244650
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.18023efe0
mov rcx, rax
jmp 0x180244655
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r13
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1802446a2
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024469d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024469d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
test bl, bl
je 0x1802446b1
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x50], 0xdddec9d8
mov dword [rsp + 0x54], 0xdbdfdfc6
mov word [rsp + 0x58], Ordinal_217
mov byte [rsp + 0x5a], 1
mov rcx, r13
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 9
jb 0x1802446d0
mov byte [rsp + 0x5a], 0
lea r9, [rbp + 0x208]
lea r8, [rsp + 0x59]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.18012e260
nop
movzx ecx, byte [rbp + 0x230]
test cl, cl
jne 0x180244728
mov byte [rbp + 0x230], 1
call fcn.18023a080
mov qword [rbp + 0x238], rax
movzx ecx, byte [rbp + 0x230]
jmp 0x18024472f
mov rax, qword [rbp + 0x238]
cmp cl, 1
jne 0x180244743
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.18023efe0
jmp 0x180244748
mov rax, qword [rsp + 0x30]
cmp byte [rax], 3
jne 0x180244753
mov r8, qword [rax + 8]
jmp 0x180244756
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180244763
mov rdx, qword [r8]
lea rcx, [r12 + 0x238]
mov r8, qword [r8 + 0x10]
call fcn.18011d230
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1802447b4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802447af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802447af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
mov byte [0x1803776b8], 1
mov dword [rsp + 0x30], 0xc7dddcca
mov dword [rsp + 0x34], 0xded6c1
mov byte [rsp + 0x38], 1
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1802447e0
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x208]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.18012e260
nop
movzx ecx, byte [rbp + 0x230]
test cl, cl
jne 0x180244838
mov byte [rbp + 0x230], 1
call fcn.18023a080
mov qword [rbp + 0x238], rax
movzx ecx, byte [rbp + 0x230]
jmp 0x18024483f
mov rax, qword [rbp + 0x238]
cmp cl, 1
jne 0x180244853
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.18023efe0
jmp 0x180244858
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp + 0x210]
call fcn.18023dfc0
mov rdx, rax
mov rcx, r12
call fcn.1802454e0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180244e07
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180244e01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180244e01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [rbp + 0x210], 0xcfdbc2c2
mov dword [rbp + 0x214], 0xc4d5d9c3
mov dword [rbp + 0x218], 0x100c6d6
xor eax, eax
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x50], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x240], xmm0
lea ecx, [rax + 0x20]
call fcn.1802996d0
mov rbx, rax
lea rax, [rbp + 0x208]
mov qword [rbp + 0x240], rax
mov qword [rbp + 0x248], rbx
cmp byte [rbp + 0x21b], 0
je 0x18024493a
mov rdx, r13
nop dword [rax]
lea ecx, [rdx - 0x55]
xor byte [rbp + rdx + 0x210], cl
inc rdx
cmp rdx, 0xa
jb 0x180244920
mov byte [rbp + 0x21b], 0
lea r9, [rsp + 0x48]
lea r8, [rbp + 0x21a]
lea rdx, [rbp + 0x210]
mov rcx, rbx
call fcn.18012e260
nop
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x30], 0xdddec9c6
mov dword [rsp + 0x34], 0xd4d7ce
mov byte [rsp + 0x38], 1
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x180244980
mov byte [rsp + 0x38], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.18012e260
nop
movzx ecx, byte [rbp + 0x230]
test cl, cl
jne 0x1802449d6
mov byte [rbp + 0x230], 1
call fcn.18023a080
mov qword [rbp + 0x238], rax
movzx ecx, byte [rbp + 0x230]
jmp 0x1802449dd
mov rax, qword [rbp + 0x238]
cmp cl, 1
jne 0x1802449f1
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.18023efe0
jmp 0x1802449f6
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.18023ec40
movzx ebx, al
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180244a45
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180244a40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180244a40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
movdqa xmm0, xmmword [0x1802baae0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.180241490
test bl, bl
je 0x180244e07
mov dword [rsp + 0x30], 0xc0dac3cf
mov dword [rsp + 0x34], 0xd6d0dfc3
mov word [rsp + 0x38], 0x100
mov rcx, r13
nop dword [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x180244a90
mov byte [rsp + 0x39], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.18012e260
nop
mov rdi, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x230]
test cl, cl
jne 0x180244aeb
mov byte [rbp + 0x230], 1
call fcn.18023a080
mov qword [rbp + 0x238], rax
movzx ecx, byte [rbp + 0x230]
jmp 0x180244af2
mov rax, qword [rbp + 0x238]
cmp cl, 1
jne 0x180244b07
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.18023efe0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x210], xmm0
mov r8, r13
mov qword [rbp + 0x220], r13
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x228], rbx
mov byte [rbp + 0x210], r8b
mov dword [rsp + 0x40], 0xffdec0fd
cmp byte [rdi], 3
jne 0x180244b4d
mov rdx, qword [rdi + 8]
lea rax, [rbp + 0x210]
cmp rax, rdx
je 0x180244b78
jmp 0x180244b50
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180244b5e
mov rdx, qword [rdx]
lea rcx, [rbp + 0x210]
call fcn.18011d230
mov rbx, qword [rbp + 0x228]
mov r8, qword [rbp + 0x220]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180244bc5
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180244bb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180244bb2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
mov rbx, qword [rbp + 0x228]
mov r8, qword [rbp + 0x220]
lea rcx, [rbp + 0x210]
mov rdi, qword [rbp + 0x210]
cmp rbx, 0x10
cmovae rcx, rdi
test r8, r8
jne 0x180244d61
lea rdx, [0x1802cd612]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180244d61
movdqa xmm0, xmmword [0x1802bace0]
movdqa xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1802bac60]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [0x1802bad40]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [0x1802bac50]
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmm0, xmmword [0x1802bac10]
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x1802babe0]
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmm0, xmmword [0x1802babb0]
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1802babc0]
movdqa xmmword [rbp + 0x70], xmm1
movdqa xmm0, xmmword [0x1802babd0]
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x1802baba0]
movdqa xmmword [rbp + 0x90], xmm1
movdqa xmm0, xmmword [str.9____p__s_3w_8_O]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [str.3_2__]
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmm0, xmmword [0x1802bab80]
movdqa xmmword [rbp + 0xc0], xmm0
movdqa xmm1, xmmword [0x1802bad30]
movdqa xmmword [rbp + 0xd0], xmm1
movdqa xmm0, xmmword [0x1802bad10]
movdqa xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x1802bacc0]
movdqa xmmword [rbp + 0xf0], xmm1
movdqa xmm0, xmmword [0x1802bacd0]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1802bac80]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x1802bacb0]
movdqa xmmword [rbp + 0x120], xmm0
mov dword [rbp + 0x130], 0xa7b1a8b8
mov word [rbp + 0x134], 0xf1
mov byte [rbp + 0x136], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x55]
xor byte [rbp + rcx], al
inc rcx
cmp rcx, 0x135
jb 0x180244d30
mov byte [rbp + 0x136], 0
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x180244dc2
lea r8, [rbp + 0x210]
cmp rbx, 0x10
cmovae r8, rdi
mov dword [rsp + 0x40], 0xc0c8dcc4
mov word [rsp + 0x44], 0x100
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x180244d90
mov byte [rsp + 0x45], 0
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdx, qword [rbp + 0x228]
cmp rdx, 0x10
jb 0x180244e07
inc rdx
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180244e01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180244e01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
nop
test r14, r14
je 0x180244e40
sub r15, r14
cmp r15, 0x1000
jb 0x180244e34
add r15, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x180244ed8
mov r14, rcx
mov rdx, r15
mov rcx, r14
call fcn.18029970c
nop
mov rax, qword [rbp + 0x340]
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 + 0x340], rax
mov rax, qword [rbp + 0x340]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x33c], edx
lea rcx, [rbp + 0x358]
call fcn.18023e6f0
lea rcx, [rbp + 0x360]
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 + 0x3d8]
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 + 0x268]
cmp rdx, 0x10
jb 0x180244ee5
inc rdx
mov rcx, qword [rbp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180244edf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180244edf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.18029970c
nop
movzx edx, byte [rbp + 0x230]
lea rcx, [rbp + 0x238]
call fcn.180241490
nop
mov rdx, qword [rbp + 0x2a8]
cmp rdx, 0x10
jb 0x180244f3d
inc rdx
mov rcx, qword [rbp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180244f38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180244f38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
mov qword [rbp + 0x2a0], r13
mov qword [rbp + 0x2a8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x290], 0
mov rdx, qword [rbp + 0x328]
cmp rdx, 0x10
jb 0x180244f9b
inc rdx
mov rcx, qword [rbp + 0x310]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180244f95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180244f95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
nop
mov rdx, qword [rbp + 0x308]
cmp rdx, 0x10
jb 0x180244fdf
inc rdx
mov rcx, qword [rbp + 0x2f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180244fda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180244fda
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
mov qword [rbp + 0x300], r13
mov qword [rbp + 0x308], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2f0], 0
mov rdx, qword [rbp + 0x2c8]
cmp rdx, 0x10
jb 0x18024503d
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180245037
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180245037
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
nop
mov rdx, qword [rbp + 0x2e8]
cmp rdx, 0x10
jb 0x180245081
inc rdx
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024507c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024507c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.180299b50
lea r11, [rsp + 0x550]
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