Function at 0x140041800
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 - 0x520]
sub rsp, 0x620
mov rax, qword [0x1400bc0c0]
xor rax, rsp
mov qword [rbp + 0x510], rax
mov r13, rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [0x140045250]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp qword [r13 + 0x30], 0xa
jne 0x140042c26
cmp qword [r13 + 0x50], 0x40
jne 0x140042c26
xorps xmm0, xmm0
movups xmmword [rbp + 0x3b8], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x340], xmm1
mov ebx, r12d
mov qword [rbp + 0x350], rbx
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x358], rdi
mov byte [rbp + 0x340], bl
lea rcx, [rbp + 0x3b8]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov qword [rbp + 0x2d0], r12
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x3b8]
call qword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
jne 0x140041912
mov rdx, qword [rbp + 0x2d0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400418e1
lea rcx, [rbp + 0x340]
call fcn.140020cc0
lea rcx, [rbp + 0x2d0]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeA]
mov rdi, qword [rbp + 0x358]
mov rbx, qword [rbp + 0x350]
xorps xmm0, xmm0
movups xmmword [rbp + 0x320], xmm0
mov qword [rbp + 0x330], r12
mov qword [rbp + 0x338], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x320], 0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, reloc.WS2_32.dll_recv
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp + 0x340]
cmp rdi, 0x10
cmovae rdx, qword [rbp + 0x340]
lea rcx, [rbp - 0x40]
call fcn.140022cf0
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x320]
call fcn.14001edb0
lea rcx, [rbp - 0x40]
call fcn.14001ed50
mov word [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_45
mov byte [rsp + 0x42], 0
lea r9, [rbp + 0x2d8]
lea r8, [rsp + 0x41]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.1400247c0
nop
lea r8, [rbp + 0x320]
cmp qword [rbp + 0x338], 0x10
cmovae r8, qword [rbp + 0x320]
mov r9, qword [rbp + 0x330]
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140042c90
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp - 0x60]
call fcn.14001ed50
nop
lea rdi, [r13 + 0x40]
mov r8, rdi
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x20]
call fcn.140036ca0
lea rcx, [r13 + 0x258]
mov rdx, rax
call fcn.14001edb0
lea rcx, [rbp - 0x20]
call fcn.14001ed50
nop
lea rcx, [rsp + 0x48]
call fcn.14001ed50
lea rcx, [rbp + 0x360]
call fcn.14003ef20
nop
mov dword [rsp + 0x48], 0xa0baa3ed
mov dword [rsp + 0x4c], 0xb6b8a2aa
mov word [rsp + 0x50], 0xee
mov byte [rsp + 0x52], 1
mov dword [rbp - 0x68], 0xa3aca2ed
mov dword [rbp - 0x64], 0x100edaa
mov dword [rbp + 0x2f0], 0xada3a9ed
mov dword [rbp + 0x2f4], 0xefa8b5a4
mov word [rbp + 0x2f8], 0x100
mov dword [rbp - 0x70], 0xbdaca4ed
mov dword [rbp - 0x6c], 0x100eda7
mov dword [rsp + 0x40], 0xbca8baed
mov word [rsp + 0x44], 0xf2
mov byte [rsp + 0x46], 1
mov dword [rsp + 0x70], 0xabbdb5bf
mov dword [rsp + 0x74], 0xbbbfb9f2
mov word [rsp + 0x78], 0xa7
mov byte [rsp + 0x7a], 1
mov rcx, r12
nop dword [rax + rax]
lea eax, [rcx - 0x35]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 5
jb 0x140041ae0
mov byte [rsp + 0x46], 0
lea r9, [rbp + 0x2d8]
lea r8, [rsp + 0x45]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x380]
call fcn.1400247c0
nop
cmp byte [rsp + 0x7a], 0
je 0x140041b35
mov rcx, r12
nop dword [rax]
lea eax, [rcx - 0x35]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 9
jb 0x140041b20
mov byte [rsp + 0x7a], 0
lea r9, [rbp + 0x2d8]
lea r8, [rsp + 0x79]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xc0]
call fcn.1400247c0
nop
lea r9, [rbp + 0x380]
lea r8, [rbp + 0xc0]
movzx edx, byte [rbp + 0x2d8]
lea rcx, [rbp - 0x20]
call fcn.14003cc00
nop
lea rcx, [rbp + 0xc0]
call fcn.14001ed50
nop
lea rcx, [rbp + 0x380]
call fcn.14001ed50
nop
lea r8, [r13 + 0x60]
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.140036ca0
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp + 0x2b0]
call fcn.140036e70
nop
lea rdx, [rbp + 0x360]
cmp qword [rbp + 0x378], 0x10
cmovae rdx, qword [rbp + 0x360]
mov r8, qword [rbp + 0x370]
mov rcx, rax
call fcn.140020e20
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp + 0x2f0]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x290]
call fcn.140036f50
nop
lea rdx, [rbp + 0x320]
cmp qword [rbp + 0x338], 0x10
cmovae rdx, qword [rbp + 0x320]
mov r8, qword [rbp + 0x330]
mov rcx, rax
call fcn.140020e20
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov esi, 0x9ff000
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x230]
call fcn.140036e70
nop
mov r8, r13
mov rdx, rax
lea rcx, [rbp + 0x250]
call fcn.140036ca0
nop
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.140037030
nop
lea r8, [r13 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x3e8]
call fcn.140036ca0
nop
lea rcx, [rbp + 0x270]
call fcn.14001ed50
nop
lea rcx, [rbp + 0x250]
call fcn.14001ed50
nop
lea rcx, [rbp + 0x230]
call fcn.14001ed50
nop
lea rcx, [rbp - 0x40]
call fcn.14001ed50
nop
lea rcx, [rbp + 0x290]
call fcn.14001ed50
nop
lea rcx, [rbp - 0x60]
call fcn.14001ed50
nop
lea rcx, [rbp + 0x2b0]
call fcn.14001ed50
nop
lea rcx, [rbp]
call fcn.14001ed50
nop
lea rcx, [rbp - 0x20]
call fcn.14001ed50
lea rax, [rbp + 0x380]
mov qword [rbp + 0xe0], rax
lea rdx, [r13 + 0x80]
lea rcx, [rbp + 0x380]
call fcn.14001ee80
mov rbx, rax
lea rdx, [rbp + 0x3e8]
lea rcx, [rbp + 0xc0]
call fcn.14001ee80
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x300]
call fcn.140046900
nop
movdqa xmm0, xmmword [0x14009ef40]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x58], 1
cmp qword [rbp + 0x310], 0x10
jne 0x140041df6
mov rcx, r12
nop dword [rax + rax]
lea eax, [rcx - 0x35]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0xf
jb 0x140041d80
mov byte [rsp + 0x58], 0
lea r9, [rbp + 0x2d8]
lea r8, [rsp + 0x57]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1400247c0
mov esi, 0xfff000
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rbp + 0x300]
cmp qword [rbp + 0x318], 0x10
cmovae rcx, qword [rbp + 0x300]
mov r8, qword [rbp + 0x310]
cmp r8, qword [rbp - 0x80]
jne 0x140041df6
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140041df6
mov bl, 1
jmp 0x140041dfe
xor bl, bl
bt esi, 0x15
jae 0x140041e08
lea rcx, [rsp + 0x70]
call fcn.14001ed50
test bl, bl
je 0x140041e71
movdqa xmm0, xmmword [0x14009f2b0]
movdqa xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x14009f080]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [0x14009f110]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [0x14009f000]
movdqa xmmword [rbp + 0x30], xmm1
mov dword [rbp + 0x40], 0x236879
mov byte [rbp + 0x44], 1
lea rcx, [rbp]
call fcn.14003eb40
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], r12
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp]
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 0x2e0]
call fcn.14003a210
nop
mov dword [rsp + 0x30], 0xbdbea9a6
mov dword [rsp + 0x34], 0xb4b7ae
mov byte [rsp + 0x38], 1
mov rcx, r12
nop dword [rax]
lea eax, [rcx - 0x35]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140041eb0
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x2d8]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400247c0
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x2e0]
test cl, cl
jne 0x140041f0c
mov byte [rbp + 0x2e0], 1
call fcn.140038c50
mov qword [rbp + 0x2e8], rax
movzx ecx, byte [rbp + 0x2e0]
jmp 0x140041f13
mov rax, qword [rbp + 0x2e8]
cmp cl, 1
jne 0x140041f27
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.14003da00
mov rbx, rax
lea rdx, [rbp + 0x3c8]
mov rcx, rbx
call fcn.140036c40
nop
lea rcx, [rbp - 0x20]
call fcn.14001ed50
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x410]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x410]
call fcn.14001cc60
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x3a0], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140097c5c
mov r14, rax
mov qword [rbp + 0x3a0], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x3b0], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x3a8], r15
lea r8, [rbp + 0x300]
cmp qword [rbp + 0x318], 0x10
cmovae r8, qword [rbp + 0x300]
cmp qword [rdi + 0x18], 0x10
jb 0x140041fc1
mov rdi, qword [rdi]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x310]
mov rdx, qword [r13 + 0x50]
mov rcx, rdi
call fcn.14004d130
mov rsi, r14
cmp r14, r15
je 0x140042052
nop word [rax + rax]
movzx edi, byte [rsi]
lea rdx, [0x1400417d0]
lea rcx, [rbp + 0x420]
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, r15
jne 0x140041ff0
lea rbx, [0x1400bc030]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [0x1400bc030]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x410]
call fcn.140048bf0
cmp qword [rax + 0x18], 0x10
jb 0x140042083
mov rax, qword [rax]
mov r8d, 8
mov rdx, rbx
mov rcx, rax
call fcn.14003f370
movzx ebx, al
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400420d5
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400420d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400420d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
test bl, bl
jne 0x140042193
movdqa xmm0, xmmword [0x14009f150]
movdqa xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x14009f0f0]
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmm0, xmmword [0x14009f260]
movdqa xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x14009efa0]
movdqa xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [0x14009f030]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x14009efd0]
movdqa xmmword [rbp + 0xa0], xmm1
mov dword [rbp + 0xb0], 0x4b600c44
mov dword [rbp + 0xb4], 0x5550435c
mov dword [rbp + 0xb8], 0x150e56
mov byte [rbp + 0xbc], 1
mov rcx, r12
nop dword [rax]
lea eax, [rcx - 0x35]
xor byte [rbp + rcx + 0x50], al
inc rcx
cmp rcx, 0x6b
jb 0x140042160
mov byte [rbp + 0xbc], 0
lea r8, [rbp + 0x3c8]
lea rdx, [rbp + 0x50]
lea rcx, [rbp]
call fcn.140036d10
mov rcx, rax
call fcn.140040730
lea rdx, [rbp + 0x2e0]
lea rcx, [rsp + 0x48]
call fcn.14003c8f0
mov rdx, rax
mov rcx, r13
call fcn.1400444a0
mov dword [rsp + 0x30], 0xadaeb9b8
mov dword [rsp + 0x34], 0xa2a3aa
mov byte [rsp + 0x38], 1
mov rcx, r12
nop word [rax + rax]
lea eax, [rcx - 0x35]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1400421d0
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x2d8]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400247c0
nop
movzx ecx, byte [rbp + 0x2e0]
test cl, cl
jne 0x140042227
mov byte [rbp + 0x2e0], 1
call fcn.140038c50
mov qword [rbp + 0x2e8], rax
movzx ecx, byte [rbp + 0x2e0]
jmp 0x14004222e
mov rax, qword [rbp + 0x2e8]
cmp cl, 1
jne 0x140042244
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14003da00
mov rcx, rax
jmp 0x140042249
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r12
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140042295
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042290
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042290
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
test bl, bl
je 0x14004266b
mov dword [rsp + 0x48], 0x9dbaa9a5
mov dword [rsp + 0x4c], 0xbba2a3aa
mov dword [rsp + 0x50], 0x100babc
mov rcx, r12
nop dword [rax + rax]
lea eax, [rcx - 0x35]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0xa
jb 0x1400422c0
mov byte [rsp + 0x53], 0
lea r9, [rbp + 0x2d8]
lea r8, [rsp + 0x52]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.1400247c0
nop
movzx ecx, byte [rbp + 0x2e0]
test cl, cl
jne 0x140042317
mov byte [rbp + 0x2e0], 1
call fcn.140038c50
mov qword [rbp + 0x2e8], rax
movzx ecx, byte [rbp + 0x2e0]
jmp 0x14004231e
mov rax, qword [rbp + 0x2e8]
cmp cl, 1
jne 0x140042334
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14003da00
mov rcx, rax
jmp 0x140042339
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r12
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140042385
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042380
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042380
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
test bl, bl
je 0x140042394
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x70], 0xbdbea9b8
mov dword [rsp + 0x74], 0xbbbfbfa6
mov word [rsp + 0x78], 0xb7
mov byte [rsp + 0x7a], 1
mov rcx, r12
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x35]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 9
jb 0x1400423c0
mov byte [rsp + 0x7a], 0
lea r9, [rbp + 0x2d8]
lea r8, [rsp + 0x79]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.1400247c0
nop
movzx ecx, byte [rbp + 0x2e0]
test cl, cl
jne 0x140042417
mov byte [rbp + 0x2e0], 1
call fcn.140038c50
mov qword [rbp + 0x2e8], rax
movzx ecx, byte [rbp + 0x2e0]
jmp 0x14004241e
mov rax, qword [rbp + 0x2e8]
cmp cl, 1
jne 0x140042431
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14003da00
jmp 0x140042436
mov rax, qword [rsp + 0x30]
cmp byte [rax], 3
jne 0x140042441
mov r8, qword [rax + 8]
jmp 0x140042444
mov r8, r12
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140042451
mov rdx, qword [r8]
lea rcx, [r13 + 0x238]
mov r8, qword [r8 + 0x10]
call fcn.140020cc0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400424a0
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004249b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004249b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
mov byte [0x1400bcc18], 1
mov dword [rsp + 0x30], 0xa7bdbcaa
mov dword [rsp + 0x34], 0xbeb6a1
mov byte [rsp + 0x38], 1
mov rcx, r12
nop
lea eax, [rcx - 0x35]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1400424c0
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x2d8]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400247c0
nop
movzx ecx, byte [rbp + 0x2e0]
test cl, cl
jne 0x140042517
mov byte [rbp + 0x2e0], 1
call fcn.140038c50
mov qword [rbp + 0x2e8], rax
movzx ecx, byte [rbp + 0x2e0]
jmp 0x14004251e
mov rax, qword [rbp + 0x2e8]
cmp cl, 1
jne 0x140042531
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14003da00
jmp 0x140042536
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14003c8f0
mov rdx, rax
mov rcx, r13
call fcn.140043fe0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14004258e
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042588
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042588
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
nop
test r14, r14
je 0x1400425c7
sub r15, r14
cmp r15, 0x1000
jb 0x1400425bb
add r15, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140042a37
mov r14, rcx
mov rdx, r15
mov rcx, r14
call fcn.140097c98
nop
mov rax, qword [rbp + 0x410]
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 + 0x410], rax
mov rax, qword [rbp + 0x410]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x40c], edx
lea rcx, [rbp + 0x428]
call fcn.14001ec60
lea rcx, [rbp + 0x430]
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 + 0x4a8]
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 + 0x3e0]
cmp rdx, 0x10
jb 0x140042a43
inc rdx
mov rcx, qword [rbp + 0x3c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042a3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042a3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rsp + 0x48], 0xafbba2a2
mov dword [rsp + 0x4c], 0xa4b5b9a3
mov dword [rsp + 0x50], 0x100a6b6
xor eax, eax
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x70], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f0], xmm0
lea ecx, [rax + 0x20]
call fcn.140097c5c
mov rbx, rax
lea rax, [rbp + 0x2d8]
mov qword [rbp + 0x2f0], rax
mov qword [rbp + 0x2f8], rbx
cmp byte [rsp + 0x53], 0
je 0x1400426e5
mov rdx, r12
nop dword [rax]
nop word [rax + rax]
lea ecx, [rdx - 0x35]
xor byte [rsp + rdx + 0x48], cl
inc rdx
cmp rdx, 0xa
jb 0x1400426d0
mov byte [rsp + 0x53], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x52]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400247c0
nop
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x30], 0xbdbea9a6
mov dword [rsp + 0x34], 0xb4b7ae
mov byte [rsp + 0x38], 1
mov rcx, r12
nop word [rax + rax]
lea eax, [rcx - 0x35]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140042720
mov byte [rsp + 0x38], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.1400247c0
nop
movzx ecx, byte [rbp + 0x2e0]
test cl, cl
jne 0x140042775
mov byte [rbp + 0x2e0], 1
call fcn.140038c50
mov qword [rbp + 0x2e8], rax
movzx ecx, byte [rbp + 0x2e0]
jmp 0x14004277c
mov rax, qword [rbp + 0x2e8]
cmp cl, 1
jne 0x14004278f
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.14003da00
jmp 0x140042794
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.14003d610
movzx ebx, al
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400427e2
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400427dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400427dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
movdqa xmm0, xmmword [0x1400ae1e0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
movzx edx, byte [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.14003fba0
test bl, bl
je 0x14004258e
mov dword [rbp + 0x2f0], 0xa0baa3af
mov dword [rbp + 0x2f4], 0xb6b0bfa3
mov word [rbp + 0x2f8], 0x100
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x2f0]
call fcn.14003daf0
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x2e0]
call fcn.14003d9b0
lea rdx, [rbp + 0x380]
mov rcx, rax
call fcn.140036c40
nop
lea rcx, [rbp - 0x20]
call fcn.14001ed50
lea rdx, [0x1400ac548]
lea rcx, [rbp + 0x380]
call fcn.140022380
test al, al
je 0x1400429e8
movdqa xmm0, xmmword [0x14009f1d0]
movdqa xmmword [rbp + 0xf0], xmm0
movdqa xmm1, xmmword [0x14009f060]
movdqa xmmword [rbp + 0x100], xmm1
movdqa xmm0, xmmword [0x14009f250]
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmm1, xmmword [0x14009f050]
movdqa xmmword [rbp + 0x120], xmm1
movdqa xmm0, xmmword [0x14009f010]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x14009efe0]
movdqa xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [str._vNAOA_]
movdqa xmmword [rbp + 0x150], xmm0
movdqa xmm1, xmmword [0x14009efb0]
movdqa xmmword [rbp + 0x160], xmm1
movdqa xmm0, xmmword [0x14009efc0]
movdqa xmmword [rbp + 0x170], xmm0
movdqa xmm1, xmmword [0x14009ef70]
movdqa xmmword [rbp + 0x180], xmm1
movdqa xmm0, xmmword [0x14009ef60]
movdqa xmmword [rbp + 0x190], xmm0
movdqa xmm1, xmmword [0x14009f270]
movdqa xmmword [rbp + 0x1a0], xmm1
movdqa xmm0, xmmword [0x14009f290]
movdqa xmmword [rbp + 0x1b0], xmm0
movdqa xmm1, xmmword [0x14009f230]
movdqa xmmword [rbp + 0x1c0], xmm1
movdqa xmm0, xmmword [0x14009f210]
movdqa xmmword [rbp + 0x1d0], xmm0
movdqa xmm1, xmmword [0x14009f160]
movdqa xmmword [rbp + 0x1e0], xmm1
movdqa xmm0, xmmword [0x14009f1c0]
movdqa xmmword [rbp + 0x1f0], xmm0
movdqa xmm1, xmmword [0x14009f0c0]
movdqa xmmword [rbp + 0x200], xmm1
movdqa xmm0, xmmword [0x14009f130]
movdqa xmmword [rbp + 0x210], xmm0
mov dword [rbp + 0x220], 0x87918898
mov word [rbp + 0x224], Ordinal_217
mov byte [rbp + 0x226], 1
lea rcx, [rbp + 0xf0]
call fcn.14003eb10
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140042a2e
lea rcx, [rbp + 0x380]
call fcn.14001ed20
mov rbx, rax
mov dword [rsp + 0x40], 0xa0a8bca4
mov word [rsp + 0x44], 0x100
lea rcx, [rsp + 0x40]
call fcn.14003eae0
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140097c98
movdqa xmm0, xmmword [0x1400ae1e0]
movdqu xmmword [rbp + 0x3d8], xmm0
mov byte [rbp + 0x3c8], 0
movzx edx, byte [rbp + 0x2e0]
lea rcx, [rbp + 0x2e8]
call fcn.14003fba0
nop
mov rdx, qword [rbp + 0x318]
cmp rdx, 0x10
jb 0x140042ab2
inc rdx
mov rcx, qword [rbp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042aad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042aad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
mov qword [rbp + 0x310], r12
mov qword [rbp + 0x318], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x300], 0
mov rdx, qword [rbp + 0x400]
cmp rdx, 0x10
jb 0x140042b10
inc rdx
mov rcx, qword [rbp + 0x3e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042b0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042b0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
nop
mov rdx, qword [rbp + 0x378]
cmp rdx, 0x10
jb 0x140042b54
inc rdx
mov rcx, qword [rbp + 0x360]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042b4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042b4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
mov qword [rbp + 0x370], r12
mov qword [rbp + 0x378], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x360], 0
mov rdx, qword [rbp + 0x338]
cmp rdx, 0x10
jb 0x140042bb2
inc rdx
mov rcx, qword [rbp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042bac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042bac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
nop
mov rdx, qword [rbp + 0x358]
cmp rdx, 0x10
jb 0x140042bf6
inc rdx
mov rcx, qword [rbp + 0x340]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042bf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042bf1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097c98
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.140097db0
lea r11, [rsp + 0x620]
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 [0x14009f2a0]
movdqa xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x14009f1f0]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [0x14009f100]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [0x14009eff0]
movdqa xmmword [rbp + 0x30], xmm1
mov dword [rbp + 0x40], 0x6d236262
mov dword [rbp + 0x44], 0x100607f
lea rcx, [rbp]
call fcn.14003eb70
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