Function at 0x46a430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79b871
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x831184]
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 - 0x1c0], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1b0]
mov esi, dword [ebp + 0xc]
xor edi, edi
push eax
mov dword [ebp - 0x1bc], edi
call fcn.00404120
mov dword [ebp - 4], edi
mov eax, 0x12
mov dword [ebp - 0x1ec], eax
xor ecx, ecx
mov dword [ebp - 0x1e8], 0x8f0084
mov dword [ebp - 0x1e4], 0x8100f2
mov dword [ebp - 0x1e0], 0xc30088
mov dword [ebp - 0x1dc], 0x950082
mov dword [ebp - 0x1d8], 0x9f00d5
mov dword [ebp - 0x1d4], 0xfc0096
mov dword [ebp - 0x1d0], 0x930098
mov dword [ebp - 0x1cc], 0x9500fa
mov dword [ebp - 0x1c8], 0xe9009c
mov dword [ebp - 0x1c4], 0xbb
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1e8], ax
inc ecx
mov eax, dword [ebp - 0x1ec]
cmp ecx, eax
jb 0x46a4f1
xor ecx, ecx
mov word [ebp + eax*2 - 0x1e8], cx
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0xe8]
push esi
push eax
call fcn.00421b40
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 0x10
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0xd4], 8
lea eax, [ebp - 0xe8]
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x1f0], edx
cmovae eax, dword [ebp - 0xe8]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.00444200
mov byte [ebp - 4], 2
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a592
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.004044f0
mov edx, dword [ebp - 0x1b4]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a5d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor edx, edx
mov dword [ebp - 0xa4], 7
xor eax, eax
mov dword [ebp - 0xa8], edx
mov word [ebp - 0xb8], ax
mov dword [ebp - 0x1b4], eax
mov ecx, 4
mov dword [ebp - 0x200], 0xc60087
mov dword [ebp - 0x204], ecx
xor eax, eax
mov dword [ebp - 0x1fc], 0xcb00c4
mov dword [ebp - 0x1f8], 0xad
nop dword [eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x200], cx
inc eax
mov ecx, dword [ebp - 0x204]
cmp eax, ecx
jb 0x46a620
xor eax, eax
mov word [ebp + ecx*2 - 0x200], ax
mov byte [ebp - 4], 7
xor ecx, ecx
mov esi, dword [ebp - 0xc0]
or edi, 1
mov dword [ebp - 0x23c], eax
mov word [ebp - 0x24c], ax
mov eax, esi
add eax, edx
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x1bc], edi
setb cl
mov dword [ebp - 0x1f0], edi
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x24c]
call fcn.00409030
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
push esi
cmovae eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0x24c]
push eax
call fcn.00407c50
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
push dword [ebp - 0xa8]
cmovae eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0x24c]
push eax
call fcn.00407c50
lea ecx, [ebp - 0x200]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a6e0
sub ecx, edx
lea eax, [ebp - 0x200]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.00407c50
xor ecx, ecx
or edi, 2
mov dword [ebp - 0x1bc], edi
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movups xmmword [ebp - 0x21c], xmm1
mov word [eax], cx
movq qword [ebp - 0x20c], xmm0
xor eax, eax
movq qword [ebp - 0x254], xmm0
movups xmmword [ebp - 0x264], xmm1
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], 7
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00404120
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00414b80
push eax
lea ecx, [ebp - 0x234]
call fcn.00404120
mov edi, dword [ebp - 0x1f0]
lea ecx, [ebp - 0x1d8]
or edi, 6
call fcn.00404490
mov esi, dword [ebp - 0x1c0]
lea eax, [ebp - 0x234]
cmp esi, eax
je 0x46a7f4
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x234]
xor eax, eax
mov word [ebp - 0x234], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
lea ecx, [ebp - 0x234]
call fcn.00404490
lea ecx, [ebp - 0x264]
call fcn.00404490
lea ecx, [ebp - 0x21c]
call fcn.00404490
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 6
and edi, 0xfffffffe
call fcn.00404490
push esi
lea ecx, [ebp - 0x1d8]
call fcn.00404120
or edi, 8
xor eax, eax
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x270]
call fcn.00403b80
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0xe
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x1b5], al
lea ecx, [ebp - 0x258]
call fcn.00404220
lea ecx, [ebp - 0x270]
call fcn.00404490
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 6
call fcn.00404490
cmp byte [ebp - 0x1b5], 0
je 0x46a9ef
mov eax, dword [ebp - 0x1b4]
lea ecx, [ebp - 0x74]
push 0xa
push 0x32
inc eax
push ecx
push eax
mov dword [ebp - 0x1b4], eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow_s]
add esp, 0x10
mov dword [ebp - 0x224], 0
xor eax, eax
mov dword [ebp - 0x220], 7
lea ecx, [ebp - 0x74]
mov word [ebp - 0x234], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a910
sub ecx, edx
lea eax, [ebp - 0x74]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.004044f0
or edi, 0x10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x24c]
push 1
xor eax, eax
mov dword [ebp - 0x23c], 0
push 0x7d9b64
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.004044f0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.00413490
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0xb8]
cmp eax, esi
je 0x46a9c3
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0xa8], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x1d8]
call fcn.00404490
lea ecx, [ebp - 0x24c]
call fcn.00404490
lea ecx, [ebp - 0x234]
call fcn.00404490
mov edx, dword [ebp - 0xa8]
jmp 0x46a5f1
push dword [ebp - 0x1c0]
lea ecx, [ebp - 0x21c]
call fcn.00404120
cmp dword [ebp - 0x208], 8
lea eax, [ebp - 0x21c]
lea ecx, [esi + 0x18]
cmovae eax, dword [ebp - 0x21c]
sub esp, 0xc
push 2
push 1
push 0x40000000
push eax
call fcn.00415b70
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x1f0], eax
call fcn.00404490
push 0xb0
lea eax, [ebp - 0x198]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x198], 0x7d6f90
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x188], 0x7d7228
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 - 0x180]
mov byte [ebp - 4], 0x11
or edi, 0x60
lea ecx, [ebp - 0x198]
push eax
mov dword [ebp - 0x1bc], edi
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], 0x12
mov eax, dword [ebp - 0x198]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x198], 0x7c81a4
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x19c], eax
lea ecx, [ebp - 0x180]
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 - 0x180], 0x7c8164
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov byte [ebp - 4], 0x13
xor ecx, ecx
mov dword [ebp - 0x1dc], 0xb
mov dword [ebp - 0x1d8], 0xc500e5
mov dword [ebp - 0x1d4], 0xcb00cc
mov dword [ebp - 0x1d0], 0xc000c4
mov dword [ebp - 0x1cc], 0x9000c8
mov dword [ebp - 0x1c8], 0xdd00c5
mov dword [ebp - 0x1c4], 0xb40093
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1d8], ax
inc ecx
mov eax, dword [ebp - 0x1dc]
cmp ecx, eax
jb 0x46ab40
xor ecx, ecx
mov word [ebp + eax*2 - 0x1d8], cx
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.00404740
add esp, 8
lea ecx, [ebp - 0x21c]
mov esi, eax
push dword [ebp - 0x1c0]
call fcn.00404120
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x21c]
cmp dword [ebp - 0x208], 8
push dword [ebp - 0x20c]
cmovae ecx, dword [ebp - 0x21c]
push ecx
push esi
call fcn.00404c80
add esp, 0xc
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x21c]
call fcn.00404490
mov edx, dword [0x83ff50]
mov dword [ebp - 0x1c0], edx
test edx, edx
jne 0x46ac14
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x1b4], edx
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c0], 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 [0x83ff50], edx
lea eax, [ebp - 0x304]
push eax
call fcn.0046ae80
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1bc], eax
test esi, esi
je 0x46ac52
mov edx, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x46ac35
mov edx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1bc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0xa0]
push eax
call fcn.0046ad60
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1b4], eax
test esi, esi
je 0x46ac9d
mov edx, eax
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x46ac80
mov edx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1b4]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x198]
push ecx
push dword [ebp - 0x1bc]
mov ecx, edx
push 0x5d
push eax
push 1
call fcn.00469f50
mov eax, dword [ebp - 0x198]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x198], 0x7c81a4
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x19c], eax
lea ecx, [ebp - 0x180]
call fcn.004073e0
lea ecx, [ebp - 0x178]
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 - 0x130]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xb8]
call fcn.00404490
lea ecx, [ebp - 0xd0]
call fcn.00404490
lea ecx, [ebp - 0xe8]
call fcn.00404490
lea ecx, [ebp - 0x1b0]
call fcn.00404490
cmp dword [ebp - 0x1f0], 0
sete al
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.0076eb7e
mov esp, ebp
pop ebp
ret 8