Function at 0x584700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x653af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x198], ecx
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x170], eax
mov eax, 1
push 0xb8
mov word [ebp - 0x138], ax
mov word [ebp - 0x158], ax
lea eax, [ebp - 0x124]
push 0
push eax
mov dword [ebp - 0x144], 0x10
mov dword [ebp - 0x140], 0x4a40bc
mov dword [ebp - 0x13c], 0x65110c
movups xmmword [ebp - 0x136], xmm0
mov word [ebp - 0x126], 0
mov dword [ebp - 0x164], 0x10
mov dword [ebp - 0x160], 0x4a40e0
mov dword [ebp - 0x15c], 0x65111c
movups xmmword [ebp - 0x156], xmm0
mov word [ebp - 0x146], 0
call fcn.006046d0
add esp, 0xc
lea ecx, [ebp - 0x164]
cmp esi, 0x19
lea eax, [ebp - 0x144]
cmovne eax, ecx
lea ecx, [ebp - 0x124]
push eax
call fcn.00593860
mov dword [ebp - 4], 0
call fcn.0051f920
push eax
lea ecx, [ebp - 0x1f0]
call fcn.00520440
push 3
lea eax, [ebp - 0x1f0]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x124]
call fcn.00594870
lea ecx, [ebp - 0x1f0]
call fcn.004ba6a0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0x492708
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 2
push eax
call fcn.00522a60
mov ecx, dword [ebp - 0x198]
add esp, 4
xor edi, edi
mov eax, dword [eax]
mov dword [ebp - 0x190], eax
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
cmp eax, 0x70
sete byte [ebp - 0x169]
je 0x584884
cmp dword [ebp - 0x170], edi
je 0x584e96
push 5
push 0x4a41ec
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
call fcn.004c22a0
mov dword [ebp - 0x18c], 0x492708
push 0xa
push 0x4a41e0
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0xf
mov byte [ebp - 0x1d0], 0
call fcn.004c22a0
mov dword [ebp - 0x1d4], 0x492708
push 0xd
push 0x4a41d0
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 4
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0xf
mov byte [ebp - 0x1b4], 0
call fcn.004c22a0
mov dword [ebp - 0x1b8], 0x492708
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 5
push eax
call fcn.005242c0
add esp, 4
push 0
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.00524960
mov esi, eax
cmp dword [ebp - 0x1a0], 0x10
lea ecx, [ebp - 0x1b4]
push dword [ebp - 0x1a4]
cmovae ecx, dword [ebp - 0x1b4]
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.004c2070
cmp dword [esi + 0x18], 0x10
lea eax, [esi + 4]
jb 0x584989
mov eax, dword [esi + 4]
push dword [esi + 0x14]
lea ecx, [ebp - 0x28]
push eax
call fcn.004c2070
call fcn.0051f9c0
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x5849a6
mov ecx, dword [eax + 4]
push dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004c2070
cmp dword [ebp - 0x1bc], 0x10
lea eax, [ebp - 0x1d0]
push dword [ebp - 0x1c0]
cmovae eax, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x28]
push eax
call fcn.004c2070
call fcn.0051f9c0
push dword [ebp - 0x190]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.004de400
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
mov dword [ebp - 0x168], eax
mov edx, ecx
jb 0x5849fd
mov edx, dword [ecx]
push dword [ecx + 0x10]
lea esi, [eax + 4]
push edx
mov ecx, esi
call fcn.004c2070
cmp dword [ebp - 0x174], 0x10
lea eax, [ebp - 0x188]
push dword [ebp - 0x178]
cmovae eax, dword [ebp - 0x188]
mov ecx, esi
push eax
call fcn.004c2070
call fcn.0051f9c0
push dword [ebp - 0x170]
mov ecx, dword [ebp - 0x168]
mov esi, eax
call fcn.004de400
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
mov dword [ebp - 0x168], eax
jb 0x584a57
mov ecx, dword [esi + 4]
push dword [esi + 0x14]
push ecx
lea ecx, [eax + 4]
call fcn.004c2070
call fcn.0051f9c0
cmp dword [eax + 0x18], 0x10
lea edx, [eax + 4]
jb 0x584a74
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 0x168]
push dword [eax + 0x14]
push edx
lea ecx, [ecx + 4]
call fcn.004c2070
mov dword [ebp - 0x1f0], 0x492708
mov eax, dword [ebp - 0x1d8]
mov byte [ebp - 4], 8
cmp eax, 0x10
jb 0x584ab2
inc eax
lea ecx, [ebp - 0x1ec]
push eax
push dword [ebp - 0x1ec]
call fcn.004c24c0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0xf
mov byte [ebp - 0x1ec], 0
call fcn.004c1670
mov edx, dword [ebp - 0x1a0]
cmp edx, 0x10
jb 0x584b16
mov ecx, dword [ebp - 0x1b4]
inc edx
mov eax, ecx
mov byte [ebp - 4], 9
cmp edx, 0x1000
jb 0x584b0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x584f11
push edx
push ecx
call fcn.006024e7
add esp, 8
mov edx, dword [ebp - 0x1bc]
cmp edx, 0x10
jb 0x584b54
mov ecx, dword [ebp - 0x1d0]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xa
cmp edx, 0x1000
jb 0x584b4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x584f16
push edx
push ecx
call fcn.006024e7
add esp, 8
mov edx, dword [ebp - 0x174]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x584b9a
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xb
cmp edx, 0x1000
jb 0x584b8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x584f1b
push edx
push ecx
call fcn.006024e7
add esp, 8
mov byte [ebp - 4], 2
push 4
push 0x4a4104
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
call fcn.004c22a0
mov dword [ebp - 0x18c], 0x492708
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x100]
call fcn.0056aa90
mov edx, dword [ebp - 0x174]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18c], 0x492708
cmp edx, 0x10
jb 0x584c37
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xd
cmp edx, 0x1000
jb 0x584c29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x584f20
push edx
push ecx
call fcn.006024e7
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0xa
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x124]
push eax
call fcn.0057e660
push 4
push 0x4a4120
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
call fcn.004c22a0
mov dword [ebp - 0x18c], 0x492708
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x100]
call fcn.0056aa90
mov edx, dword [ebp - 0x174]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18c], 0x492708
cmp edx, 0x10
jb 0x584ced
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xf
cmp edx, 0x1000
jb 0x584cdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x584f25
push edx
push ecx
call fcn.006024e7
add esp, 8
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x170]
lea ecx, [ebp - 0x6c]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push 0
push esi
movups xmmword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x5c], xmm0
call fcn.004e24d0
mov ecx, dword [ebp - 0x64]
test ecx, ecx
mov eax, dword [ebp - 0x68]
mov edx, eax
mov dword [ebp - 0x168], 0
cmove edx, dword [ebp - 0x168]
cmp byte [ebp - 0x169], 0
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x19c], edx
jne 0x584dc0
mov edx, dword [ebp - 0x194]
test edx, edx
je 0x584dc0
test ecx, ecx
mov dword [ebp - 0x168], 0
push esi
cmove eax, dword [ebp - 0x168]
push edx
push eax
call fcn.00604150
mov eax, esi
add esp, 0xc
shr eax, 2
xor ecx, ecx
mov dword [ebp - 0x168], eax
test eax, eax
je 0x584dba
mov esi, dword [ebp - 0x190]
mov eax, dword [ebp - 0x19c]
mov edx, 0x5917
xor dword [eax + ecx*4], esi
mov eax, edi
mul edx
mov edx, 0x5917
mov edi, eax
mov eax, esi
mul edx
add edi, edx
mov esi, eax
add esi, 0x4a6b
adc edi, 0
inc ecx
cmp ecx, dword [ebp - 0x168]
jb 0x584d81
mov esi, dword [ebp - 0x170]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
xor edx, edx
test ecx, ecx
push esi
cmove eax, edx
lea ecx, [ebp - 0x124]
push eax
call fcn.00596410
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0x492708
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x124]
call fcn.005951c0
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x44]
cmp dword [ebp + 0xc], edi
mov ecx, edi
mov esi, dword [ebp - 0x44]
cmovb ecx, dword [ebp + 0xc]
cmp dword [ebp - 0x30], 0x10
push ecx
cmovae eax, esi
push eax
push dword [ebp - 0x194]
call fcn.00604150
add esp, 0xc
cmp edi, dword [ebp + 0xc]
jbe 0x584e3e
mov ecx, dword [ebp - 0x198]
push 0x70
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], 0x492708
cmp eax, 0x10
jb 0x584e7c
lea ecx, [eax + 1]
mov eax, esi
mov byte [ebp - 4], 0x12
cmp ecx, 0x1000
jb 0x584e72
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x584f2a
push ecx
push esi
call fcn.006024e7
add esp, 8
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004ba710
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], 0x492708
cmp edx, 0x10
jb 0x584ed5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0x13
cmp edx, 0x1000
jb 0x584ecb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x584f2a
push edx
push ecx
call fcn.006024e7
add esp, 8
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00593970
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.00602a00
mov esp, ebp
pop ebp
ret 0x10
call fcn.0053accc
call fcn.0053accc
call fcn.0053accc
call fcn.0053accc
call fcn.0053accc
call fcn.0053accc
int3