Function at 0x56f610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a2b92
mov eax, dword fs:[0]
push eax
sub esp, 0x4dc
mov eax, dword [0x831184]
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], 0xd80086
mov dword [ebp - 0x288], 0xdf00ce
mov dword [ebp - 0x284], 0xc200c2
mov dword [ebp - 0x280], 0xd500d9
mov dword [ebp - 0x27c], 0xd8009f
mov dword [ebp - 0x278], 0xdb00c0
mov dword [ebp - 0x274], 0xb600db
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x28c], ax
inc ecx
mov eax, dword [ebp - 0x290]
cmp ecx, eax
jb 0x56f6e0
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 0x56f725
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 0x7cf388
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], 0xa000a4
mov dword [ebp - 0x24c], 0xab
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x250], ax
inc ecx
mov eax, dword [ebp - 0x254]
cmp ecx, eax
jb 0x56f7f0
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 0x56f835
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 0x7cf388
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 0x7d94d8
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], 0xcb00c5
mov dword [ebp - 0x240], 0xd800d8
mov dword [ebp - 0x23c], 0xdc00e8
mov dword [ebp - 0x238], 0xdf00dd
mov dword [ebp - 0x234], 0xb200c3
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x244], ax
inc ecx
mov eax, dword [ebp - 0x248]
cmp ecx, eax
jb 0x56f970
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 0x56f9b5
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], 0xdeced9fc
add esp, 0xc
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x238], 0xd5c8ef80
xor ecx, ecx
mov dword [ebp - 0x234], 0xb3c6df
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x23c], al
inc ecx
mov eax, dword [ebp - 0x240]
cmp ecx, eax
jb 0x56fa72
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.00469a80
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.00434550
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.0076aff0
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.0076b700
push edi
lea ecx, [ebp - 0x14]
call fcn.0076b730
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x14]
call fcn.0076b2d0
lea ecx, [ebp - 0x14]
call fcn.0076b2b0
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.00435730
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.0076e8f3
add esp, 8
push fcn.00430150
push 1
push 0x30
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 0x17
push eax
call fcn.0076e7c5
cmp dword [ebp - 0x1bc], 0xc8
je 0x56fdf8
push 0xb0
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc4], 0x7d6f90
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xb4], 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 - 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], 0x7c81a4
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], 0x7c8164
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x388]
mov byte [ebp - 4], 0x1a
push eax
call fcn.00570090
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x56fce1
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x56fcd0
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.004345f0
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.005702e0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x56fd31
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x56fd20
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x3c0]
push eax
call fcn.00570170
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
test edx, edx
je 0x56fd6e
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2 + 4], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x56fd53
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.00469f50
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], 0x7c81a4
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 0x570001
push 0x74
lea eax, [ebp - 0x230]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.00774c70
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.007763c0
test al, al
jne 0x56ffd6
push 0xb0
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc4], 0x7d6f90
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xb4], 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 - 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], 0x7c81a4
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], 0x7c8164
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x374]
mov byte [ebp - 4], 0x1e
push eax
call fcn.00570580
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 0x56ff32
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.004345f0
mov edi, eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.00570640
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x3c0]
push eax
call fcn.00570170
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.00469f50
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], 0x7c81a4
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.00434000
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.0076e8f3
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.0076eb7e
mov esp, ebp
pop ebp
ret 8