Function at 0x5ad430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9003
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
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 edx, ecx
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x204], 0
mov eax, 0x10
mov dword [ebp - 0x1e0], eax
xor ecx, ecx
mov dword [ebp - 0x1dc], 0xd900f5
mov dword [ebp - 0x1d8], 0xdf00ce
mov dword [ebp - 0x1d4], 0xc700de
mov dword [ebp - 0x1d0], 0xde00c0
mov dword [ebp - 0x1cc], 0xc600c2
mov dword [ebp - 0x1c8], 0xc600dc
mov dword [ebp - 0x1c4], 0x9800d0
mov dword [ebp - 0x1c0], 0xcb00dd
mov dword [ebp - 0x1bc], 0xb9
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1dc], ax
inc ecx
mov eax, dword [ebp - 0x1e0]
cmp ecx, eax
jb 0x5ad4e0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1dc], cx
lea ecx, [ebp - 0x200]
mov eax, dword [edx + 0xd0]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x1dc]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x200]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 7
mov word [ebp - 0x1dc], ax
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00403b80
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 5
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x1ad], al
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 2
call fcn.00404220
lea ecx, [ebp - 0x1dc]
call fcn.00404490
cmp byte [ebp - 0x1ad], 0
jne 0x5ad5d0
mov byte [ebp - 0x1ad], 0
jmp 0x5adac0
xor eax, eax
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 7
mov word [ebp - 0x1dc], ax
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00403b80
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00418020
add esp, 8
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 0xa
call fcn.00404220
lea ecx, [ebp - 0x1dc]
call fcn.00404490
xorps xmm0, xmm0
lea ecx, [ebp - 0x58]
push 0
movups xmmword [ebp - 0x58], xmm0
movq qword [ebp - 0x48], xmm0
call fcn.007725c0
push 0x74
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 0xb
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1ac]
call fcn.00774c70
push 1
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.007763c0
test al, al
je 0x5ada9b
lea ecx, [ebp - 0x58]
call fcn.007740b0
test al, al
je 0x5ada9b
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x224], 0xc8c5c3de
mov dword [ebp - 0x220], 0xb0dcd9c2
call fcn.004131e0
push eax
lea ecx, [ebp - 0x58]
call fcn.00772ae0
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x22c], edi
call fcn.00773ed0
test al, al
je 0x5ada9b
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x230], esi
call fcn.00774b70
test eax, eax
je 0x5ada9b
push esi
mov ecx, edi
call fcn.00772990
mov esi, eax
mov ecx, esi
call fcn.007740b0
test al, al
je 0x5ada7f
xor eax, eax
mov dword [ebp - 0x23c], 4
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x238], 0xdfc9cbdd
mov byte [ebp - 0x234], 0xad
mov word [ebp - 0x233], ax
mov byte [ebp - 0x231], al
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00772ae0
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x204], edi
call fcn.00773ed0
test al, al
je 0x5ada9b
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x1b4], esi
call fcn.00774b70
test eax, eax
je 0x5ada79
push esi
mov ecx, edi
call fcn.00772990
mov edx, eax
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x20c], 0xdedfc4cc
xor ecx, ecx
mov dword [ebp - 0x208], 0xb0dccbc4
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x20c], al
inc ecx
mov eax, dword [ebp - 0x210]
cmp ecx, eax
jb 0x5ad7c0
mov byte [ebp + eax - 0x20c], 0
mov ecx, edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00772ae0
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x240], esi
call fcn.00773ed0
test al, al
je 0x5ada5d
xor eax, eax
mov dword [ebp - 0x18], 0
push eax
push 0x7cf388
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004044f0
xor eax, eax
mov byte [ebp - 4], 0xd
push eax
push 0x7cf388
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004044f0
mov ecx, esi
mov byte [ebp - 4], 0xe
xor edi, edi
call fcn.00774b70
test eax, eax
je 0x5ada2b
push edi
mov ecx, esi
call fcn.00772990
push 0x7da6c4
mov ecx, eax
mov dword [ebp - 0x1b8], eax
call fcn.00772ae0
lea ecx, [ebp - 0x1d0]
push ecx
mov ecx, eax
call fcn.007736e0
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x258]
call fcn.00405660
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x5ad8cd
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x258]
call fcn.00404490
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0xe
call fcn.00407a10
mov eax, 5
mov dword [ebp - 0x218], 0xc0dfc3dd
mov dword [ebp - 0x21c], eax
xor ecx, ecx
mov dword [ebp - 0x214], 0xaec8
nop dword [eax + eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x218], al
inc ecx
mov eax, dword [ebp - 0x21c]
cmp ecx, eax
jb 0x5ad910
mov ecx, dword [ebp - 0x1b8]
mov byte [ebp + eax - 0x218], 0
lea eax, [ebp - 0x218]
push eax
call fcn.00772ae0
lea ecx, [ebp - 0x258]
push ecx
mov ecx, eax
call fcn.007736e0
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1d0]
call fcn.00405660
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x5ad993
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x30], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x1d0]
call fcn.00404490
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0xe
call fcn.00407a10
xor eax, eax
mov dword [ebp - 0x1f4], 0xc9cdcfdb
mov ecx, 8
mov dword [ebp - 0x1f0], 0xc2cadcdf
mov dword [ebp - 0x1f8], ecx
mov byte [ebp - 0x1ec], 0xb1
mov word [ebp - 0x1eb], ax
mov byte [ebp - 0x1e9], al
lea ecx, [eax - 0x57]
xor byte [ebp + eax - 0x1f4], cl
inc eax
mov ecx, dword [ebp - 0x1f8]
cmp eax, ecx
jb 0x5ad9e2
lea eax, [ebp - 0x1f4]
mov byte [ebp + ecx - 0x1f4], 0
mov ecx, dword [ebp - 0x1b8]
push eax
call fcn.00774040
test al, al
jne 0x5ada2b
mov esi, dword [ebp - 0x240]
inc edi
mov ecx, esi
call fcn.00774b70
cmp edi, eax
jb 0x5ad860
call fcn.00451ae0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0058b550
test al, al
jne 0x5adae9
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.00404490
mov edi, dword [ebp - 0x204]
mov esi, dword [ebp - 0x1b4]
mov ecx, edi
inc esi
mov dword [ebp - 0x1b4], esi
call fcn.00774b70
cmp esi, eax
jb 0x5ad796
mov edi, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x230]
mov ecx, edi
inc esi
mov dword [ebp - 0x230], esi
call fcn.00774b70
cmp esi, eax
jb 0x5ad712
mov byte [ebp - 0x1ad], 0
lea ecx, [ebp - 0x1ac]
call fcn.00430850
lea ecx, [ebp - 0x58]
call fcn.007727c0
lea ecx, [ebp - 0x138]
call fcn.00407a10
lea ecx, [ebp - 0x70]
call fcn.00404490
mov al, byte [ebp - 0x1ad]
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
cmp dword [ebp - 0x30], 0
lea ecx, [ebp - 0x200]
lea eax, [ebp - 0x40]
jne 0x5adafb
lea eax, [ebp - 0x28]
push eax
call fcn.00404120
mov edi, dword [ebp - 0x1e8]
lea eax, [ebp - 0x200]
lea esi, [edi + 0x1c]
cmp esi, eax
je 0x5adb4b
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x200]
xor eax, eax
mov word [ebp - 0x200], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1f0]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1ec], 7
mov dword [ebp - 0x1f0], eax
lea ecx, [ebp - 0x200]
call fcn.00404490
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5adb60
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [edi + 0xb8]
push eax
call fcn.004044f0
lea ecx, [edi + 0xa0]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x5adb8d
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004044f0
push 0xb0
lea eax, [ebp - 0x120]
mov byte [edi + 0xc], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x120], 0x7d6f90
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x110], 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 - 0x108]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x204], 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], 0x12
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x120], 0x7c81a4
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x124], eax
lea ecx, [ebp - 0x108]
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 - 0x108], 0x7c8164
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov byte [ebp - 4], 0x13
mov eax, 0x12
mov dword [ebp - 0x1e4], eax
xor ecx, ecx
mov dword [ebp - 0x1e0], 0xcf00fa
mov dword [ebp - 0x1dc], 0xdf00d8
mov dword [ebp - 0x1d8], 0xc100c4
mov dword [ebp - 0x1d4], 0x9000c1
mov dword [ebp - 0x1d0], 0xd700d5
mov dword [ebp - 0x1cc], 0xd100c7
mov dword [ebp - 0x1c8], 0xc200d6
mov dword [ebp - 0x1c4], 0xdc00d2
mov dword [ebp - 0x1c0], 0x9a0083
mov dword [ebp - 0x1bc], 0xbb
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1e0], ax
inc ecx
mov eax, dword [ebp - 0x1e4]
cmp ecx, eax
jb 0x5adcc0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1e0], cx
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00404740
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x5add04
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.00404c80
mov edx, dword [0x83ff50]
add esp, 0xc
mov dword [ebp - 0x1b4], edx
test edx, edx
jne 0x5add60
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x204], edx
add esp, 4
xor eax, eax
mov dword [ebp - 0x1b4], 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 [0x83ff50], edx
lea eax, [ebp - 0x3b4]
push eax
call fcn.005ade70
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1b8], eax
test esi, esi
je 0x5add9e
mov edx, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5add81
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1b8]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x304]
push eax
call fcn.005a4fe0
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1e8], eax
test esi, esi
je 0x5adde0
mov edx, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5addc3
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1e8]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x120]
push ecx
push dword [ebp - 0x1b8]
mov ecx, edx
push 0x338
push eax
push 1
call fcn.00469f50
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x120], 0x7c81a4
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x124], eax
lea ecx, [ebp - 0x108]
call fcn.004073e0
lea ecx, [ebp - 0x100]
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 - 0xb8]
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 - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404490
mov byte [ebp - 0x1ad], 1
jmp 0x5adaa2