Function at 0x46e070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79bddd
mov eax, dword fs:[0]
push eax
sub esp, 0x400
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 eax, ecx
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x274], 0
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.0046c5e0
push 0xb0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x160], 0x7d6f90
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x150], 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 - 0x148]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x274], 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], 3
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
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 - 0x148], 0x7c8164
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x60], 0x25
mov dword [ebp - 0x5c], 0xeb00f2
mov dword [ebp - 0x58], 0xdc00db
mov dword [ebp - 0x54], 0xde00f8
mov dword [ebp - 0x50], 0xd100cb
mov dword [ebp - 0x4c], 0xd700c5
mov dword [ebp - 0x48], 0x9400ee
mov dword [ebp - 0x44], 0xc600e0
mov dword [ebp - 0x40], 0xd900d3
mov dword [ebp - 0x3c], 0xdf00cd
mov dword [ebp - 0x38], 0xce009b
mov dword [ebp - 0x34], 0xcd00d8
mov dword [ebp - 0x30], 0xac00ca
mov dword [ebp - 0x2c], 0xec00b5
mov dword [ebp - 0x28], 0xad00e3
mov dword [ebp - 0x24], 0x9300b6
mov dword [ebp - 0x20], 0xac00b7
mov dword [ebp - 0x1c], 0xbe00a8
mov dword [ebp - 0x18], 0xf600ae
mov dword [ebp - 0x14], 0xce00ed
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x5c], ax
inc ecx
mov eax, dword [ebp - 0x60]
cmp ecx, eax
jb 0x46e210
xor ecx, ecx
mov word [ebp + eax*2 - 0x5c], cx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00404740
add esp, 8
mov ecx, eax
push dword [ebp - 0x270]
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_]
movaps xmm0, xmmword [0x7e5450]
mov edx, 0xd
mov esi, eax
mov dword [ebp - 0x2bc], edx
movups xmmword [ebp - 0x2b8], xmm0
xor ecx, ecx
nop dword [eax + eax]
lea eax, [ecx - 0x57]
xor byte [ebp + ecx - 0x2b8], al
inc ecx
mov edx, dword [ebp - 0x2bc]
cmp ecx, edx
jb 0x46e270
lea eax, [ebp - 0x2b8]
mov byte [ebp + edx - 0x2b8], 0
push eax
push esi
call fcn.00413580
add esp, 8
mov ecx, eax
push dword [ebp - 0x26f]
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_]
mov edx, 9
mov dword [ebp - 0x280], 0xdeee8a85
mov esi, eax
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x27c], 0x8addc1df
xor ecx, ecx
mov dword [ebp - 0x278], 0xb291
nop dword [eax + eax]
lea eax, [ecx - 0x57]
xor byte [ebp + ecx - 0x280], al
inc ecx
mov edx, dword [ebp - 0x284]
cmp ecx, edx
jb 0x46e2e0
lea eax, [ebp - 0x280]
mov byte [ebp + edx - 0x280], 0
push eax
push esi
call fcn.00413580
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
push dword [ebp - 0x250]
cmovae ecx, dword [ebp - 0x260]
push ecx
push eax
call fcn.00404c80
movaps xmm0, xmmword [0x7e5e20]
mov edx, 0x12
add esp, 0x14
mov dword [ebp - 0x2a0], edx
mov esi, eax
mov dword [ebp - 0x28c], 0xbb9a83
movups xmmword [ebp - 0x29c], xmm0
xor ecx, ecx
lea eax, [ecx - 0x57]
xor byte [ebp + ecx - 0x29c], al
inc ecx
mov edx, dword [ebp - 0x2a0]
cmp ecx, edx
jb 0x46e355
lea eax, [ebp - 0x29c]
mov byte [ebp + edx - 0x29c], 0
push eax
push esi
call fcn.00413580
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae ecx, dword [ebp - 0x230]
push ecx
push eax
call fcn.00404c80
mov edx, dword [0x83ff50]
add esp, 0x14
mov dword [ebp - 0x2a4], edx
test edx, edx
jne 0x46e3f4
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x274], edx
add esp, 4
xor eax, eax
mov dword [ebp - 0x2a4], 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 - 0xb0]
push eax
call fcn.0046ec70
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x2a8], eax
test esi, esi
je 0x46e432
mov edx, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x46e415
mov edx, dword [ebp - 0x2a4]
mov eax, dword [ebp - 0x2a8]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x40c]
push eax
call fcn.0046d6b0
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x274], eax
test esi, esi
je 0x46e47d
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 0x46e460
mov edx, dword [ebp - 0x2a4]
mov eax, dword [ebp - 0x274]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x160]
push ecx
push dword [ebp - 0x2a8]
mov ecx, edx
push 0x66
push eax
push 1
call fcn.00469f50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call fcn.004073e0
lea ecx, [ebp - 0x140]
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 - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
cmp byte [ebp - 0x270], 0
jne 0x46e500
cmp byte [ebp - 0x26f], 0
jne 0x46ebdc
mov dword [ebp - 0x2a0], 9
xor ecx, ecx
mov dword [ebp - 0x29c], 0xda00dc
mov dword [ebp - 0x298], 0xcd00cf
mov dword [ebp - 0x294], 0xcb00d9
mov dword [ebp - 0x290], 0xd900f0
mov dword [ebp - 0x28c], 0xb200d5
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x29c], ax
inc ecx
mov eax, dword [ebp - 0x2a0]
cmp ecx, eax
jb 0x46e540
xor ecx, ecx
mov word [ebp + eax*2 - 0x29c], cx
xor eax, eax
mov dword [ebp - 0x1f0], ecx
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x1ec], 7
lea edx, [ecx + 2]
mov word [ebp - 0x200], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e585
sub ecx, edx
lea eax, [ebp - 0x29c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x200]
call fcn.004044f0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00404120
mov byte [ebp - 4], 6
mov eax, 4
mov dword [ebp - 0x2cc], eax
xor ecx, ecx
mov dword [ebp - 0x2c8], 0xd800cf
mov dword [ebp - 0x2c4], 0xc100c4
mov dword [ebp - 0x2c0], 0xad
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x2c8], ax
inc ecx
mov eax, dword [ebp - 0x2cc]
cmp ecx, eax
jb 0x46e5f0
xor ecx, ecx
mov word [ebp + eax*2 - 0x2c8], cx
xor eax, eax
mov dword [ebp - 0x1c0], ecx
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x1bc], 7
lea edx, [ecx + 2]
mov word [ebp - 0x1d0], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e635
sub ecx, edx
lea eax, [ebp - 0x2c8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1d0]
call fcn.004044f0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1b8]
call fcn.00404120
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1a0]
push 2
xor eax, eax
mov dword [ebp - 0x190], 0
push 0x7d9bd4
mov dword [ebp - 0x18c], 7
mov word [ebp - 0x1a0], ax
call fcn.004044f0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x188]
call fcn.00404120
mov byte [ebp - 4], 0xa
xor ecx, ecx
mov edi, dword [ebp - 0x288]
cmp byte [edi + 0x7c], cl
je 0x46e71b
mov eax, 4
mov dword [ebp - 0x30c], 0xd800dd
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x308], 0xc900de
mov dword [ebp - 0x304], 0xad
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x30c], ax
inc ecx
mov eax, dword [ebp - 0x310]
cmp ecx, eax
jb 0x46e6f0
xor ecx, ecx
mov word [ebp + eax*2 - 0x30c], cx
lea eax, [ebp - 0x30c]
jmp 0x46e779
mov dword [ebp - 0x320], 5
mov dword [ebp - 0x31c], 0xcb00cf
mov dword [ebp - 0x318], 0xdf00c7
mov dword [ebp - 0x314], 0xae00c8
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x31c], ax
inc ecx
mov eax, dword [ebp - 0x320]
cmp ecx, eax
jb 0x46e750
xor ecx, ecx
mov word [ebp + eax*2 - 0x31c], cx
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x274]
push eax
push ecx
lea ecx, [ebp - 0x170]
call fcn.0046f0b0
xor ecx, ecx
mov byte [ebp - 4], 0xb
cmp byte [ebp - 0x26f], cl
je 0x46e7fb
mov eax, 4
mov dword [ebp - 0x32c], 0xd800dd
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x328], 0xc900de
mov dword [ebp - 0x324], 0xad
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x32c], ax
inc ecx
mov eax, dword [ebp - 0x330]
cmp ecx, eax
jb 0x46e7d0
xor ecx, ecx
lea esi, [ebp - 0x32c]
mov word [ebp + eax*2 - 0x32c], cx
jmp 0x46e859
mov dword [ebp - 0x2b8], 5
mov dword [ebp - 0x2b4], 0xcb00cf
mov dword [ebp - 0x2b0], 0xdf00c7
mov dword [ebp - 0x2ac], 0xae00c8
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x2b4], ax
inc ecx
mov eax, dword [ebp - 0x2b8]
cmp ecx, eax
jb 0x46e830
xor ecx, ecx
lea esi, [ebp - 0x2b4]
mov word [ebp + eax*2 - 0x2b4], cx
push 1
xor eax, eax
mov dword [ebp - 0x130], 0
push 0x7d9bd0
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x12c], 7
mov word [ebp - 0x140], ax
call fcn.004044f0
mov ecx, esi
mov byte [ebp - 4], 0xc
xor eax, eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e8b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x128]
call fcn.004044f0
mov byte [ebp - 4], 0xd
xor ecx, ecx
mov dword [ebp - 0x2dc], 5
mov dword [ebp - 0x2d8], 0xd800cc
mov dword [ebp - 0x2d4], 0xc300d9
mov dword [ebp - 0x2d0], 0xae00df
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x2d8], ax
inc ecx
mov eax, dword [ebp - 0x2dc]
cmp ecx, eax
jb 0x46e900
xor ecx, ecx
mov word [ebp + eax*2 - 0x2d8], cx
xor eax, eax
mov dword [ebp - 0x100], ecx
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0xfc], 7
lea edx, [ecx + 2]
mov word [ebp - 0x110], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e945
sub ecx, edx
lea eax, [ebp - 0x2d8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x110]
call fcn.004044f0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0xf8]
call fcn.00404120
mov byte [ebp - 4], 0xf
mov eax, 0xc
mov dword [ebp - 0x350], eax
xor ecx, ecx
mov dword [ebp - 0x34c], 0xda00dc
mov dword [ebp - 0x348], 0xcd00cf
mov dword [ebp - 0x344], 0xcb00d9
mov dword [ebp - 0x340], 0xc400f0
mov dword [ebp - 0x33c], 0xdb00c3
mov dword [ebp - 0x338], 0xc700d6
mov dword [ebp - 0x334], 0xb5
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x34c], ax
inc ecx
mov eax, dword [ebp - 0x350]
cmp ecx, eax
jb 0x46e9e0
xor ecx, ecx
mov word [ebp + eax*2 - 0x34c], cx
lea eax, [ebp - 0x34c]
push dword [ebp - 0x26c]
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x12]
push eax
call fcn.00413b90
xor ecx, ecx
mov dword [ebp - 0x2e4], 0
mov word [ebp - 0x2f4], cx
add esp, 8
lea ecx, [ebp - 0x12]
mov dword [ebp - 0x2e0], 7
cmp eax, ecx
je 0x46ea56
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2f4]
call fcn.004044f0
lea eax, [ebp - 0x2f4]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0xe0]
call fcn.0046f150
lea ecx, [ebp - 0x2f4]
call fcn.00404490
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0xb0]
push dword [ebp - 0x288]
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x280], 0
push eax
lea eax, [ebp - 0x200]
mov dword [ebp - 0x27c], 0
push eax
mov dword [ebp - 0x278], 0
call fcn.0046f1e0
mov byte [ebp - 4], 0x12
mov eax, 0xe
mov dword [ebp - 0x300], eax
xor ecx, ecx
mov dword [ebp - 0x2fc], 0xda00c8
mov dword [ebp - 0x2f8], 0x8300db
mov dword [ebp - 0x2f4], 0xde00d8
mov dword [ebp - 0x2f0], 0xd100cb
mov dword [ebp - 0x2ec], 0xd700c5
mov dword [ebp - 0x2e8], 0xd1009c
mov dword [ebp - 0x2e4], 0xd200db
mov dword [ebp - 0x2e0], 0xb7
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x2fc], ax
inc ecx
mov eax, dword [ebp - 0x300]
cmp ecx, eax
jb 0x46eb20
xor ecx, ecx
mov word [ebp + eax*2 - 0x2fc], cx
xor eax, eax
mov dword [ebp - 0x358], ecx
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x354], 7
lea edx, [ecx + 2]
mov word [ebp - 0x368], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46eb65
sub ecx, edx
lea eax, [ebp - 0x2fc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x368]
call fcn.004044f0
mov byte [ebp - 4], 0x13
cmp dword [edi + 0x184], 0
je 0x46ebad
mov ecx, dword [edi + 0x184]
lea edx, [ebp - 0x280]
push edx
lea edx, [ebp - 0x368]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x368]
call fcn.00404490
lea ecx, [ebp - 0x280]
call fcn.00420a90
push fcn.00420a60
push 7
push 0x30
lea eax, [ebp - 0x200]
mov byte [ebp - 4], 1
push eax
call fcn.0076e7c5
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
sete al
test ecx, ecx
je 0x46ebf8
test al, al
jne 0x46ec60
mov eax, dword [ecx]
lea edx, [ebp - 0x270]
push edx
call dword [eax + 8]
lea ecx, [ebp - 0x218]
call fcn.00404490
lea ecx, [ebp - 0x230]
call fcn.00404490
lea ecx, [ebp - 0x248]
call fcn.00404490
lea ecx, [ebp - 0x260]
call fcn.00404490
mov dword [ebp - 4], 0x14
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x46ec43
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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 0x28
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3