Function at 0x56e470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a13c2
mov eax, dword fs:[0]
push eax
sub esp, 0x4dc
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x258], edi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x134]
mov esi, dword [ebp + 0xc]
push 0x58
push 0
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0x298], ebx
mov dword [ebp - 0x294], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x134]
push esi
call fcn.0042efa0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x290], 0xd
mov dword [ebp - 0x28c], 0xcb0097
mov dword [ebp - 0x288], 0xc800df
mov dword [ebp - 0x284], 0xd100d3
mov dword [ebp - 0x280], 0xda00c8
mov dword [ebp - 0x27c], 0xab00ee
mov dword [ebp - 0x278], 0xac00b1
mov dword [ebp - 0x274], 0xc500aa
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x28c], ax
inc ecx
mov eax, dword [ebp - 0x290]
cmp ecx, eax
jb 0x56e540
xor ecx, ecx
mov dword [ebp - 0x234], 7
mov word [ebp + eax*2 - 0x28c], cx
xor eax, eax
mov dword [ebp - 0x238], ecx
lea ecx, [ebp - 0x28c]
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x56e585
sub ecx, edx
lea eax, [ebp - 0x28c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.004044f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x114]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.004044f0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00404490
push dword [edi]
lea ecx, [ebp - 0xdc]
call fcn.00404120
xor eax, eax
mov byte [ebp - 4], 2
push eax
push 0x7cd378
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
call fcn.004044f0
mov byte [ebp - 4], 3
mov eax, 2
mov dword [ebp - 0x254], eax
xor ecx, ecx
mov dword [ebp - 0x250], 0xb300b5
mov dword [ebp - 0x24c], 0xba
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x250], ax
inc ecx
mov eax, dword [ebp - 0x254]
cmp ecx, eax
jb 0x56e650
xor ecx, ecx
mov dword [ebp - 0x234], 7
mov word [ebp + eax*2 - 0x250], cx
xor eax, eax
mov dword [ebp - 0x238], ecx
lea ecx, [ebp - 0x250]
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x56e695
sub ecx, edx
lea eax, [ebp - 0x250]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.004044f0
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00405530
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.00404490
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 2
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x238], 0
push eax
push 0x7cd378
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.004044f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x270]
push 1
xor eax, eax
mov dword [ebp - 0x260], 0
push 0x7d7494
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
call fcn.004044f0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00405530
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.00404490
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.00404490
mov dword [ebp - 0x248], 9
xor ecx, ecx
mov dword [ebp - 0x244], 0xd800d4
mov dword [ebp - 0x240], 0xcf00c9
mov dword [ebp - 0x23c], 0xcf00f9
mov dword [ebp - 0x238], 0xd000cc
mov dword [ebp - 0x234], 0xc100b2
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x244], ax
inc ecx
mov eax, dword [ebp - 0x248]
cmp ecx, eax
jb 0x56e7d0
xor ecx, ecx
mov word [ebp + eax*2 - 0x244], cx
xor eax, eax
mov dword [ebp - 0x260], ecx
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x25c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x270], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x56e815
sub ecx, edx
lea eax, [ebp - 0x244]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.004044f0
push ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x270]
push dword [edi]
lea ecx, [ebp - 0x134]
push eax
call fcn.0042c260
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 2
call fcn.00404490
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x134]
call fcn.0042c320
push eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 8
push eax
call fcn.00405850
add esp, 8
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0xa
call fcn.00404490
push 0x70
lea eax, [ebp - 0x1bc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0xa
mov dword [ebp - 0x23c], 0xc9dfcaed
add esp, 0xc
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x238], 0xdad9fc91
xor ecx, ecx
mov dword [ebp - 0x234], 0xc2b5ae
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x23c], al
inc ecx
mov eax, dword [ebp - 0x240]
cmp ecx, eax
jb 0x56e8d2
mov byte [ebp + eax - 0x23c], 0
lea ecx, [ebp - 0x270]
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 4]
add eax, 0x58
push eax
call fcn.00404120
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.00405850
add esp, 8
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x310]
call fcn.00468d70
lea ecx, [ebp - 0x2c8]
call fcn.00407a10
lea ecx, [ebp - 0x270]
call fcn.00404490
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x310]
push eax
push ecx
lea ecx, [ebp - 0x250]
call fcn.00434560
mov edi, eax
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x134]
call fcn.0042c320
push eax
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 0xf
push eax
call fcn.00405850
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.00769a10
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.0076a120
push edi
lea ecx, [ebp - 0x14]
call fcn.0076a150
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00769cf0
lea ecx, [ebp - 0x14]
call fcn.00769cd0
lea ecx, [ebp - 0x2e0]
call fcn.00407a10
lea ecx, [ebp - 0x288]
call fcn.00404490
mov byte [ebp - 4], 0x16
mov esi, dword [ebp - 0x250]
push dword [esi + 4]
lea ecx, [ebp - 0x250]
call fcn.00435740
mov eax, dword [ebp - 0x250]
push 0x40
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x250]
mov dword [eax], esi
mov eax, dword [ebp - 0x250]
mov dword [eax + 8], esi
push dword [ebp - 0x250]
mov dword [ebp - 0x24c], 0
call fcn.0076d313
add esp, 8
push fcn.00430150
push 1
push 0x30
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 0x17
push eax
call fcn.0076d1e5
cmp dword [ebp - 0x1bc], 0xc8
je 0x56ec58
push 0xb0
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc4], 0x7d4f80
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xb4], 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 - 0xac]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x294], 0xe
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], 0x19
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable..7.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xac]
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 - 0xac], 0x7c6164
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x388]
mov byte [ebp - 4], 0x1a
push eax
call fcn.0056eef0
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x56eb41
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x56eb30
xor eax, eax
mov word [esi + edx*2], ax
lea eax, [ebp - 0xb4]
push esi
push eax
call fcn.00404740
add esp, 8
call fcn.00434600
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.0056f150
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x56eb91
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x56eb80
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x3c0]
push eax
call fcn.0056efe0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
test edx, edx
je 0x56ebce
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2 + 4], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x56ebb3
mov ebx, dword [ebp - 0x298]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp - 0x258]
push edi
push 0x25
push eax
push 0
call fcn.00469240
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable..7.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xac]
call fcn.004073e0
lea ecx, [ebp - 0xa4]
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 - 0x5c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov dword [ebx], 0
xor eax, eax
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 7
mov word [ebx + 4], ax
mov byte [ebx + 0x1c], al
mov byte [ebx + 0x34], al
jmp 0x56ee61
push 0x74
lea eax, [ebp - 0x230]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.00773690
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x230]
mov eax, dword [ebp - 0x258]
push 1
push dword [eax + 8]
lea eax, [ebp - 0x1b8]
push eax
call fcn.00774de0
test al, al
jne 0x56ee36
push 0xb0
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc4], 0x7d4f80
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xb4], 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 - 0xac]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x294], 0x16
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], 0x1d
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable..7.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xac]
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 - 0xac], 0x7c6164
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x374]
mov byte [ebp - 4], 0x1e
push eax
call fcn.0056f3f0
mov ecx, eax
call fcn.00403e20
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00404740
mov esi, eax
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.004057b0
add esp, 0x10
mov byte [ebp - 4], 0x1f
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x56ed92
mov eax, dword [eax]
push ecx
push eax
push esi
call fcn.00404c80
add esp, 0xc
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x288]
call fcn.00404490
call fcn.00434600
mov edi, eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.0056f4b0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x3c0]
push eax
call fcn.0056efe0
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xc4]
push ecx
push esi
push 0x2c
push eax
push 0
mov ecx, edi
call fcn.00469240
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable..7.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xac]
call fcn.004073e0
lea ecx, [ebp - 0xa4]
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 - 0x5c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov dword [ebx], 0
lea ecx, [ebp - 0x230]
xor eax, eax
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 7
mov word [ebx + 4], ax
mov byte [ebx + 0x1c], al
mov byte [ebx + 0x34], al
call fcn.00430850
lea ecx, [ebp - 0x1bc]
call fcn.00434010
lea ecx, [ebp - 0x14c]
call fcn.00407a10
lea ecx, [ebp - 0xdc]
call fcn.00404490
mov eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0xe4]
push eax
push dword [eax]
lea eax, [ebp - 0x258]
push eax
call fcn.0042d190
push 0x40
push dword [ebp - 0xe4]
call fcn.0076d313
add esp, 8
lea ecx, [ebp - 0xfc]
call fcn.00404490
lea ecx, [ebp - 0x114]
call fcn.00404490
lea ecx, [ebp - 0x12c]
call fcn.00404490
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 8