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

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 - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [0x140099080]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r14, rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [0x140025320]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp qword [r14 + 0x30], 0xa
jne 0x140023830
cmp qword [r14 + 0x50], 0x40
jne 0x140023830
xorps xmm0, xmm0
movups xmmword [rbp + 0x348], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x2d0], xmm1
mov ebx, r13d
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 + 0x348]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov qword [rbp + 0x260], r13
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x348]
call qword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
jne 0x140022592
mov rdx, qword [rbp + 0x260]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140022561
lea rcx, [rbp + 0x2d0]
call fcn.1400147b0
lea rcx, [rbp + 0x260]
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 - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], 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 - 0x20]
call fcn.140012da0
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x2b0]
call fcn.14001b500
lea rcx, [rbp - 0x20]
call fcn.140011590
mov word [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_45
mov byte [rsp + 0x42], 0
lea r9, [rbp + 0x268]
lea r8, [rsp + 0x41]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140012a10
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, [rsp + 0x48]
call fcn.1400238a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
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
mov r8, qword [rsp + 0x60]
cmp r8, 0x10
jb 0x1400226a1
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140011e50
movdqa xmm0, xmmword [0x14008c840]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea rdi, [r14 + 0x40]
mov r8, rdi
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.140014f30
lea rcx, [r14 + 0x258]
mov rdx, rax
call fcn.14001b500
lea rcx, [rbp - 0x60]
call fcn.140011590
nop
lea rcx, [rsp + 0x70]
call fcn.140011590
lea rcx, [rbp + 0x2f0]
call fcn.14001eeb0
nop
call fcn.14002a820
mov rbx, rax
mov dword [rsp + 0x48], 0xf0eaf3bd
mov dword [rsp + 0x4c], 0xc6c8d2fa
mov word [rsp + 0x50], 0x9e
mov byte [rsp + 0x52], 1
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14002272a
mov rdx, qword [r14]
xor r8d, r8d
mov rcx, rbx
call fcn.140029350
mov rsi, rax
mov dword [rbp - 0x68], 0xf3fcf2bd
mov dword [rbp - 0x64], 0x1009dfa
mov dword [rbp + 0x280], 0xfdf3f9bd
mov dword [rbp + 0x284], 0x9fd8c5f4
mov word [rbp + 0x288], 0x100
mov dword [rbp - 0x70], 0xedfcf4bd
mov dword [rbp - 0x6c], 0x1009df7
mov dword [rsp + 0x40], 0xecf8eabd
mov word [rsp + 0x44], 0xa2
mov byte [rsp + 0x46], 1
mov dword [rsp + 0x70], 0xfbede5ef
mov dword [rsp + 0x74], 0xcbcfc9a2
mov word [rsp + 0x78], Ordinal_217
mov byte [rsp + 0x7a], 1
mov rcx, r13
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 5
jb 0x1400227b0
mov byte [rsp + 0x46], 0
lea r9, [rbp + 0x268]
lea r8, [rsp + 0x45]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x328]
call fcn.140012a10
nop
cmp byte [rsp + 0x7a], 0
je 0x140022805
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 9
jb 0x1400227f0
mov byte [rsp + 0x7a], 0
lea r9, [rbp + 0x268]
lea r8, [rsp + 0x79]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.140012a10
nop
lea r9, [rbp + 0x328]
lea r8, [rbp + 0x50]
movzx edx, byte [rbp + 0x268]
lea rcx, [rbp - 0x60]
call fcn.140013630
nop
lea rcx, [rbp + 0x50]
call fcn.140011590
nop
lea rcx, [rbp + 0x328]
call fcn.140011590
nop
lea r8, [r14 + 0x60]
lea rdx, [rbp - 0x60]
lea rcx, [rbp]
call fcn.140014f30
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp + 0x240]
call fcn.140014fa0
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.140011bd0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp + 0x280]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x220]
call fcn.1400151a0
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.140011bd0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r12d, 0xffc000
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x200]
call fcn.140014fa0
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 0x1c0]
call fcn.140012400
nop
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [rbp + 0x1e0]
call fcn.140015280
nop
lea r8, [r14 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x378]
call fcn.140014f30
nop
lea rcx, [rbp + 0x1e0]
call fcn.140011590
nop
lea rcx, [rbp + 0x1c0]
call fcn.140011590
nop
lea rcx, [rbp + 0x200]
call fcn.140011590
nop
lea rcx, [rbp - 0x20]
call fcn.140011590
nop
lea rcx, [rbp + 0x220]
call fcn.140011590
nop
lea rcx, [rbp - 0x40]
call fcn.140011590
nop
lea rcx, [rbp + 0x240]
call fcn.140011590
nop
lea rcx, [rbp]
call fcn.140011590
nop
lea rcx, [rbp - 0x60]
call fcn.140011590
mov rcx, rbx
call fcn.14002a800
lea rax, [rbp + 0x328]
mov qword [rbp + 0x70], rax
lea rdx, [r14 + 0x80]
lea rcx, [rbp + 0x328]
call fcn.140011630
mov rbx, rax
lea rdx, [rbp + 0x378]
lea rcx, [rbp + 0x50]
call fcn.140011630
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x290]
call fcn.140026850
nop
movdqa xmm0, xmmword [0x14007d1d0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x58], 1
cmp qword [rbp + 0x2a0], 0x10
jne 0x140022ace
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0xf
jb 0x140022a50
mov byte [rsp + 0x58], 0
lea r9, [rbp + 0x268]
lea r8, [rsp + 0x57]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140012a10
mov r12d, 0xfff000
lea rdx, [rsp + 0x70]
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rbp - 0x78]
cmp rbx, 0x10
cmovae rdx, rsi
lea rcx, [rbp + 0x290]
cmp qword [rbp + 0x2a8], 0x10
cmovae rcx, qword [rbp + 0x290]
mov r8, qword [rbp + 0x2a0]
cmp r8, qword [rbp - 0x80]
jne 0x140022ad7
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140022ad7
mov r15b, 1
jmp 0x140022ae1
mov rbx, qword [rbp - 0x78]
mov rsi, qword [rsp + 0x70]
xor r15b, r15b
bt r12d, 0xc
jae 0x140022af8
cmp rbx, 0x10
jb 0x140022af8
lea r8, [rbx + 1]
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140011e50
test r15b, r15b
je 0x140022b62
movdqa xmm0, xmmword [0x14007d290]
movdqa xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x14007d380]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [0x14007d2e0]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [0x14007d320]
movdqa xmmword [rbp + 0x30], xmm1
mov dword [rbp + 0x40], 0xf3b8a9
mov byte [rbp + 0x44], 1
lea rcx, [rbp]
call fcn.14001d410
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rbp + 0x38], r13
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp]
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x270]
call fcn.140018110
nop
mov dword [rsp + 0x30], 0xedeef9f6
mov dword [rsp + 0x34], 0xc4c7fe
mov byte [rsp + 0x38], 1
mov rcx, r13
nop
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140022ba0
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x268]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140012a10
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x270]
test cl, cl
jne 0x140022bfc
mov byte [rbp + 0x270], 1
call fcn.140016b50
mov qword [rbp + 0x278], rax
movzx ecx, byte [rbp + 0x270]
jmp 0x140022c03
mov rax, qword [rbp + 0x278]
cmp cl, 1
jne 0x140022c17
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14001b980
mov rbx, rax
lea rdx, [rbp + 0x358]
mov rcx, rbx
call fcn.140014ed0
nop
lea rcx, [rbp - 0x60]
call fcn.140011590
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x3a0]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x3a0]
call fcn.14001ab00
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x310], xmm0
mov qword [rbp + 0x320], rax
lea r8, [rbp + 0x268]
lea edx, [rax + 0x20]
lea rcx, [rbp + 0x310]
call fcn.14001ad20
nop
mov r12, qword [rbp + 0x318]
mov rax, r12
mov r15, qword [rbp + 0x310]
sub rax, r15
lea r8, [rbp + 0x290]
cmp qword [rbp + 0x2a8], 0x10
cmovae r8, qword [rbp + 0x290]
cmp qword [rdi + 0x18], 0x10
jb 0x140022cb5
mov rdi, qword [rdi]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, qword [rbp + 0x2a0]
mov rdx, qword [r14 + 0x50]
mov rcx, rdi
call fcn.14002de80
mov rsi, r15
cmp r15, r12
je 0x140022d42
nop word [rax + rax]
movzx edi, byte [rsi]
lea rdx, [0x140022220]
lea rcx, [rbp + 0x3b0]
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 + 0x48]
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, r12
jne 0x140022ce0
lea rbx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [section..data]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x3a0]
call fcn.140028dd0
cmp qword [rax + 0x18], 0x10
jb 0x140022d73
mov rax, qword [rax]
mov r8d, 8
mov rdx, rbx
mov rcx, rax
call fcn.14001f300
movzx ebx, al
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140022dc5
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022dc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022dc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007889c
test bl, bl
jne 0x140022de8
lea r8, [rbp + 0x358]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp]
call fcn.1400122a0
mov rcx, rax
call fcn.140021190
lea rdx, [rbp + 0x270]
lea rcx, [rsp + 0x48]
call fcn.14001a7f0
mov rdx, rax
mov rcx, r14
call fcn.140024da0
mov dword [rsp + 0x30], 0xfdfee9e8
mov dword [rsp + 0x34], 0xd2d3fa
mov byte [rsp + 0x38], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140022e20
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x268]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.140012a10
nop
movzx ecx, byte [rbp + 0x270]
test cl, cl
jne 0x140022e77
mov byte [rbp + 0x270], 1
call fcn.140016b50
mov qword [rbp + 0x278], rax
movzx ecx, byte [rbp + 0x270]
jmp 0x140022e7e
mov rax, qword [rbp + 0x278]
cmp cl, 1
jne 0x140022e94
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.14001b980
mov rcx, rax
jmp 0x140022e99
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r13
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140022ee5
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022ee0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022ee0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007889c
test bl, bl
je 0x1400231e1
mov dword [rsp + 0x48], 0xcdeaf9f5
mov dword [rsp + 0x4c], 0xcbd2d3fa
mov dword [rsp + 0x50], 0x100cacc
mov rcx, r13
nop dword [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0xa
jb 0x140022f10
mov byte [rsp + 0x53], 0
lea r9, [rbp + 0x268]
lea r8, [rsp + 0x52]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.140012a10
nop
movzx ecx, byte [rbp + 0x270]
test cl, cl
jne 0x140022f67
mov byte [rbp + 0x270], 1
call fcn.140016b50
mov qword [rbp + 0x278], rax
movzx ecx, byte [rbp + 0x270]
jmp 0x140022f6e
mov rax, qword [rbp + 0x278]
cmp cl, 1
jne 0x140022f84
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14001b980
mov rcx, rax
jmp 0x140022f89
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r13
movzx ebx, byte [rax]
lea rcx, [rbp - 0x60]
call fcn.140011590
test bl, bl
je 0x140022faf
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x70], 0xedeef9e8
mov dword [rsp + 0x74], 0xcbcfcff6
mov word [rsp + 0x78], Ordinal_200
mov byte [rsp + 0x7a], 1
mov rcx, r13
nop
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 9
jb 0x140022fd0
mov byte [rsp + 0x7a], 0
lea r9, [rbp + 0x268]
lea r8, [rsp + 0x79]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.140012a10
nop
movzx ecx, byte [rbp + 0x270]
test cl, cl
jne 0x140023027
mov byte [rbp + 0x270], 1
call fcn.140016b50
mov qword [rbp + 0x278], rax
movzx ecx, byte [rbp + 0x270]
jmp 0x14002302e
mov rax, qword [rbp + 0x278]
cmp cl, 1
jne 0x140023041
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.14001b980
jmp 0x140023046
mov rax, qword [rsp + 0x30]
cmp byte [rax], 3
jne 0x140023051
mov r8, qword [rax + 8]
jmp 0x140023054
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140023061
mov rdx, qword [r8]
lea rcx, [r14 + 0x238]
mov r8, qword [r8 + 0x10]
call fcn.1400147b0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400230b0
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400230ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400230ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007889c
mov byte [0x140099818], 1
mov dword [rsp + 0x30], 0xf7edecfa
mov dword [rsp + 0x34], 0xcec6f1
mov byte [rsp + 0x38], 1
mov rcx, r13
nop
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1400230d0
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x268]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.140012a10
nop
movzx ecx, byte [rbp + 0x270]
test cl, cl
jne 0x140023127
mov byte [rbp + 0x270], 1
call fcn.140016b50
mov qword [rbp + 0x278], rax
movzx ecx, byte [rbp + 0x270]
jmp 0x14002312e
mov rax, qword [rbp + 0x278]
cmp cl, 1
jne 0x140023141
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.14001b980
jmp 0x140023146
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001a7f0
mov rdx, rax
mov rcx, r14
call fcn.140024c20
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14002319e
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023198
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140023198
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007889c
nop
test r15, r15
je 0x1400235b0
mov rdx, qword [rbp + 0x320]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x1400235a7
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400235a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rsp + 0x48], 0xffebf2f2
mov dword [rsp + 0x4c], 0xd4c5c9f3
mov dword [rsp + 0x50], 0x100d6c6
xor eax, eax
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x70], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x280], xmm0
lea ecx, [rax + 0x20]
call fcn.140078620
mov rbx, rax
lea rax, [rbp + 0x268]
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x288], rbx
cmp byte [rsp + 0x53], 0
je 0x140023255
mov rdx, r13
nop dword [rax]
lea ecx, [rdx - 0x65]
xor byte [rsp + rdx + 0x48], cl
inc rdx
cmp rdx, 0xa
jb 0x140023240
mov byte [rsp + 0x53], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x52]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140012a10
nop
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x30], 0xedeef9f6
mov dword [rsp + 0x34], 0xc4c7fe
mov byte [rsp + 0x38], 1
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140023290
mov byte [rsp + 0x38], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140012a10
nop
movzx ecx, byte [rbp + 0x270]
test cl, cl
jne 0x1400232e5
mov byte [rbp + 0x270], 1
call fcn.140016b50
mov qword [rbp + 0x278], rax
movzx ecx, byte [rbp + 0x270]
jmp 0x1400232ec
mov rax, qword [rbp + 0x278]
cmp cl, 1
jne 0x1400232ff
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.14001b980
jmp 0x140023304
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.14001b590
movzx ebx, al
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140023352
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002334d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002334d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007889c
movdqa xmm0, xmmword [0x14008c840]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
movzx edx, byte [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.14001fae0
test bl, bl
je 0x14002319e
mov dword [rbp + 0x280], 0xf0eaf3ff
mov dword [rbp + 0x284], 0xc6c0cff3
mov word [rbp + 0x288], 0x100
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x280]
call fcn.140010540
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x270]
call fcn.14001b930
lea rdx, [rbp + 0x328]
mov rcx, rax
call fcn.140014ed0
nop
lea rcx, [rbp - 0x60]
call fcn.140011590
lea rdx, [0x14008a699]
lea rcx, [rbp + 0x328]
call fcn.140012100
test al, al
je 0x140023558
movdqa xmm0, xmmword [0x14007d340]
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x14007d370]
movdqa xmmword [rbp + 0x90], xmm1
movdqa xmm0, xmmword [0x14007d3b0]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x14007d2f0]
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmm0, xmmword [0x14007d260]
movdqa xmmword [rbp + 0xc0], xmm0
movdqa xmm1, xmmword [0x14007d270]
movdqa xmmword [rbp + 0xd0], xmm1
movdqa xmm0, xmmword [0x14007d200]
movdqa xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x14007d250]
movdqa xmmword [rbp + 0xf0], xmm1
movdqa xmm0, xmmword [0x14007d230]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x14007d240]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x14007d220]
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x14007d210]
movdqa xmmword [rbp + 0x130], xmm1
movdqa xmm0, xmmword [str..40]
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmm1, xmmword [0x14007d1f0]
movdqa xmmword [rbp + 0x150], xmm1
movdqa xmm0, xmmword [0x14007d3c0]
movdqa xmmword [rbp + 0x160], xmm0
movdqa xmm1, xmmword [0x14007d3d0]
movdqa xmmword [rbp + 0x170], xmm1
movdqa xmm0, xmmword [0x14007d330]
movdqa xmmword [rbp + 0x180], xmm0
movdqa xmm1, xmmword [0x14007d390]
movdqa xmmword [rbp + 0x190], xmm1
movdqa xmm0, xmmword [0x14007d300]
movdqa xmmword [rbp + 0x1a0], xmm0
mov dword [rbp + 0x1b0], 0xb7a1b8a8
mov word [rbp + 0x1b4], 0xe1
mov byte [rbp + 0x1b6], 1
lea rcx, [rbp + 0x80]
call fcn.14001d3e0
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14002359e
lea rcx, [rbp + 0x328]
call fcn.140011580
mov rbx, rax
mov dword [rsp + 0x40], 0xf0f8ecf4
mov word [rsp + 0x44], 0x100
lea rcx, [rsp + 0x40]
call fcn.14001d3b0
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, rbx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rcx, r15
call fcn.14007889c
nop
mov rax, qword [rbp + 0x3a0]
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 + 0x3a0], rax
mov rax, qword [rbp + 0x3a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x39c], edx
lea rcx, [rbp + 0x3b8]
call fcn.14001b010
lea rcx, [rbp + 0x3c0]
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 + 0x438]
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 + 0x370]
cmp rdx, 0x10
jb 0x14002364d
inc rdx
mov rcx, qword [rbp + 0x358]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023648
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140023648
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007889c
movdqa xmm0, xmmword [0x14008c840]
movdqu xmmword [rbp + 0x368], xmm0
mov byte [rbp + 0x358], 0
movzx edx, byte [rbp + 0x270]
lea rcx, [rbp + 0x278]
call fcn.14001fae0
nop
mov rdx, qword [rbp + 0x2a8]
cmp rdx, 0x10
jb 0x1400236bc
inc rdx
mov rcx, qword [rbp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400236b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400236b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007889c
mov qword [rbp + 0x2a0], r13
mov qword [rbp + 0x2a8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x290], 0
mov rdx, qword [rbp + 0x390]
cmp rdx, 0x10
jb 0x14002371a
inc rdx
mov rcx, qword [rbp + 0x378]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023714
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140023714
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007889c
nop
mov rdx, qword [rbp + 0x308]
cmp rdx, 0x10
jb 0x14002375e
inc rdx
mov rcx, qword [rbp + 0x2f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023759
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140023759
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007889c
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 0x1400237bc
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400237b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400237b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007889c
nop
mov rdx, qword [rbp + 0x2e8]
cmp rdx, 0x10
jb 0x140023800
inc rdx
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400237fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400237fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007889c
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.140078600
lea r11, [rsp + 0x5b0]
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
movdqa xmm0, xmmword [0x14007d2a0]
movdqa xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x14007d2b0]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [0x14007d2d0]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [0x14007d310]
movdqa xmmword [rbp + 0x30], xmm1
mov dword [rbp + 0x40], 0xbdf3b2b2
mov dword [rbp + 0x44], 0x10090af
lea rcx, [rbp]
call fcn.14001d440
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3