Function at 0x5af2b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9325
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x831184]
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], 0xda00f5
mov dword [ebp - 0x128], 0xc900d9
mov dword [ebp - 0x124], 0xdd00cb
mov dword [ebp - 0x120], 0xda0081
mov dword [ebp - 0x11c], 0xb200c2
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x12c], ax
inc ecx
mov eax, dword [ebp - 0x130]
cmp ecx, eax
jb 0x5af330
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 0x5afadf
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.0064aa50
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.00648de0
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], 0xc700cc
mov dword [ebp - 0x120], 0xd800db
mov dword [ebp - 0x11c], 0xae00d4
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x124], ax
inc ecx
mov eax, dword [ebp - 0x128]
cmp ecx, eax
jb 0x5af4a0
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 0x5af4d0
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 0x5af6b7
push edx
lea ecx, [ebp - 0x124]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x5af6b7
cmp dword [ebp - 0x118], 3
je 0x5af7dd
push 0x7cf388
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], 0xd800cb
mov dword [ebp - 0x1b8], 0xdb00c4
mov dword [ebp - 0x1b4], 0xcb00de
mov dword [ebp - 0x1b0], 0x9e00dd
mov dword [ebp - 0x1ac], 0xc600c2
mov dword [ebp - 0x1a8], 0xc600d2
mov dword [ebp - 0x1a4], 0xc300c1
mov dword [ebp - 0x1a0], 0x9600c7
mov dword [ebp - 0x19c], 0xd500d1
mov dword [ebp - 0x198], 0xd900d6
mov dword [ebp - 0x194], 0xdf00cd
mov dword [ebp - 0x190], 0xa500d8
mov dword [ebp - 0x18c], 0xc1
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.00649c70
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], 0xd800cb
mov dword [ebp - 0x140], 0xdb00c4
mov dword [ebp - 0x13c], 0xcb00de
mov dword [ebp - 0x138], 0x9e00dd
mov dword [ebp - 0x134], 0xc600c2
mov dword [ebp - 0x130], 0xc600d2
mov dword [ebp - 0x12c], 0xc300c1
mov dword [ebp - 0x128], 0x9600c7
mov dword [ebp - 0x124], 0xdb00c9
mov dword [ebp - 0x120], 0xd900dc
mov dword [ebp - 0x11c], 0xbd
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.00649a60
lea ecx, [ebp - 0x160]
jmp 0x5af7d4
mov eax, 0x18
mov dword [ebp - 0x17c], 0xd800cb
mov dword [ebp - 0x180], eax
xor ecx, ecx
mov dword [ebp - 0x178], 0xdb00c4
mov dword [ebp - 0x174], 0xcb00de
mov dword [ebp - 0x170], 0x9e00dd
mov dword [ebp - 0x16c], 0xc600c2
mov dword [ebp - 0x168], 0xc600d2
mov dword [ebp - 0x164], 0xc300c1
mov dword [ebp - 0x160], 0x9600c7
mov dword [ebp - 0x15c], 0xd500d1
mov dword [ebp - 0x158], 0xd900d6
mov dword [ebp - 0x154], 0xdf00cd
mov dword [ebp - 0x150], 0xa500d8
mov dword [ebp - 0x14c], 0xc1
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x17c], ax
inc ecx
mov eax, dword [ebp - 0x180]
cmp ecx, eax
jb 0x5af750
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 0x5af795
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.00649c70
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 9
call fcn.00404490
lea ecx, [ebp - 0x30]
call fcn.00649d60
push 0xb0
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x110], 0x7d6f90
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x100], 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 - 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 - 0x110], 0x7c81a4
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], 0x7c8164
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], 0xd90089
mov dword [ebp - 0x168], 0xd800ce
xor eax, eax
mov dword [ebp - 0x164], 0xdd008d
mov dword [ebp - 0x160], 0xd100db
mov dword [ebp - 0x15c], 0xc600c3
mov dword [ebp - 0x158], 0xc40093
mov dword [ebp - 0x154], 0xd100d4
mov dword [ebp - 0x150], 0x8200d2
mov dword [ebp - 0x14c], 0xba0099
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x16c], cx
inc eax
mov ecx, dword [ebp - 0x170]
cmp eax, ecx
jb 0x5af950
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.004345f0
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x334]
push eax
call fcn.005afb10
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x188], edi
test edx, edx
je 0x5af9e2
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5af9d1
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x284]
push eax
call fcn.005a4fe0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x118], eax
test edx, edx
je 0x5afa2d
mov edi, eax
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5afa10
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.00469f50
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x110], 0x7c81a4
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.0064a6d0
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.0076e8f3
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.0076eb7e
mov esp, ebp
pop ebp
ret 4