Function at 0x479080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79bcff
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x178], ecx
push 0xb0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x17c], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x7d4f80
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x17c], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xa8], 0x7c6164
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 2
mov eax, 0x20
mov dword [ebp - 0x1c8], eax
xor ecx, ecx
mov dword [ebp - 0x1c4], 0xea00e3
mov dword [ebp - 0x1c0], 0xda00d9
mov dword [ebp - 0x1bc], 0xee00d2
mov dword [ebp - 0x1b8], 0xd700dd
mov dword [ebp - 0x1b4], 0xa500a5
mov dword [ebp - 0x1b0], 0xaf00b7
mov dword [ebp - 0x1ac], 0xb700a1
mov dword [ebp - 0x1a8], 0xe7009b
mov dword [ebp - 0x1a4], 0xbd00bb
mov dword [ebp - 0x1a0], 0xb900ab
mov dword [ebp - 0x19c], 0x9f00b8
mov dword [ebp - 0x198], 0xa800ab
mov dword [ebp - 0x194], 0xbd00a5
mov dword [ebp - 0x190], 0xa100b3
mov dword [ebp - 0x18c], 0xac00b8
mov dword [ebp - 0x188], 0xfe00fe
mov dword [ebp - 0x184], 0xd8
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1c4], ax
inc ecx
mov eax, dword [ebp - 0x1c8]
cmp ecx, eax
jb 0x479230
xor ecx, ecx
mov word [ebp + eax*2 - 0x1c4], cx
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
mov edx, dword [0x83df60]
add esp, 8
mov dword [ebp - 0x180], edx
test edx, edx
jne 0x4792ba
push 0x20
call fcn.0076d2e3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x180], edx
xor eax, eax
mov dword [ebp - 0x174], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [0x83df60], edx
lea eax, [ebp - 0x324]
push eax
call fcn.00479b60
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x17c], eax
test esi, esi
je 0x4792fd
mov edx, eax
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x4792e0
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x17c]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x22c]
push eax
call fcn.00479a00
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x174], eax
test esi, esi
je 0x47933f
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x479322
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x174]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xc0]
push ecx
push dword [ebp - 0x17c]
mov ecx, edx
push 0xbc
push eax
push 1
call fcn.00469240
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call fcn.004073e0
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov edi, dword [ebp - 0x178]
mov ecx, dword [edi]
call fcn.0043a790
test al, al
je 0x4796cd
lea eax, [ebp - 0x1a8]
xor ecx, ecx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x184], ecx
mov dword [ebp - 4], 3
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x4793fd
mov eax, dword [edx]
lea ecx, [ebp - 0x1a8]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, eax
mov dword [ebp - 0x184], ecx
mov dword [ebp - 4], 4
lea eax, [ebp - 0x254]
mov esi, dword [edi]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x230], 0
mov byte [ebp - 4], 5
test ecx, ecx
je 0x479437
mov eax, dword [ecx]
lea edx, [ebp - 0x254]
push edx
mov eax, dword [eax]
call eax
mov dword [ebp - 0x230], eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00439d90
test al, al
jne 0x47947a
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x230]
test ecx, ecx
je 0x479471
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x254]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x230], 0
mov byte [ebp - 0x174], 0
jmp 0x4794c5
lea eax, [ebp - 0x254]
push eax
lea ecx, [esi + 0xa0]
call fcn.0043ad60
mov ecx, esi
call fcn.00439f90
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x230]
test ecx, ecx
je 0x4794be
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x254]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x230], 0
mov byte [ebp - 0x174], 1
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x184]
test ecx, ecx
je 0x4794e9
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x1a8]
cmp ecx, eax
setne al
push eax
call edx
push 0xb0
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x7d4f80
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x17c], 3
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xa8], 0x7c6164
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x1ec]
mov dword [ebp - 4], 0xc
push eax
call fcn.00479cd0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x4795d1
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x4795c0
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xb0]
push edi
push eax
call fcn.00404740
add esp, 8
mov ecx, eax
push dword [ebp - 0x174]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___bool_]
call fcn.00434600
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x324]
push eax
call fcn.00479da0
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
mov dword [ebp - 0x178], esi
test edx, edx
je 0x479631
nop
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x479620
xor eax, eax
mov word [esi + edx*2], ax
lea eax, [ebp - 0x22c]
push eax
call fcn.00479a00
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x479661
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x479650
mov ecx, dword [ebp - 0x174]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0x178]
push 0xc1
push edi
push 1
call fcn.00469240
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call fcn.004073e0
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x58]
jmp 0x4799ce
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x274]
push eax
call fcn.00478d70
sub esp, 0x24
mov esi, esp
movups xmm0, xmmword [eax]
mov dword [ebp - 0x178], esi
mov dword [esi + 0x24], 0
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 4], 0xd
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x479710
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
push eax
mov ecx, edi
call fcn.0043ab90
push 0xb0
lea eax, [ebp - 0x170]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x170], 0x7d4f80
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x160], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0x158]
mov dword [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x17c], 5
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x158]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x158], 0x7c6164
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 4], 0x10
mov eax, 0x28
mov dword [ebp - 0x1d8], eax
xor ecx, ecx
mov dword [ebp - 0x1d4], 0xea00e3
mov dword [ebp - 0x1d0], 0xda00d9
mov dword [ebp - 0x1cc], 0xee00d2
mov dword [ebp - 0x1c8], 0xd700dd
mov dword [ebp - 0x1c4], 0xa500a5
mov dword [ebp - 0x1c0], 0xaf00b7
mov dword [ebp - 0x1bc], 0xb700a1
mov dword [ebp - 0x1b8], 0xe7009b
mov dword [ebp - 0x1b4], 0xbd009b
mov dword [ebp - 0x1b0], 0xb900ab
mov dword [ebp - 0x1ac], 0xa400b8
mov dword [ebp - 0x1a8], 0xa800a0
mov dword [ebp - 0x1a4], 0xb300f0
mov dword [ebp - 0x1a0], 0xf300ab
mov dword [ebp - 0x19c], 0xb000ba
mov dword [ebp - 0x198], 0xf700a1
mov dword [ebp - 0x194], 0xba00ab
mov dword [ebp - 0x190], 0xbe00b2
mov dword [ebp - 0x18c], 0xa800b8
mov dword [ebp - 0x188], 0xba00b2
mov dword [ebp - 0x184], 0xe0
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1d4], ax
inc ecx
mov eax, dword [ebp - 0x1d8]
cmp ecx, eax
jb 0x4798c0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1d4], cx
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00404740
add esp, 8
call fcn.00434600
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x480]
push eax
call fcn.00479f10
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x178], edi
test edx, edx
je 0x479934
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x479923
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x3d0]
push eax
call fcn.00479a00
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x479964
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x479953
mov ecx, dword [ebp - 0x174]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x178]
push 0xc6
push edi
push 1
call fcn.00469240
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x158]
call fcn.004073e0
lea ecx, [ebp - 0x150]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
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.0076d59e
mov esp, ebp
pop ebp
ret 4