Function at 0x64d980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b77a8
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
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 - 0x2a8], ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x330], esi
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x310], esi
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c]
mov edi, 1
movq qword [ebp - 0x9c], xmm0
mov dword [ebp - 0x2a4], edi
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x94], 0
call fcn.0064ce00
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x314], ecx
cmp eax, ecx
je 0x64e7e3
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push eax
lea ecx, [ebp - 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x5c], xmm0
call fcn.00404120
mov eax, dword [ebp - 0x30c]
lea ecx, [ebp - 0x54]
add eax, 0x18
mov byte [ebp - 4], 2
push eax
call fcn.00403f00
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x6c]
call fcn.00403460
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x64da9f
mov eax, dword [eax]
cmp ecx, 3
jne 0x64dabe
push ecx
push 0x7d81f4
push eax
call fcn.004090d0
add esp, 0xc
mov byte [ebp - 0x299], 0
test eax, eax
je 0x64dac5
mov byte [ebp - 0x299], 1
lea ecx, [ebp - 0x32c]
call fcn.00404490
cmp byte [ebp - 0x299], 0
jne 0x64e7a8
push 0x84
lea eax, [ebp - 0x138]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x138]
push 1
push eax
call fcn.0059f0e0
xor eax, eax
mov dword [ebp - method.7_.2.virtual_0], vtable._B.0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xd0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x138]
call fcn.0059cf50
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x138]
call fcn.0059f1b0
mov esi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
push 1
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x7cd374
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004044f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x84]
call fcn.00405fb0
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00404490
mov eax, dword [ebp - 0x2a4]
or eax, 6
mov dword [ebp - 0x2a0], eax
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 0xa
call fcn.00404220
lea ecx, [ebp - 0x308]
call fcn.00404490
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x48]
call fcn.00404120
or edi, 0xe
mov dword [ebp - 0x2a4], edi
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x2b0], edi
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x74], 0
sete al
test al, al
je 0x64dc52
cmp dword [ebp - 0x38], 0
jne 0x64dc52
lea ecx, [ebp - 0x48]
call fcn.00404490
lea ecx, [ebp - 0x84]
call fcn.00404490
lea ecx, [ebp - 0x138]
call fcn.0059ceb0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00404220
lea ecx, [ebp - 0x6c]
call fcn.00404490
jmp 0x64e7c2
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
call fcn.00451090
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.00463910
mov byte [ebp - 4], 0xc
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x64e022
mov esi, dword [ebp - 0x2a8]
mov eax, dword [edi + 8]
cmp eax, dword [esi + 8]
jne 0x64e01a
cmp dword [ebp - 0x38], 0
je 0x64e01a
lea eax, [ebp - 0x48]
push eax
call fcn.00650550
test al, al
jne 0x64dccb
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.00650790
test al, al
jne 0x64dccb
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.00651670
test al, al
je 0x64e01a
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404120
add esi, 0x1c
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x64dd0d
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
call fcn.00404490
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x2ac]
mov byte [ecx + 0xc], 1
push eax
lea ecx, [ebp - 0x2e4]
call fcn.0046e280
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x310]
push eax
mov edx, dword [esi + 4]
cmp dword [esi + 8], edx
je 0x64dd6a
call fcn.00472d60
add esp, 4
add dword [esi + 4], 0x30
jmp 0x64dd72
push edx
mov ecx, esi
call fcn.00583770
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0xc
call fcn.00404490
lea ecx, [ebp - 0x2e4]
call fcn.00404490
push 0xb0
lea eax, [ebp - 0x298]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x298], 0x7d4f80
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x288], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x298]
mov eax, dword [ebp - 0x2a4]
or eax, 0x10
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x280]
push 0
push eax
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 - 0x298]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x29c], eax
lea ecx, [ebp - 0x280]
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 - 0x280], 0x7c6164
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2e4], 0x14
mov dword [ebp - 0x2e0], 0xdb0098
mov dword [ebp - 0x2dc], 0xd400c8
mov dword [ebp - 0x2d8], 0xce00cb
mov dword [ebp - 0x2d4], 0xcd00db
mov dword [ebp - 0x2d0], 0xa000e0
mov dword [ebp - 0x2cc], 0xb100a5
mov dword [ebp - 0x2c8], 0xa800b1
mov dword [ebp - 0x2c4], 0xa900a3
mov dword [ebp - 0x2c0], 0xba00bc
mov dword [ebp - 0x2bc], 0xeb00f0
mov dword [ebp - 0x2b8], 0xcc
call fcn.00403e20
mov esi, eax
lea ecx, [ebp - 0xb4]
lea eax, [edi + 0xc]
push eax
call fcn.00404120
mov eax, dword [ebp - 0x2b0]
or eax, 0x30
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a0], eax
push esi
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x32c]
push eax
call fcn.00408060
add esp, 0xc
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x64df19
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.00404c80
cmp dword [ebp - 0x34], 8
mov ecx, eax
push dword [ebp - 0x38]
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
push ecx
call fcn.00404c80
add esp, 0x18
mov dword [ebp - 0x304], 0xd
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x300], 0x990094
mov esi, eax
mov dword [ebp - 0x2fc], 0xd200dc
mov dword [ebp - 0x2f8], 0xd800d0
mov dword [ebp - 0x2f4], 0xd1009e
mov dword [ebp - 0x2f0], 0xac00a1
mov dword [ebp - 0x2ec], 0xf900a7
mov dword [ebp - 0x2e8], 0xc500e4
call fcn.00403e20
push eax
push esi
call fcn.00404740
add esp, 8
lea edx, [ebp - 0x6c]
mov ecx, eax
call fcn.00402db0
lea ecx, [ebp - 0x32c]
call fcn.00404490
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x10
call fcn.00404490
call fcn.00434600
mov edi, eax
lea eax, [ebp - 0x3c8]
push eax
call fcn.0064e950
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x468]
push eax
call fcn.0064e810
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x298]
push ecx
push esi
push 0x70
push eax
push 1
mov ecx, edi
call fcn.00469240
lea ecx, [ebp - 0x298]
call fcn.00406480
mov edi, dword [ebp - 0x2c]
jmp 0x64e6e9
xor eax, eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0064fd70
mov edi, eax
mov eax, dword [ebp - 0x2a8]
mov eax, dword [eax + 8]
cmp edi, eax
je 0x64e11c
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
lea edx, [ebp - 0x48]
movq qword [ebp - 0x90], xmm0
lea ecx, [ebp - 0x90]
call fcn.0041e050
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x2ac], eax
cmp esi, eax
je 0x64e0fc
nop word [eax + eax]
push esi
lea ecx, [ebp - 0x28]
call fcn.00404120
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0064fd70
mov edi, eax
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x2a8]
cmp edi, dword [eax + 8]
je 0x64e0f7
mov byte [ebp - 4], 0x14
call fcn.00404490
add esi, 0x18
cmp esi, dword [ebp - 0x2ac]
jne 0x64e0b0
jmp 0x64e0fc
call fcn.00404490
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x13
call fcn.00404220
mov ecx, dword [ebp - 0x2a8]
mov eax, dword [ecx + 8]
cmp edi, eax
jne 0x64e6db
call fcn.00451090
mov ecx, eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
cmp ecx, eax
je 0x64e142
nop dword [eax]
mov edx, dword [ecx]
cmp dword [edx + 8], edi
je 0x64e13e
add ecx, 8
cmp ecx, eax
jne 0x64e130
cmp ecx, eax
jne 0x64e148
xor eax, eax
xor edi, edi
jmp 0x64e158
mov edi, dword [ecx + 4]
test edi, edi
je 0x64e156
lock inc dword [edi + 4]
mov edi, dword [ecx + 4]
mov eax, dword [ecx]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 0x16
test esi, esi
je 0x64e190
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x64e190
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x64e190
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x28]
call fcn.00404120
mov esi, dword [ebp - 0x2a8]
lea eax, [ebp - 0x28]
add esi, 0x1c
cmp esi, eax
je 0x64e1df
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
call fcn.00404490
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x2a8]
cmovae edx, dword [ebp - 0x6c]
mov ecx, edx
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 7
mov byte [eax + 0xc], 1
xor eax, eax
mov word [ebp - 0x2e4], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x64e220
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2e4]
call fcn.004044f0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x2cc]
call fcn.00404120
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x2e4]
mov esi, dword [ebp - 0x310]
push eax
mov edx, dword [esi + 4]
cmp dword [esi + 8], edx
je 0x64e279
call fcn.00472d60
add esp, 4
add dword [esi + 4], 0x30
jmp 0x64e281
push edx
mov ecx, esi
call fcn.00583770
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0x13
call fcn.00404490
lea ecx, [ebp - 0x2e4]
call fcn.00404490
push 0xb0
lea eax, [ebp - 0x1e8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1e8], 0x7d4f80
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x1d8], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x1e8]
mov eax, dword [ebp - 0x2a4]
or eax, 0x40
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x1d0]
push 0
push eax
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], 0x1b
mov eax, dword [ebp - 0x1e8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1ec], eax
lea ecx, [ebp - 0x1d0]
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 - 0x1d0], 0x7c6164
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
mov byte [ebp - 4], 0x1c
mov eax, 0x14
mov dword [ebp - 0x2e4], eax
xor ecx, ecx
mov dword [ebp - 0x2e0], 0xdb0098
mov dword [ebp - 0x2dc], 0xd400c8
mov dword [ebp - 0x2d8], 0xce00cb
mov dword [ebp - 0x2d4], 0xcd00db
mov dword [ebp - 0x2d0], 0xa700e0
mov dword [ebp - 0x2cc], 0xa800a3
mov dword [ebp - 0x2c8], 0xe500a1
mov dword [ebp - 0x2c4], 0xa600b6
mov dword [ebp - 0x2c0], 0xa100bc
mov dword [ebp - 0x2bc], 0xeb00f0
mov dword [ebp - 0x2b8], 0xcc
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x2e0], ax
inc ecx
mov eax, dword [ebp - 0x2e4]
cmp ecx, eax
jb 0x64e3d0
xor ecx, ecx
mov word [ebp + eax*2 - 0x2e0], cx
lea ecx, [ebp - 0x32c]
mov eax, dword [ebp - 0x2b4]
add eax, 0xc
push eax
call fcn.00404120
mov esi, dword [ebp - 0x2b0]
mov eax, esi
or eax, 0xc0
mov dword [ebp - 0x2a0], eax
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 0x1d
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x64e430
sub ecx, edx
lea eax, [ebp - 0x2e0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x32c]
call fcn.00407c50
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, esi
or eax, 0x1c0
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.00404c80
cmp dword [ebp - 0x70], 8
mov ecx, eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push eax
push ecx
call fcn.00404c80
add esp, 0x18
mov dword [ebp - 0x304], 0xd
mov edx, eax
mov dword [ebp - 0x300], 0x990094
mov dword [ebp - 0x2fc], 0xd200dc
xor ecx, ecx
mov dword [ebp - 0x2f8], 0xd800d0
mov dword [ebp - 0x2f4], 0xd1009e
mov dword [ebp - 0x2f0], 0xac00a1
mov dword [ebp - 0x2ec], 0xf900a7
mov dword [ebp - 0x2e8], 0xc500e4
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x300], ax
inc ecx
mov eax, dword [ebp - 0x304]
cmp ecx, eax
jb 0x64e530
xor ecx, ecx
mov word [ebp + eax*2 - 0x300], cx
lea eax, [ebp - 0x300]
push eax
push edx
call fcn.00404740
add esp, 8
lea edx, [ebp - 0x6c]
mov ecx, eax
call fcn.00402db0
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x1c
call fcn.00404490
mov edx, dword [0x83df60]
mov dword [ebp - 0x2b0], edx
test edx, edx
jne 0x64e5d5
push 0x20
call fcn.0076d2e3
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x2ac], edx
add esp, 4
xor eax, eax
mov dword [ebp - 0x2b0], 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 - 0x3c8]
push eax
call fcn.0064ea80
mov esi, eax
xor ecx, ecx
lea eax, [esi + 4]
mov dword [ebp - 0x2b4], eax
mov eax, dword [esi]
test eax, eax
je 0x64e617
mov edx, dword [ebp - 0x2b4]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov eax, dword [esi]
cmp ecx, eax
jb 0x64e600
mov edx, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x2b4]
xor esi, esi
mov word [ecx + eax*2], si
lea eax, [ebp - 0x468]
push eax
call fcn.0064e810
mov esi, eax
xor ecx, ecx
lea eax, [esi + 4]
mov dword [ebp - 0x2ac], eax
mov eax, dword [esi]
test eax, eax
je 0x64e667
mov edx, dword [ebp - 0x2ac]
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov eax, dword [esi]
cmp ecx, eax
jb 0x64e650
mov edx, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x2ac]
xor esi, esi
mov word [ecx + eax*2], si
lea eax, [ebp - 0x1e8]
push eax
push dword [ebp - 0x2b4]
push 0x8e
push ecx
push 1
mov ecx, edx
call fcn.00469240
mov eax, dword [ebp - 0x1e8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1ec], eax
lea ecx, [ebp - 0x1d0]
call fcn.004073e0
lea ecx, [ebp - 0x1c8]
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 - 0x180]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x64e6de
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0xb4]
call fcn.00404490
mov byte [ebp - 4], 0x1f
test edi, edi
je 0x64e712
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x64e712
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x64e712
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x48]
call fcn.00404490
lea ecx, [ebp - 0x84]
call fcn.00404490
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - method.7_.2.virtual_0], vtable._B.0
test ecx, ecx
je 0x64e74d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xd8], 0
mov ecx, dword [ebp - 0xd4]
test ecx, ecx
je 0x64e767
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xd4], 0
lea ecx, [ebp - 0xcc]
call fcn.00404490
lea ecx, [ebp - 0xf0]
mov dword [ebp - method.7_.2.virtual_0], vtable.7_.2.0
call fcn.00404490
lea ecx, [ebp - 0x108]
call fcn.00404490
lea ecx, [ebp - 0x114]
call fcn.00404220
lea ecx, [ebp - 0x12c]
call fcn.00404490
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00404220
lea ecx, [ebp - 0x6c]
call fcn.00404490
mov edi, dword [ebp - 0x2a4]
mov eax, dword [ebp - 0x30c]
add eax, 0x24
mov dword [ebp - 0x30c], eax
cmp eax, dword [ebp - 0x314]
jne 0x64da50
mov esi, dword [ebp - 0x310]
lea ecx, [ebp - 0x9c]
call fcn.0041b0e0
mov eax, esi
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