Function at 0x140059100
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 - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0x140162500]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov r14, rcx
xor r13d, r13d
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [0x14005c030]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_CreateThread]
cmp qword [r14 + 0x30], 0xa
jne 0x14005a4ef
cmp qword [r14 + 0x50], 0x40
jne 0x14005a4ef
xorps xmm0, xmm0
movups xmmword [rbp + 0x378], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x2e0], xmm1
mov ebx, r13d
mov qword [rbp + 0x2f0], rbx
mov edi, 0xf
mov qword [rbp + 0x2f8], rdi
mov byte [rbp + 0x2e0], bl
lea rcx, [rbp + 0x378]
call qword [sym.imp.rpcrt4.dll_UuidCreate]
mov qword [rbp + 0x270], r13
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x378]
call qword [sym.imp.rpcrt4.dll_UuidToStringA]
test eax, eax
jne 0x140059212
mov rdx, qword [rbp + 0x270]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400591e1
lea rcx, [rbp + 0x2e0]
call fcn.140040e40
lea rcx, [rbp + 0x270]
call qword [sym.imp.rpcrt4.dll_RpcStringFreeA]
mov rdi, qword [rbp + 0x2f8]
mov rbx, qword [rbp + 0x2f0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x2c0], xmm0
mov qword [rbp + 0x2d0], r13
mov qword [rbp + 0x2d8], 0xf
mov byte [rbp + 0x2c0], 0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8d, 0x10
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp + 0x2e0]
cmp rdi, 0x10
cmovae rdx, qword [rbp + 0x2e0]
lea rcx, [rbp - 0x10]
call fcn.1400315bc
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x2c0]
call fcn.140052870
lea rcx, [rbp - 0x10]
call fcn.140035d08
mov word [rsp + 0x50], 0x2d
mov byte [rsp + 0x52], 0
lea r9, [rbp + 0x278]
lea r8, [rsp + 0x51]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14004ad60
nop
lea r8, [rbp + 0x2c0]
cmp qword [rbp + 0x2d8], 0x10
cmovae r8, qword [rbp + 0x2c0]
mov r9, qword [rbp + 0x2d0]
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1400442c4
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, qword [rsp + 0x70]
cmp r8, 0x10
jb 0x14005931f
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.140042610
movdqa xmm0, xmmword [0x1400bd840]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
lea rdi, [r14 + 0x40]
mov r8, rdi
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x50]
call fcn.14004b2a0
lea rcx, [r14 + 0x258]
mov rdx, rax
call fcn.140052870
lea rcx, [rbp - 0x50]
call fcn.140035d08
nop
lea rcx, [rbp - 0x80]
call fcn.140035d08
lea rcx, [rbp + 0x320]
call fcn.140054a70
nop
call fcn.1400614b0
mov rbx, rax
mov dword [rsp + 0x58], 0xecf6ef59
mov dword [rsp + 0x5c], 0xe2ecf6e6
mov word [rsp + 0x60], 0xba
mov byte [rsp + 0x62], 1
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400593a6
mov rdx, qword [r14]
xor r8d, r8d
mov rcx, rbx
call fcn.14005ffe0
mov rsi, rax
mov dword [rbp - 0x58], 0xefe0ee59
mov dword [rbp - 0x54], 0x100b9e6
mov dword [rbp + 0x290], 0xe1efe559
mov dword [rbp + 0x294], 0xbbfce1e8
mov word [rbp + 0x298], 0x100
mov dword [rbp - 0x60], 0xf1e0e859
mov dword [rbp - 0x5c], 0x100b9eb
mov dword [rsp + 0x50], 0xf0e4f659
mov word [rsp + 0x54], 0xbe
mov byte [rsp + 0x56], 1
mov dword [rbp - 0x80], 0xe7f1f90b
mov dword [rbp - 0x7c], 0xefebedbe
mov word [rbp - 0x78], 0xf3
mov byte [rbp - 0x76], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx + 0x7f]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 5
jb 0x140059420
mov byte [rsp + 0x56], 0
lea r9, [rbp + 0x278]
lea r8, [rsp + 0x55]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x358]
call fcn.14004ad60
nop
cmp byte [rbp - 0x76], 0
je 0x140059474
mov rcx, r13
nop dword [rax]
lea eax, [rcx + 0x7f]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 9
jb 0x140059460
mov byte [rbp - 0x76], 0
lea r9, [rbp + 0x278]
lea r8, [rbp - 0x77]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x60]
call fcn.14004ad60
nop
lea r9, [rbp + 0x358]
lea r8, [rbp + 0x60]
movzx edx, byte [rbp + 0x278]
lea rcx, [rbp - 0x50]
call fcn.140051510
nop
lea rcx, [rbp + 0x60]
call fcn.140035d08
nop
lea rcx, [rbp + 0x358]
call fcn.140035d08
nop
lea r8, [r14 + 0x60]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.14004b2a0
nop
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp + 0x250]
call fcn.14004b380
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.140054550
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r8, [rbp + 0x290]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x230]
call fcn.14004b460
nop
lea rdx, [rbp + 0x2c0]
cmp qword [rbp + 0x2d8], 0x10
cmovae rdx, qword [rbp + 0x2c0]
mov r8, qword [rbp + 0x2d0]
mov rcx, rax
call fcn.140054550
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r12d, 0x1ff8000
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x210]
call fcn.14004b380
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.14004b310
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rbp + 0x1f0]
call fcn.14004b540
nop
lea r8, [r14 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x388]
call fcn.14004b2a0
nop
lea rcx, [rbp + 0x1f0]
call fcn.140035d08
nop
lea rcx, [rbp + 0x1d0]
call fcn.140035d08
nop
lea rcx, [rbp + 0x210]
call fcn.140035d08
nop
lea rcx, [rbp - 0x10]
call fcn.140035d08
nop
lea rcx, [rbp + 0x230]
call fcn.140035d08
nop
lea rcx, [rbp - 0x30]
call fcn.140035d08
nop
lea rcx, [rbp + 0x250]
call fcn.140035d08
nop
lea rcx, [rbp + 0x10]
call fcn.140035d08
nop
lea rcx, [rbp - 0x50]
call fcn.140035d08
mov rcx, rbx
call fcn.140061490
lea rax, [rbp + 0x358]
mov qword [rbp + 0x80], rax
lea rdx, [r14 + 0x80]
lea rcx, [rbp + 0x358]
call fcn.140034b8c
mov rbx, rax
lea rdx, [rbp + 0x388]
lea rcx, [rbp + 0x60]
call fcn.140034b8c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x2a0]
call fcn.14005d530
nop
movdqa xmm0, xmmword [0x1400bd8b0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x68], 1
cmp qword [rbp + 0x2b0], 0x10
jne 0x14005973b
mov rcx, r13
nop dword [rax]
lea eax, [rcx + 0x7f]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 0xf
jb 0x1400596c0
mov byte [rsp + 0x68], 0
lea r9, [rbp + 0x278]
lea r8, [rsp + 0x67]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.14004ad60
mov r12d, 0x1ffe000
lea rdx, [rbp - 0x80]
mov rsi, qword [rbp - 0x80]
mov rbx, qword [rbp - 0x68]
cmp rbx, 0x10
cmovae rdx, rsi
lea rcx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0x10
cmovae rcx, qword [rbp + 0x2a0]
mov r8, qword [rbp + 0x2b0]
cmp r8, qword [rbp - 0x70]
jne 0x140059743
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140059743
mov r15b, 1
jmp 0x14005974d
mov rbx, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x80]
xor r15b, r15b
bt r12d, 0xd
jae 0x140059763
cmp rbx, 0x10
jb 0x140059763
lea r8, [rbx + 1]
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140042610
test r15b, r15b
je 0x1400597cd
movdqa xmm0, xmmword [0x1400bd9b0]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1400bda70]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x1400bda10]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1400bda40]
movdqa xmmword [rbp + 0x40], xmm1
mov dword [rbp + 0x50], 0xefa4cd
mov byte [rbp + 0x54], 1
lea rcx, [rbp + 0x10]
call fcn.140054760
mov rdx, rax
mov r9d, 0x10
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.user32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll_exit]
int3
mov qword [rbp + 0x48], r13
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x280]
call fcn.14004eb20
nop
mov dword [rsp + 0x40], 0xf1f2e512
mov dword [rsp + 0x44], 0xe0e3e2
mov byte [rsp + 0x48], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx + 0x7f]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 7
jb 0x140059810
mov byte [rsp + 0x48], 0
lea r9, [rbp + 0x278]
lea r8, [rsp + 0x47]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14004ad60
nop
mov rbx, qword [rsp + 0x40]
movzx ecx, byte [rbp + 0x280]
test cl, cl
jne 0x14005986c
mov byte [rbp + 0x280], 1
call fcn.14004d560
mov qword [rbp + 0x288], rax
movzx ecx, byte [rbp + 0x280]
jmp 0x140059873
mov rax, qword [rbp + 0x288]
cmp cl, 1
jne 0x140059887
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.140052cf0
mov rbx, rax
lea rdx, [rbp + 0x300]
mov rcx, rbx
call fcn.14004b240
nop
lea rcx, [rbp - 0x50]
call fcn.140035d08
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x3b0]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x3b0]
call fcn.140051790
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x340], xmm0
mov qword [rbp + 0x350], rax
lea r8, [rbp + 0x278]
lea edx, [rax + 0x20]
lea rcx, [rbp + 0x340]
call fcn.1400519b0
nop
mov r12, qword [rbp + 0x348]
mov rax, r12
mov r15, qword [rbp + 0x340]
sub rax, r15
lea r8, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0x10
cmovae r8, qword [rbp + 0x2a0]
cmp qword [rdi + 0x18], 0x10
jb 0x140059925
mov rdi, qword [rdi]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, qword [rbp + 0x2b0]
mov rdx, qword [r14 + 0x50]
mov rcx, rdi
call fcn.140064b10
mov rsi, r15
cmp r15, r12
je 0x1400599b2
nop word [rax + rax]
movzx edi, byte [rsi]
lea rdx, [0x1400590d0]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_ios_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ios_char__struct_std::char_traits_char______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 + 0x58]
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 0x140059950
lea rbx, [0x140162460]
cmp qword [0x140162478], 0x10
cmovae rbx, qword [0x140162460]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x3b0]
call fcn.14005fa50
cmp qword [rax + 0x18], 0x10
jb 0x1400599e3
mov rax, qword [rax]
mov r8d, 8
mov rdx, rbx
mov rcx, rax
call fcn.140054ec0
movzx ebx, al
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140059a35
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059a30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059a30
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af04c
test bl, bl
jne 0x140059aa8
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x310]
sub rax, rcx
cmp rax, 0x6b
jb 0x14005a557
lea rax, [rbp + 0x300]
cmp qword [rbp + 0x318], 0x10
cmovae rax, qword [rbp + 0x300]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x6b
lea r9, [0x1400bc730]
lea r8, [rbp + 0x300]
movzx edx, byte [rbp + 0x278]
lea rcx, [rbp - 0x50]
call fcn.140034c74
lea rcx, [rbp - 0x50]
call fcn.140057d90
lea rdx, [rbp + 0x280]
lea rcx, [rsp + 0x58]
call fcn.140051200
mov rdx, rax
mov rcx, r14
call fcn.14005b9b0
mov dword [rsp + 0x40], 0xe1e2f50c
mov dword [rsp + 0x44], 0xf6f7e6
mov byte [rsp + 0x48], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx + 0x7f]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 7
jb 0x140059ae0
mov byte [rsp + 0x48], 0
lea r9, [rbp + 0x278]
lea r8, [rsp + 0x47]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.14004ad60
nop
movzx ecx, byte [rbp + 0x280]
test cl, cl
jne 0x140059b37
mov byte [rbp + 0x280], 1
call fcn.14004d560
mov qword [rbp + 0x288], rax
movzx ecx, byte [rbp + 0x280]
jmp 0x140059b3e
mov rax, qword [rbp + 0x288]
cmp cl, 1
jne 0x140059b54
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.140052cf0
mov rcx, rax
jmp 0x140059b59
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r13
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140059ba5
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059ba0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059ba0
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af04c
test bl, bl
je 0x140059ea1
mov dword [rsp + 0x58], 0xd1f6e511
mov dword [rsp + 0x5c], 0xeff6f7e6
mov dword [rsp + 0x60], 0x100e6e8
mov rcx, r13
nop dword [rax + rax]
lea eax, [rcx + 0x7f]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 0xa
jb 0x140059bd0
mov byte [rsp + 0x63], 0
lea r9, [rbp + 0x278]
lea r8, [rsp + 0x62]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x50]
call fcn.14004ad60
nop
movzx ecx, byte [rbp + 0x280]
test cl, cl
jne 0x140059c27
mov byte [rbp + 0x280], 1
call fcn.14004d560
mov qword [rbp + 0x288], rax
movzx ecx, byte [rbp + 0x280]
jmp 0x140059c2e
mov rax, qword [rbp + 0x288]
cmp cl, 1
jne 0x140059c44
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.140052cf0
mov rcx, rax
jmp 0x140059c49
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r13
movzx ebx, byte [rax]
lea rcx, [rbp - 0x50]
call fcn.140035d08
test bl, bl
je 0x140059c6f
mov ecx, 0x64
call qword [sym.imp.kernel32.dll_Sleep]
mov dword [rbp - 0x80], 0xf1f2e50c
mov dword [rbp - 0x7c], 0xefebebea
mov word [rbp - 0x78], 0xe3
mov byte [rbp - 0x76], 1
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx + 0x7f]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 9
jb 0x140059c90
mov byte [rbp - 0x76], 0
lea r9, [rbp + 0x278]
lea r8, [rbp - 0x77]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x30]
call fcn.14004ad60
nop
movzx ecx, byte [rbp + 0x280]
test cl, cl
jne 0x140059ce4
mov byte [rbp + 0x280], 1
call fcn.14004d560
mov qword [rbp + 0x288], rax
movzx ecx, byte [rbp + 0x280]
jmp 0x140059ceb
mov rax, qword [rbp + 0x288]
cmp cl, 1
jne 0x140059cfe
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.140052cf0
jmp 0x140059d03
mov rax, qword [rsp + 0x40]
cmp byte [rax], 3
jne 0x140059d0e
mov r8, qword [rax + 8]
jmp 0x140059d11
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140059d1e
mov rdx, qword [r8]
lea rcx, [r14 + 0x238]
mov r8, qword [r8 + 0x10]
call fcn.140040e40
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140059d6d
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059d68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059d68
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af04c
mov byte [0x140163890], 1
mov dword [rsp + 0x40], 0xebf1f01e
mov dword [rsp + 0x44], 0xeae2ed
mov byte [rsp + 0x48], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx + 0x7f]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 7
jb 0x140059d90
mov byte [rsp + 0x48], 0
lea r9, [rbp + 0x278]
lea r8, [rsp + 0x47]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.14004ad60
nop
movzx ecx, byte [rbp + 0x280]
test cl, cl
jne 0x140059de7
mov byte [rbp + 0x280], 1
call fcn.14004d560
mov qword [rbp + 0x288], rax
movzx ecx, byte [rbp + 0x280]
jmp 0x140059dee
mov rax, qword [rbp + 0x288]
cmp cl, 1
jne 0x140059e01
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.140052cf0
jmp 0x140059e06
mov rax, qword [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140051200
mov rdx, rax
mov rcx, r14
call fcn.14005b830
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140059e5e
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059e58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059e58
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af04c
nop
test r15, r15
je 0x14005a26d
mov rdx, qword [rbp + 0x350]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14005a264
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a264
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rsp + 0x58], 0xe3f7ee16
mov dword [rsp + 0x5c], 0xf0e1edef
mov dword [rsp + 0x60], 0x100fae2
xor eax, eax
mov qword [rbp - 0x78], rax
mov byte [rbp - 0x80], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x290], xmm0
lea ecx, [rax + 0x20]
call fcn.1400af4c0
mov rbx, rax
lea rax, [rbp + 0x278]
mov qword [rbp + 0x290], rax
mov qword [rbp + 0x298], rbx
cmp byte [rsp + 0x63], 0
je 0x140059f15
mov rdx, r13
nop word [rax + rax]
lea ecx, [rdx + 0x7f]
xor byte [rsp + rdx + 0x58], cl
inc rdx
cmp rdx, 0xa
jb 0x140059f00
mov byte [rsp + 0x63], 0
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x62]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14004ad60
nop
mov qword [rbp - 0x78], rbx
mov dword [rsp + 0x40], 0xf1f2e512
mov dword [rsp + 0x44], 0xe0e3e2
mov byte [rsp + 0x48], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx + 0x7f]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 7
jb 0x140059f50
mov byte [rsp + 0x48], 0
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x47]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.14004ad60
nop
movzx ecx, byte [rbp + 0x280]
test cl, cl
jne 0x140059fa5
mov byte [rbp + 0x280], 1
call fcn.14004d560
mov qword [rbp + 0x288], rax
movzx ecx, byte [rbp + 0x280]
jmp 0x140059fac
mov rax, qword [rbp + 0x288]
cmp cl, 1
jne 0x140059fbf
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.140052cf0
jmp 0x140059fc4
mov rax, qword [rsp + 0x40]
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.140052900
movzx ebx, al
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14005a011
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a00c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a00c
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af04c
movdqa xmm0, xmmword [0x1400bd840]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
movzx edx, byte [rbp - 0x80]
lea rcx, [rbp - 0x78]
call fcn.1400571a0
test bl, bl
je 0x140059e5e
mov dword [rbp + 0x290], 0xecf6ef1b
mov dword [rbp + 0x294], 0xe2e4ebef
mov word [rbp + 0x298], 0x100
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x290]
call fcn.140052de0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x280]
call fcn.140052ca0
lea rdx, [rbp + 0x358]
mov rcx, rax
call fcn.14004b240
nop
lea rcx, [rbp - 0x50]
call fcn.140035d08
lea rdx, [0x1400b5236]
lea rcx, [rbp + 0x358]
call fcn.14004af90
test al, al
je 0x14005a215
movdqa xmm0, xmmword [0x1400bda60]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x1400bda90]
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmm0, xmmword [0x1400bd960]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x1400bd9f0]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x1400bd970]
movdqa xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [0x1400bd980]
movdqa xmmword [rbp + 0xe0], xmm1
movdqa xmm0, xmmword [0x1400bda20]
movdqa xmmword [rbp + 0xf0], xmm0
movdqa xmm1, xmmword [0x1400bd940]
movdqa xmmword [rbp + 0x100], xmm1
movdqa xmm0, xmmword [0x1400bd920]
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmm1, xmmword [0x1400bd930]
movdqa xmmword [rbp + 0x120], xmm1
movdqa xmm0, xmmword [0x1400bd910]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x1400bd900]
movdqa xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x1400bd8e0]
movdqa xmmword [rbp + 0x150], xmm0
movdqa xmm1, xmmword [0x1400bd8f0]
movdqa xmmword [rbp + 0x160], xmm1
movdqa xmm0, xmmword [0x1400bd8c0]
movdqa xmmword [rbp + 0x170], xmm0
movdqa xmm1, xmmword [0x1400bd8d0]
movdqa xmmword [rbp + 0x180], xmm1
movdqa xmm0, xmmword [0x1400bda50]
movdqa xmmword [rbp + 0x190], xmm0
movdqa xmm1, xmmword [0x1400bdaa0]
movdqa xmmword [rbp + 0x1a0], xmm1
movdqa xmm0, xmmword [0x1400bda00]
movdqa xmmword [rbp + 0x1b0], xmm0
mov dword [rbp + 0x1c0], 0xcbddc4cc
mov word [rbp + 0x1c4], 0x9d
mov byte [rbp + 0x1c6], 1
lea rcx, [rbp + 0x90]
call fcn.140054730
mov rdx, rax
mov r9d, 0x10
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.user32.dll_MessageBoxA]
jmp 0x14005a25b
lea rcx, [rbp + 0x358]
call fcn.140040f74
mov rbx, rax
mov dword [rsp + 0x50], 0xece4f010
mov word [rsp + 0x54], 0x100
lea rcx, [rsp + 0x50]
call fcn.140054700
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.ucrtbase.dll_exit]
nop
mov rcx, r15
call fcn.1400af04c
nop
mov rax, qword [rbp + 0x3b0]
movsxd rcx, dword [rax + 4]
lea rax, [0x1400bb858]
mov qword [rbp + rcx + 0x3b0], rax
mov rax, qword [rbp + 0x3b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x3ac], edx
lea rcx, [rbp + 0x3c8]
call fcn.140035d58
lea rcx, [rbp + 0x3d0]
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 + 0x448]
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 + 0x318]
cmp rdx, 0x10
jb 0x14005a30a
inc rdx
mov rcx, qword [rbp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a305
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a305
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af04c
mov qword [rbp + 0x310], r13
mov qword [rbp + 0x318], 0xf
mov byte [rbp + 0x300], 0
movzx edx, byte [rbp + 0x280]
lea rcx, [rbp + 0x288]
call fcn.1400571a0
nop
mov rdx, qword [rbp + 0x2b8]
cmp rdx, 0x10
jb 0x14005a37b
inc rdx
mov rcx, qword [rbp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a376
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a376
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af04c
mov qword [rbp + 0x2b0], r13
mov qword [rbp + 0x2b8], 0xf
mov byte [rbp + 0x2a0], 0
mov rdx, qword [rbp + 0x3a0]
cmp rdx, 0x10
jb 0x14005a3d9
inc rdx
mov rcx, qword [rbp + 0x388]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a3d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a3d3
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af04c
nop
mov rdx, qword [rbp + 0x338]
cmp rdx, 0x10
jb 0x14005a41d
inc rdx
mov rcx, qword [rbp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a418
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a418
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af04c
mov qword [rbp + 0x330], r13
mov qword [rbp + 0x338], 0xf
mov byte [rbp + 0x320], 0
mov rdx, qword [rbp + 0x2d8]
cmp rdx, 0x10
jb 0x14005a47b
inc rdx
mov rcx, qword [rbp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a475
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a475
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af04c
nop
mov rdx, qword [rbp + 0x2f8]
cmp rdx, 0x10
jb 0x14005a4bf
inc rdx
mov rcx, qword [rbp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a4ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a4ba
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af04c
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1400af440
lea r11, [rsp + 0x5c0]
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 [0x1400bd9a0]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1400bd9c0]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x1400bd9e0]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1400bda30]
movdqa xmmword [rbp + 0x40], xmm1
mov dword [rbp + 0x50], 0xa1efaed6
mov dword [rbp + 0x54], 0x100b4b3
lea rcx, [rbp + 0x10]
call fcn.140054790
mov rdx, rax
mov r9d, 0x10
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.user32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll_exit]
nop
call fcn.140040aa0
nop
int3