Function at 0x5ae2a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a7b85
mov eax, dword fs:[0]
push eax
sub esp, 0x328
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 esi, ecx
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x130], 9
mov dword [ebp - 0x12c], 0xc900e4
mov dword [ebp - 0x128], 0xde00c8
mov dword [ebp - 0x124], 0xce00da
mov dword [ebp - 0x120], 0xd50090
mov dword [ebp - 0x11c], 0xc100b3
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x12c], ax
inc ecx
mov eax, dword [ebp - 0x130]
cmp ecx, eax
jb 0x5ae320
xor ecx, ecx
mov word [ebp + eax*2 - 0x12c], cx
lea ecx, [ebp - 0x1d8]
mov eax, dword [esi + 0xd0]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x1d8]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 7
mov word [ebp - 0x16c], ax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x16c]
call fcn.00403b80
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 5
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x111], al
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 2
call fcn.00404220
lea ecx, [ebp - 0x16c]
call fcn.00404490
cmp byte [ebp - 0x111], 0
je 0x5aeacf
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
mov dword [ebp - 0x118], eax
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
lea eax, [ebp - 0x60]
push eax
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.00404120
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00649d20
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.006480b0
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 8
call fcn.00404120
mov byte [ebp - 4], 9
xor ecx, ecx
mov dword [ebp - 0x128], 5
mov dword [ebp - 0x124], 0xd400dd
mov dword [ebp - 0x120], 0xcf00ca
mov dword [ebp - 0x11c], 0xbd00c5
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x124], ax
inc ecx
mov eax, dword [ebp - 0x128]
cmp ecx, eax
jb 0x5ae490
xor ecx, ecx
mov word [ebp + eax*2 - 0x124], cx
lea ecx, [ebp - 0x124]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ae4c0
sub ecx, edx
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x38]
sar ecx, 1
cmp dword [ebp - 0x34], 8
cmovae eax, dword [ebp - 0x48]
cmp edx, ecx
jne 0x5ae6a7
push edx
lea ecx, [ebp - 0x124]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x5ae6a7
cmp dword [ebp - 0x118], 3
je 0x5ae7cd
push 0x7cd378
lea ecx, [ebp - 0x160]
call fcn.004040b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1c0], 0x18
mov dword [ebp - 0x1bc], 0xcb00da
mov dword [ebp - 0x1b8], 0xcc00d5
mov dword [ebp - 0x1b4], 0xd800cf
mov dword [ebp - 0x1b0], 0x9100cc
mov dword [ebp - 0x1ac], 0xb500b3
mov dword [ebp - 0x1a8], 0xb100a3
mov dword [ebp - 0x1a4], 0xb000b0
mov dword [ebp - 0x1a0], 0xe900b6
mov dword [ebp - 0x19c], 0xa600a0
mov dword [ebp - 0x198], 0xae00a7
mov dword [ebp - 0x194], 0xac00bc
mov dword [ebp - 0x190], 0xaa00a9
mov dword [ebp - 0x18c], 0xd0
call fcn.00403e20
push eax
lea ecx, [ebp - 0x130]
call fcn.004040b0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x30]
call fcn.00648f40
lea ecx, [ebp - 0x130]
call fcn.00404490
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 9
call fcn.00404490
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 0x14
mov dword [ebp - 0x144], 0xcb00da
mov dword [ebp - 0x140], 0xcc00d5
mov dword [ebp - 0x13c], 0xd800cf
mov dword [ebp - 0x138], 0x9100cc
mov dword [ebp - 0x134], 0xb500b3
mov dword [ebp - 0x130], 0xb100a3
mov dword [ebp - 0x12c], 0xb000b0
mov dword [ebp - 0x128], 0xe900b6
mov dword [ebp - 0x124], 0xa800b8
mov dword [ebp - 0x120], 0xae00ad
mov dword [ebp - 0x11c], 0xcc
call fcn.00403e20
push eax
lea ecx, [ebp - 0x160]
call fcn.004040b0
push 0
push 0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x30]
call fcn.00648d30
lea ecx, [ebp - 0x160]
jmp 0x5ae7c4
mov eax, 0x18
mov dword [ebp - 0x17c], 0xcb00da
mov dword [ebp - 0x180], eax
xor ecx, ecx
mov dword [ebp - 0x178], 0xcc00d5
mov dword [ebp - 0x174], 0xd800cf
mov dword [ebp - 0x170], 0x9100cc
mov dword [ebp - 0x16c], 0xb500b3
mov dword [ebp - 0x168], 0xb100a3
mov dword [ebp - 0x164], 0xb000b0
mov dword [ebp - 0x160], 0xe900b6
mov dword [ebp - 0x15c], 0xa600a0
mov dword [ebp - 0x158], 0xae00a7
mov dword [ebp - 0x154], 0xac00bc
mov dword [ebp - 0x150], 0xaa00a9
mov dword [ebp - 0x14c], 0xd0
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x17c], ax
inc ecx
mov eax, dword [ebp - 0x180]
cmp ecx, eax
jb 0x5ae740
xor ecx, ecx
mov word [ebp + eax*2 - 0x17c], cx
xor eax, eax
mov dword [ebp - 0x120], ecx
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x11c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x130], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ae785
sub ecx, edx
lea eax, [ebp - 0x17c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.004044f0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x30]
call fcn.00648f40
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 9
call fcn.00404490
lea ecx, [ebp - 0x30]
call fcn.00649030
push 0xb0
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x110], 0x7d4f80
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x100], 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 - 0xf8]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], 3
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 - 0x110]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x114], eax
lea ecx, [ebp - 0xf8]
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 - 0xf8], 0x7c6164
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x130]
mov eax, dword [esi + 0xd0]
add eax, 0xc
push eax
call fcn.00404120
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x130]
cmp dword [ebp - 0x11c], 8
push dword [ebp - 0x120]
cmovae eax, dword [ebp - 0x130]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0x170], 0x11
mov edx, eax
mov dword [ebp - 0x16c], 0xca0098
mov dword [ebp - 0x168], 0xcf00df
xor eax, eax
mov dword [ebp - 0x164], 0xce009c
mov dword [ebp - 0x160], 0xde00ca
mov dword [ebp - 0x15c], 0xb500b2
mov dword [ebp - 0x158], 0xb300e2
mov dword [ebp - 0x154], 0xa200a5
mov dword [ebp - 0x150], 0xfd00a3
mov dword [ebp - 0x14c], 0xc900e8
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x16c], cx
inc eax
mov ecx, dword [ebp - 0x170]
cmp eax, ecx
jb 0x5ae940
xor eax, eax
mov word [ebp + ecx*2 - 0x16c], ax
lea eax, [ebp - 0x16c]
push eax
push edx
call fcn.00404740
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
push dword [ebp - 0x38]
cmovae ecx, dword [ebp - 0x48]
push ecx
push eax
call fcn.00404c80
add esp, 0x14
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x130]
call fcn.00404490
call fcn.00434600
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x334]
push eax
call fcn.005aeb00
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x188], edi
test edx, edx
je 0x5ae9d2
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5ae9c1
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x284]
push eax
call fcn.005a3fd0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x118], eax
test edx, edx
je 0x5aea1d
mov edi, eax
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5aea00
mov edi, dword [ebp - 0x188]
mov eax, dword [ebp - 0x118]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x184]
push edi
push 0x3d5
push eax
push 1
call fcn.00469240
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x114], eax
lea ecx, [ebp - 0xf8]
call fcn.004073e0
lea ecx, [ebp - 0xf0]
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 - 0xa8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x48]
call fcn.00404490
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x18]
mov esi, dword [ebp - 0x18]
push dword [esi + 4]
call fcn.006499a0
mov eax, dword [ebp - 0x18]
push 0x58
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x18]
mov dword [eax], esi
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.0076d313
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.00404490
lea ecx, [ebp - 0x60]
call fcn.00404490
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