Function at 0x402f30
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451b53
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f0
mov eax, dword [0x45e00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss dword [ebp - 0xec], xmm3
movss dword [ebp - 0xf0], xmm2
movss dword [ebp - 0x154], xmm1
movss dword [ebp - 0x158], xmm0
mov dword [ebp - 0xe8], 0
push 0xb0
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xfc], 0x6c617678
lea ecx, [ebp - 0x78]
mov dword [ebp - 0xf8], 0x2e736575
mov dword [ebp - 0xf4], 0x747874
mov dword [ebp - 0xe0], 0x45473c
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe8], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x94], 0
mov byte [ebp - 0x9f], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x45e8f8]
mov ecx, dword [0x45e8fc]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0xa4], 0
push ecx
push 0xa
lea eax, [ebp - 0xfb]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xdc]
call fcn.00406390
test eax, eax
jne 0x4030cd
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe0]
mov eax, dword [ebp - 0xe0]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
test al, al
je 0x403160
lea eax, [ebp - 0xfc]
push eax
call fcn.00403960
mov cl, byte [eax]
lea edx, [eax + 1]
xor byte [edx], cl
xor byte [eax + 2], cl
xor byte [eax + 3], cl
xor byte [eax + 4], cl
xor byte [eax + 5], cl
xor byte [eax + 6], cl
xor byte [eax + 7], cl
mov byte [eax + 8], 0
lea eax, [ebp - 0x200]
push eax
mov dword [ebp - 0xe8], edx
call fcn.00403920
mov esi, eax
mov edi, 0xb
lea edx, [esi + 2]
nop
mov cl, byte [esi]
lea edx, [edx + 2]
xor byte [edx - 3], cl
mov al, byte [esi]
xor byte [edx - 2], al
sub edi, 1
jne 0x403130
push edi
push dword [ebp - 0xe8]
lea eax, [esi + 1]
mov byte [esi + 0x17], 0
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
movss xmm1, dword [ebp - 0xec]
lea ecx, [ebp - 0x1b8]
call fcn.00401460
mov dword [ebp - 0xec], eax
movss xmm1, dword [ebp - 0xf0]
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 5
call fcn.00401460
mov dword [ebp - 0xf0], eax
movss xmm1, dword [ebp - 0x154]
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 6
call fcn.00401460
mov edi, eax
movss xmm1, dword [ebp - 0x158]
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 7
call fcn.00401460
mov esi, eax
mov byte [ebp - 4], 8
mov ecx, 0x7fffffff
mov edx, dword [ebx + 0x18]
sub ecx, edx
cmp ecx, 2
jb 0x403919
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push 2
cmovae eax, dword [ebx + 8]
push 0x4545bc
push edx
push eax
push ecx
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x200]
call fcn.00407270
push esi
lea eax, [ebp - 0x200]
mov byte [ebp - 4], 9
push eax
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x150]
call fcn.00407090
mov byte [ebp - 4], 0xa
mov esi, 0x592c
mov edx, dword [ebp - 0x13c]
mov eax, edx
mov ecx, dword [ebp - 0x140]
sub eax, ecx
cmp eax, 2
jb 0x40326a
lea eax, [ecx + 2]
cmp edx, 0x10
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
mov word [eax + ecx], si
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0x150]
jmp 0x403284
push 2
push 0x4545b4
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x150]
push 2
call fcn.00406eb0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1e8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1d8], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x138]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x1e8]
push edi
push eax
push dword [ebp - 0xe4]
mov byte [ebp - 4], 0xb
call fcn.00407090
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x124]
mov eax, edx
mov ecx, dword [ebp - 0x128]
sub eax, ecx
cmp eax, 2
jb 0x403311
lea eax, [ecx + 2]
cmp edx, 0x10
mov dword [ebp - 0x128], eax
mov edx, 0x583b
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0x138]
jmp 0x40332b
push 2
push 0x4545b8
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x138]
push 2
call fcn.00406eb0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1d0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c0], xmm0
push dword [ebp - 0xf0]
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x120]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp - 0xe4]
mov byte [ebp - 4], 0xd
call fcn.00407090
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x10c]
mov eax, edx
mov ecx, dword [ebp - 0x110]
sub eax, ecx
cmp eax, 2
jb 0x4033b8
lea eax, [ecx + 2]
cmp edx, 0x10
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x120]
cmovae eax, dword [ebp - 0x120]
mov word [eax + ecx], si
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0x120]
jmp 0x4033d2
push 2
push 0x4545b4
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x120]
push 2
call fcn.00406eb0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x108], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf8], xmm0
push dword [ebp - 0xec]
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x2c]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0xe4]
mov byte [ebp - 4], 0xf
call fcn.00407090
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xf4]
cmp ecx, 0x10
jb 0x403457
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40344d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403753
push ecx
push edx
call fcn.00450872
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x10c]
cmp ecx, 0x10
jb 0x403495
mov edx, dword [ebp - 0x120]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40348b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403753
push ecx
push edx
call fcn.00450872
add esp, 8
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0xf
mov byte [ebp - 0x120], 0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1bc]
cmp ecx, 0x10
jb 0x4034ee
mov edx, dword [ebp - 0x1d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4034e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403753
push ecx
push edx
call fcn.00450872
add esp, 8
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x124]
cmp ecx, 0x10
jb 0x40352c
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403522
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403753
push ecx
push edx
call fcn.00450872
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x1d4]
cmp ecx, 0x10
jb 0x403585
mov edx, dword [ebp - 0x1e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40357b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403753
push ecx
push edx
call fcn.00450872
add esp, 8
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x13c]
cmp ecx, 0x10
jb 0x4035c3
mov edx, dword [ebp - 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4035b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403753
push ecx
push edx
call fcn.00450872
add esp, 8
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x1ec]
cmp ecx, 0x10
jb 0x40361c
mov edx, dword [ebp - 0x200]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403612
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403753
push ecx
push edx
call fcn.00450872
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x15c]
cmp ecx, 0x10
jb 0x40365a
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403650
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403753
push ecx
push edx
call fcn.00450872
add esp, 8
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x174]
cmp ecx, 0x10
jb 0x4036b3
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4036a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403753
push ecx
push edx
call fcn.00450872
add esp, 8
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x18c]
cmp ecx, 0x10
jb 0x403708
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4036fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403753
push ecx
push edx
call fcn.00450872
add esp, 8
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x1a4]
cmp ecx, 0x10
jb 0x403763
mov edx, dword [ebp - 0x1b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403759
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403759
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00450872
add esp, 8
cmp dword [ebp - 0x90], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0xf
mov byte [ebp - 0x1b8], 0
je 0x4037d8
cmp dword [ebp - 0x1c], 0
je 0x4037b0
lea ecx, [ebp - 0xe0]
call fcn.00406710
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
mov ecx, eax
call fcn.00407570
add esp, 4
lea ecx, [ebp - 0xdc]
call fcn.00406310
test eax, eax
jne 0x4037d8
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x403810
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403806
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038eb
push ecx
push edx
call fcn.00450872
add esp, 8
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe4], eax
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x90], 0
mov dword [ebp - 0xdc], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x403890
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xa0]
cmp dword [eax], ecx
jne 0x403890
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x8c]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0xc0]
mov dword [eax], ecx
mov eax, dword [ebp - 0xb0]
mov dword [eax], edx
cmp byte [ebp - 0x94], 0
je 0x4038a4
lea ecx, [ebp - 0xdc]
call fcn.00406310
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x4038fb
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4038f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4038f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00450872
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004505de
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004013b0
int3