Function at 0x403ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48850e
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x4a3400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c0], 0
push 0xb8
lea eax, [ebp - 0x1b8]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004614b0
cmp dword [ebp + 0x1c], 0xf
lea esi, [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x1b8], 0x49f084
cmova esi, dword [ebp + 8]
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x120], 0
movlpd qword [ebp - 0x130], xmm0
movlpd qword [ebp - 0x128], xmm0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x108], 0
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1c0], 1
lea ecx, [ebp - 0x148]
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x14c], 0x58
push eax
movlpd qword [ebp - 0x1b0], xmm0
call fcn.004075a0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x1b8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1bc], eax
lea ecx, [ebp - 0x1a8]
call fcn.00407190
push ecx
push 0x21
push esi
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 4
call fcn.00406fc0
test eax, eax
jne 0x403e13
mov eax, dword [ebp - 0x1b8]
lea ecx, [ebp - 0x1b8]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00401f20
mov eax, dword [ebp - 0x1b8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1bc], eax
push 0xb0
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.004614b0
push str..hacked
lea edx, [ebp + 8]
lea ecx, [ebp - 0x1d8]
call fcn.00407800
add esp, 0x10
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x403e71
mov esi, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0x49f058
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x70], 0
movlpd qword [ebp - 0x80], xmm0
movlpd qword [ebp - 0x78], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x58], 0
push ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x1c0], 5
mov dword [ebp - 0x98], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x9c], 0x60
call fcn.004075a0
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xfc]
call fcn.00407190
push ecx
push 0x22
push esi
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0xa
call fcn.00406fc0
test eax, eax
jne 0x403f64
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x100]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00401f20
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x104], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1c4]
cmp ecx, 0xf
jbe 0x403fc9
mov edx, dword [ebp - 0x1d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403fbf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041fe
push ecx
push edx
call fcn.0045fedc
add esp, 8
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xf
mov byte [ebp - 0x1d8], 0
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1ac], 1
jne 0x40407b
nop dword [eax + eax]
sub esp, 8
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x1b8]
push eax
call fcn.00405f40
movups xmm1, xmmword [ebp - 0x50]
lea eax, [ebp - 0x50]
movups xmm0, xmmword [edi]
lea ecx, [ebp - 0x100]
push dword [ebp - 0x1ac]
xorps xmm1, xmm0
movups xmm0, xmmword [edi + 0x10]
push dword [ebp - 0x1b0]
movups xmmword [ebp - 0x50], xmm1
push eax
movups xmm1, xmmword [ebp - 0x40]
xorps xmm1, xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [ebp - 0x40], xmm1
movups xmm1, xmmword [ebp - 0x30]
xorps xmm1, xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [ebp - 0x30], xmm1
movups xmm1, xmmword [ebp - 0x20]
xorps xmm1, xmm0
movups xmmword [ebp - 0x20], xmm1
call fcn.004063b0
mov eax, dword [ebp - 0x1b8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1ac], 1
je 0x404000
lea ecx, [ebp - 0x1a8]
call fcn.00406e40
test eax, eax
jne 0x4040b3
mov eax, dword [ebp - 0x1b8]
lea ecx, [ebp - 0x1b8]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00401f20
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
call fcn.004657c2
mov eax, dword [ebp - 0x100]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xfc]
call fcn.00405e90
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x104], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.0045f5b3
mov eax, dword [ebp - 0x1b8]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1bc], eax
lea ecx, [ebp - 0x1a8]
call fcn.00405e90
mov eax, dword [ebp - 0x1b8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1bc], eax
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0xe
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0045f5b3
mov ecx, dword [ebp + 0x1c]
add esp, 4
cmp ecx, 0xf
jbe 0x4041e3
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4041d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404203
push ecx
push edx
call fcn.0045fedc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045fc97
mov esp, ebp
pop ebp
ret
call fcn.0046a4aa
call fcn.0046a4aa
int3