Function at 0x566240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a0738
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push 0
mov byte [ebp - 0x20], 0
call fcn.004353f0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
xorps xmm0, xmm0
add eax, 4
movq qword [ebp - 0x2c], xmm0
push eax
mov dword [ebp - 0x24], 0
call fcn.0056b320
cmp byte [ebp + 0x10], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
je 0x56638c
mov esi, dword [ebp - 0x2c]
cmp esi, ecx
je 0x56638c
nop dword [eax + eax]
mov eax, dword [esi]
cmp byte [eax + 0x34], 0
je 0x5662ef
add esi, 0xc
cmp esi, ecx
jne 0x5662e0
cmp esi, ecx
je 0x56638c
lea edi, [esi + 0xc]
cmp edi, ecx
je 0x56636c
nop
mov edx, dword [edi]
cmp byte [edx + 0x34], 0
je 0x56635f
cmp edi, esi
je 0x56635c
mov eax, dword [edi + 4]
test eax, eax
je 0x56631c
lock inc dword [eax + 4]
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esi], edx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x54], ecx
mov dword [esi + 4], eax
mov byte [ebp - 4], 3
test ecx, ecx
je 0x56634f
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x56634f
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x54]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x56634f
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 2
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
add esi, 0xc
add edi, 0xc
cmp edi, ecx
jne 0x566300
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
cmp esi, ecx
je 0x566386
lea eax, [ebp - 0x2c]
push eax
push ecx
push esi
call fcn.00465900
mov ecx, esi
add esp, 0xc
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov edi, dword [ebp - 0x84]
push dword [ebp - 0x34]
mov esi, ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x2c]
sub esi, ecx
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x30]
push eax
call fcn.0056bfe0
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, dword [ebp - 0x28]
jne 0x5663d0
mov al, byte [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov byte [edi], al
mov eax, dword [ebp - 0x18]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
jmp 0x566bda
mov eax, dword [eax]
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x4c], 0xccd5cbda
mov esi, dword [eax]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x48], 0xbfccd8cf
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x4c], al
inc ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jb 0x5663f5
mov byte [ebp + eax - 0x4c], 0
lea ecx, [ebp - 0xe8]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00435c40
lea eax, [ebp - 0xe8]
mov byte [ebp - 0xd4], 1
mov dword [ebp - 0xd8], eax
mov edx, esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x100]
call fcn.00549fa0
push eax
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 6
push eax
call fcn.00405850
add esp, 8
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 7
call fcn.00435bd0
lea eax, [ebp - 0xd0]
mov byte [ebp - 0xbc], 1
lea ecx, [ebp - 0x168]
mov dword [ebp - 0xc0], eax
call fcn.00407a10
lea ecx, [ebp - 0x100]
call fcn.00404490
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe8]
push eax
push ecx
lea ecx, [ebp - 0x130]
call fcn.00434920
push 0x433f90
push 2
push 0x18
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xa
push eax
call fcn.0076d1e5
mov eax, 5
mov dword [ebp - 0x40], 0xd6dfcdd1
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x3c], 0xbdcf
nop dword [eax]
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x40], al
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x5664e0
mov byte [ebp + eax - 0x40], 0
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00435c40
lea eax, [ebp - 0xb8]
mov byte [ebp - 0xa4], 1
mov dword [ebp - 0xa8], eax
sub esp, 8
mov byte [ebp - 4], 0xb
mov eax, esp
lea ecx, [ebp - 0x140]
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00481130
add esp, 8
mov cl, byte [eax]
mov byte [ebp - 0xa0], cl
mov ecx, dword [eax + 8]
mov dword [ebp - 0x98], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x94], ecx
lea ecx, [ebp - 0x140]
mov byte [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 1
call fcn.00434950
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb8]
push eax
push ecx
lea ecx, [ebp - 0x118]
call fcn.00434920
push 0x433f90
push 2
push 0x18
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xe
push eax
call fcn.0076d1e5
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x130]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00480e40
push 0x433f90
push 2
push 0x18
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 2
push eax
call fcn.0076d1e5
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x88], eax
cmp edi, eax
je 0x566bc6
mov dword [ebp - 0x34], 0
mov eax, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x54]
je 0x56683d
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x64], 0xccd5cbda
mov dword [ebp - 0x60], 0xbfccd8cf
lea ecx, [eax - 0x48]
xor byte [ebp + eax - 0x64], cl
inc eax
mov ecx, dword [ebp - 0x68]
cmp eax, ecx
jb 0x566637
lea eax, [ebp - 0x64]
mov byte [ebp + ecx - 0x64], 0
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0xe8]
lea eax, [ebp - 0x38]
push eax
call fcn.00435c40
lea eax, [ebp - 0xe8]
mov byte [ebp - 0xd4], 1
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x180]
mov edx, dword [edi]
mov edx, dword [edx]
call fcn.00549fa0
push eax
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 0x11
push eax
call fcn.00405850
add esp, 8
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x12
call fcn.00435bd0
lea eax, [ebp - 0xd0]
mov byte [ebp - 0xbc], 1
lea ecx, [ebp - 0x198]
mov dword [ebp - 0xc0], eax
call fcn.00407a10
lea ecx, [ebp - 0x180]
call fcn.00404490
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xe8]
push eax
push ecx
lea ecx, [ebp - 0x130]
call fcn.00434920
push 0x433f90
push 2
push 0x18
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x15
push eax
call fcn.0076d1e5
mov eax, 5
mov dword [ebp - 0x7c], 0xd6dfcdd1
mov dword [ebp - 0x80], eax
xor ecx, ecx
mov dword [ebp - 0x78], 0xbdcf
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x7c], al
inc ecx
mov eax, dword [ebp - 0x80]
cmp ecx, eax
jb 0x566721
mov byte [ebp + eax - 0x7c], 0
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00435c40
lea eax, [ebp - 0xb8]
mov byte [ebp - 0xa4], 1
mov dword [ebp - 0xa8], eax
sub esp, 8
mov byte [ebp - 4], 0x16
mov eax, esp
lea ecx, [ebp - 0x160]
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00481130
add esp, 8
mov cl, byte [eax]
mov byte [ebp - 0xa0], cl
mov ecx, dword [eax + 8]
mov dword [ebp - 0x98], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x94], ecx
lea ecx, [ebp - 0x160]
mov byte [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 1
call fcn.00434950
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xb8]
push eax
push ecx
lea ecx, [ebp - 0x118]
call fcn.00434920
push 0x433f90
push 2
push 0x18
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x19
push eax
call fcn.0076d1e5
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x130]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00480e40
push 0x433f90
push 2
push 0x18
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 2
push eax
call fcn.0076d1e5
inc dword [ebp - 0x30]
add dword [ebp - 0x34], 0x10
mov esi, dword [ebp - 0x18]
mov eax, 2
mov dword [ebp - 0x58], 0xbaddd1
mov dword [ebp - 0x5c], eax
xor ecx, ecx
nop
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x58], al
inc ecx
mov eax, dword [ebp - 0x5c]
cmp ecx, eax
jb 0x566850
mov byte [ebp + eax - 0x58], 0
lea ecx, [ebp - 0xe8]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00435c40
push dword [edi + 8]
lea eax, [ebp - 0xe8]
mov byte [ebp - 0xd4], 1
mov dword [ebp - 0xd8], eax
xorps xmm0, xmm0
lea eax, [ebp - 0xd0]
mov byte [ebp - 0xd0], 0
push eax
movq qword [ebp - 0xc8], xmm0
call fcn.004440a0
lea eax, [ebp - 0xd0]
mov byte [ebp - 0xbc], 1
add esp, 8
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.00434920
push 0x433f90
push 2
push 0x18
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x1d
push eax
call fcn.0076d1e5
mov eax, 6
mov dword [ebp - 0x70], 0xc9cfd6cb
mov dword [ebp - 0x74], eax
xor ecx, ecx
mov dword [ebp - 0x6c], 0xbed8df
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x70], al
inc ecx
mov eax, dword [ebp - 0x74]
cmp ecx, eax
jb 0x566911
mov byte [ebp + eax - 0x70], 0
lea ecx, [ebp - 0x130]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00435c40
lea eax, [ebp - 0x130]
mov byte [ebp - 0x11c], 1
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 0x1e
mov eax, dword [edi]
add eax, 0x1c
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.00405850
add esp, 8
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x1f
call fcn.00435bd0
lea eax, [ebp - 0x118]
mov byte [ebp - 0x104], 1
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x108], eax
call fcn.00407a10
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00434920
push 0x433f90
push 2
push 0x18
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x22
push eax
call fcn.0076d1e5
mov dword [ebp - 0x44], 7
xor ecx, ecx
mov dword [ebp - 0x40], 0xd9dbd7dd
mov dword [ebp - 0x3c], 0xbfdad8d0
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x40], al
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x5669e1
mov byte [ebp + eax - 0x40], 0
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00435c40
lea eax, [ebp - 0xb8]
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0xa8], eax
xorps xmm0, xmm0
mov eax, dword [edi]
movq qword [ebp - 0x98], xmm0
mov byte [ebp - 0xa4], 1
mov al, byte [eax + 0x34]
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 0xa0], 4
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 1
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00434920
push 0x433f90
push 2
push 0x18
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x25
push eax
call fcn.0076d1e5
mov byte [ebp - 4], 0x26
mov al, byte [ebp - 0x20]
test al, al
jne 0x566acd
push 0xc
mov byte [ebp - 0x20], 2
call fcn.0076d2e3
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x566ad5
cmp al, 2
jne 0x566c13
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 4
cmp dword [ebp - 0x30], eax
jb 0x566b34
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x138]
push 0
mov byte [ebp - 0x140], 0
call fcn.004353f0
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0x28
mov edx, dword [esi + 4]
mov eax, edx
sub eax, dword [esi]
sar eax, 4
sub ecx, eax
lea eax, [ebp - 0x140]
push eax
inc ecx
lea eax, [ebp - 0x150]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0056b3e0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x26
call fcn.00434950
mov ecx, dword [esi]
mov eax, 5
add ecx, dword [ebp - 0x34]
xor edx, edx
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], 0xd6dfcdd1
mov dword [ebp - 0xec], 0xbdcf
nop word [eax + eax]
lea eax, [edx - 0x48]
xor byte [ebp + edx - 0xf0], al
inc edx
mov eax, dword [ebp - 0xf4]
cmp edx, eax
jb 0x566b60
mov byte [ebp + eax - 0xf0], 0
lea eax, [ebp - 0xf0]
push eax
call fcn.00435a40
lea ecx, [ebp - 0x198]
push ecx
lea edx, [ebp - 0x1e0]
mov ecx, eax
push edx
call fcn.00480e40
push 0x433f90
push 3
push 0x18
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 2
push eax
call fcn.0076d1e5
add edi, 0xc
cmp edi, dword [ebp - 0x88]
jne 0x566610
mov edi, dword [ebp - 0x84]
mov al, byte [ebp - 0x20]
mov byte [edi], al
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], esi
mov dword [edi + 0xc], eax
xorps xmm0, xmm0
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x2c]
movlpd qword [ebp - 0x18], xmm0
call fcn.00465450
lea ecx, [ebp - 0x20]
call fcn.00434950
mov eax, edi
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
lea ecx, [ebp - 0x20]
call fcn.00435670
push eax
lea ecx, [ebp - 0x198]
call fcn.00406b50
push eax
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x29
push str.cannot_use_operator___with_a_numeric_argument_with
push eax
call fcn.0041ef20
push eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x2a
push 0x131
push eax
call fcn.0042f470
add esp, 0x18
lea eax, [ebp - 0x14c]
push 0x824948
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3