Function at 0x46d360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79a69d
mov eax, dword fs:[0]
push eax
sub esp, 0x400
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 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.0046b8d0
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], 0x7d4f80
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x150], 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 - 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 - method..7.virtual_0], vtable..7.0
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], 0x7c6164
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], 0xf800e3
mov dword [ebp - 0x58], 0xcb00ca
mov dword [ebp - 0x54], 0xcd00e9
mov dword [ebp - 0x50], 0xde00da
mov dword [ebp - 0x4c], 0xa400b4
mov dword [ebp - 0x48], 0xe3009f
mov dword [ebp - 0x44], 0xb50091
mov dword [ebp - 0x40], 0xa600a2
mov dword [ebp - 0x3c], 0xac00bc
mov dword [ebp - 0x38], 0xb900ea
mov dword [ebp - 0x34], 0xbe00a9
mov dword [ebp - 0x30], 0xa300bb
mov dword [ebp - 0x2c], 0xff00a4
mov dword [ebp - 0x28], 0xba00f2
mov dword [ebp - 0x24], 0x8000a7
mov dword [ebp - 0x20], 0xb300a6
mov dword [ebp - 0x1c], 0xad00b9
mov dword [ebp - 0x18], 0xe100bf
mov dword [ebp - 0x14], 0xdd00fc
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x5c], ax
inc ecx
mov eax, dword [ebp - 0x60]
cmp ecx, eax
jb 0x46d500
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 [0x7e34b0]
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 - 0x48]
xor byte [ebp + ecx - 0x2b8], al
inc ecx
mov edx, dword [ebp - 0x2bc]
cmp ecx, edx
jb 0x46d560
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], 0xc9ff9994
mov esi, eax
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x27c], 0x85ccd2ce
xor ecx, ecx
mov dword [ebp - 0x278], 0xc1e0
nop dword [eax + eax]
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x280], al
inc ecx
mov edx, dword [ebp - 0x284]
cmp ecx, edx
jb 0x46d5d0
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 [0x7e3a50]
mov edx, 0x12
add esp, 0x14
mov dword [ebp - 0x2a0], edx
mov esi, eax
mov dword [ebp - 0x28c], 0xcae9f2
movups xmmword [ebp - 0x29c], xmm0
xor ecx, ecx
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x29c], al
inc ecx
mov edx, dword [ebp - 0x2a0]
cmp ecx, edx
jb 0x46d645
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 [0x83df60]
add esp, 0x14
mov dword [ebp - 0x2a4], edx
test edx, edx
jne 0x46d6e4
push 0x20
call fcn.0076d2e3
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 [0x83df60], edx
lea eax, [ebp - 0xb0]
push eax
call fcn.0046df60
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x2a8], eax
test esi, esi
je 0x46d722
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x46d705
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.0046c9a0
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x274], eax
test esi, esi
je 0x46d76d
mov edx, eax
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x46d750
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.00469240
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
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 0x46d7f0
cmp byte [ebp - 0x26f], 0
jne 0x46decc
mov dword [ebp - 0x2a0], 9
xor ecx, ecx
mov dword [ebp - 0x29c], 0xc900cd
mov dword [ebp - 0x298], 0xda00de
mov dword [ebp - 0x294], 0xd800c8
mov dword [ebp - 0x290], 0xd600e1
mov dword [ebp - 0x28c], 0xc100a4
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x29c], ax
inc ecx
mov eax, dword [ebp - 0x2a0]
cmp ecx, eax
jb 0x46d830
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 0x46d875
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], 0xcb00de
mov dword [ebp - 0x2c4], 0xd600d5
mov dword [ebp - 0x2c0], 0xbc
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x2c8], ax
inc ecx
mov eax, dword [ebp - 0x2cc]
cmp ecx, eax
jb 0x46d8e0
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 0x46d925
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 0x7d7b7c
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 0x46da0b
mov eax, 4
mov dword [ebp - 0x30c], 0xcb00cc
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x308], 0xde00cf
mov dword [ebp - 0x304], 0xbc
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x30c], ax
inc ecx
mov eax, dword [ebp - 0x310]
cmp ecx, eax
jb 0x46d9e0
xor ecx, ecx
mov word [ebp + eax*2 - 0x30c], cx
lea eax, [ebp - 0x30c]
jmp 0x46da69
mov dword [ebp - 0x320], 5
mov dword [ebp - 0x31c], 0xd800de
mov dword [ebp - 0x318], 0xc800d6
mov dword [ebp - 0x314], 0xbd00d9
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x31c], ax
inc ecx
mov eax, dword [ebp - 0x320]
cmp ecx, eax
jb 0x46da40
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.0046e3a0
xor ecx, ecx
mov byte [ebp - 4], 0xb
cmp byte [ebp - 0x26f], cl
je 0x46daeb
mov eax, 4
mov dword [ebp - 0x32c], 0xcb00cc
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x328], 0xde00cf
mov dword [ebp - 0x324], 0xbc
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x32c], ax
inc ecx
mov eax, dword [ebp - 0x330]
cmp ecx, eax
jb 0x46dac0
xor ecx, ecx
lea esi, [ebp - 0x32c]
mov word [ebp + eax*2 - 0x32c], cx
jmp 0x46db49
mov dword [ebp - 0x2b8], 5
mov dword [ebp - 0x2b4], 0xd800de
mov dword [ebp - 0x2b0], 0xc800d6
mov dword [ebp - 0x2ac], 0xbd00d9
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x2b4], ax
inc ecx
mov eax, dword [ebp - 0x2b8]
cmp ecx, eax
jb 0x46db20
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 0x7d7b8c
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 0x46dba0
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], 0xcb00dd
mov dword [ebp - 0x2d4], 0xd400c8
mov dword [ebp - 0x2d0], 0xbd00ce
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x2d8], ax
inc ecx
mov eax, dword [ebp - 0x2dc]
cmp ecx, eax
jb 0x46dbf0
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 0x46dc35
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], 0xc900cd
mov dword [ebp - 0x348], 0xda00de
mov dword [ebp - 0x344], 0xd800c8
mov dword [ebp - 0x340], 0xcb00e1
mov dword [ebp - 0x33c], 0xa800b2
mov dword [ebp - 0x338], 0xb000a7
mov dword [ebp - 0x334], 0xc4
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x34c], ax
inc ecx
mov eax, dword [ebp - 0x350]
cmp ecx, eax
jb 0x46dcd0
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 0x46dd46
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.0046e440
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.0046e4d0
mov byte [ebp - 4], 0x12
mov eax, 0xe
mov dword [ebp - 0x300], eax
xor ecx, ecx
mov dword [ebp - 0x2fc], 0xc900d9
mov dword [ebp - 0x2f8], 0x9400ca
mov dword [ebp - 0x2f4], 0xcd00c9
mov dword [ebp - 0x2f0], 0xde00da
mov dword [ebp - 0x2ec], 0xa400b4
mov dword [ebp - 0x2e8], 0xa600ed
mov dword [ebp - 0x2e4], 0xa100aa
mov dword [ebp - 0x2e0], 0xc6
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x2fc], ax
inc ecx
mov eax, dword [ebp - 0x300]
cmp ecx, eax
jb 0x46de10
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 0x46de55
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 0x46de9d
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.0076d1e5
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
sete al
test ecx, ecx
je 0x46dee8
test al, al
jne 0x46df50
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 0x46df33
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.0076d59e
mov esp, ebp
pop ebp
ret 0x28
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3