Function at 0x58a700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62cab0
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x659af8]
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], 0x4aa0bc
mov dword [ebp - 0x13c], 0x65710c
movups xmmword [ebp - 0x136], xmm0
mov word [ebp - 0x126], 0
mov dword [ebp - 0x164], 0x10
mov dword [ebp - 0x160], 0x4aa0e0
mov dword [ebp - 0x15c], 0x65711c
movups xmmword [ebp - 0x156], xmm0
mov word [ebp - 0x146], 0
call fcn.0060a6d0
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.00599860
mov dword [ebp - 4], 0
call fcn.00525920
push eax
lea ecx, [ebp - 0x1f0]
call fcn.00526440
push 3
lea eax, [ebp - 0x1f0]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x124]
call fcn.0059a870
lea ecx, [ebp - 0x1f0]
call fcn.004c06a0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0x498708
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 2
push eax
call fcn.00528a60
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 0x58a884
cmp dword [ebp - 0x170], edi
je 0x58ae96
push 5
push 0x4aa1ec
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
call fcn.004c82a0
mov dword [ebp - 0x18c], 0x498708
push 0xa
push 0x4aa1e0
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.004c82a0
mov dword [ebp - 0x1d4], 0x498708
push 0xd
push 0x4aa1d0
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.004c82a0
mov dword [ebp - 0x1b8], 0x498708
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 5
push eax
call fcn.0052a2c0
add esp, 4
push 0
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.0052a960
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.004c8070
cmp dword [esi + 0x18], 0x10
lea eax, [esi + 4]
jb 0x58a989
mov eax, dword [esi + 4]
push dword [esi + 0x14]
lea ecx, [ebp - 0x28]
push eax
call fcn.004c8070
call fcn.005259c0
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x58a9a6
mov ecx, dword [eax + 4]
push dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004c8070
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.004c8070
call fcn.005259c0
push dword [ebp - 0x190]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.004e4400
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
mov dword [ebp - 0x168], eax
mov edx, ecx
jb 0x58a9fd
mov edx, dword [ecx]
push dword [ecx + 0x10]
lea esi, [eax + 4]
push edx
mov ecx, esi
call fcn.004c8070
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.004c8070
call fcn.005259c0
push dword [ebp - 0x170]
mov ecx, dword [ebp - 0x168]
mov esi, eax
call fcn.004e4400
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
mov dword [ebp - 0x168], eax
jb 0x58aa57
mov ecx, dword [esi + 4]
push dword [esi + 0x14]
push ecx
lea ecx, [eax + 4]
call fcn.004c8070
call fcn.005259c0
cmp dword [eax + 0x18], 0x10
lea edx, [eax + 4]
jb 0x58aa74
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 0x168]
push dword [eax + 0x14]
push edx
lea ecx, [ecx + 4]
call fcn.004c8070
mov dword [ebp - 0x1f0], 0x498708
mov eax, dword [ebp - 0x1d8]
mov byte [ebp - 4], 8
cmp eax, 0x10
jb 0x58aab2
inc eax
lea ecx, [ebp - 0x1ec]
push eax
push dword [ebp - 0x1ec]
call fcn.004c84c0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0xf
mov byte [ebp - 0x1ec], 0
call fcn.004c7670
mov edx, dword [ebp - 0x1a0]
cmp edx, 0x10
jb 0x58ab16
mov ecx, dword [ebp - 0x1b4]
inc edx
mov eax, ecx
mov byte [ebp - 4], 9
cmp edx, 0x1000
jb 0x58ab0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58af11
push edx
push ecx
call fcn.006084e7
add esp, 8
mov edx, dword [ebp - 0x1bc]
cmp edx, 0x10
jb 0x58ab54
mov ecx, dword [ebp - 0x1d0]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xa
cmp edx, 0x1000
jb 0x58ab4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58af16
push edx
push ecx
call fcn.006084e7
add esp, 8
mov edx, dword [ebp - 0x174]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x58ab9a
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xb
cmp edx, 0x1000
jb 0x58ab8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58af1b
push edx
push ecx
call fcn.006084e7
add esp, 8
mov byte [ebp - 4], 2
push 4
push 0x4aa104
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
call fcn.004c82a0
mov dword [ebp - 0x18c], 0x498708
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x100]
call fcn.00570a90
mov edx, dword [ebp - 0x174]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18c], 0x498708
cmp edx, 0x10
jb 0x58ac37
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xd
cmp edx, 0x1000
jb 0x58ac29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58af20
push edx
push ecx
call fcn.006084e7
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.00584660
push 4
push 0x4aa120
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
call fcn.004c82a0
mov dword [ebp - 0x18c], 0x498708
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x100]
call fcn.00570a90
mov edx, dword [ebp - 0x174]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18c], 0x498708
cmp edx, 0x10
jb 0x58aced
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xf
cmp edx, 0x1000
jb 0x58acdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58af25
push edx
push ecx
call fcn.006084e7
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.004e84d0
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 0x58adc0
mov edx, dword [ebp - 0x194]
test edx, edx
je 0x58adc0
test ecx, ecx
mov dword [ebp - 0x168], 0
push esi
cmove eax, dword [ebp - 0x168]
push edx
push eax
call fcn.0060a150
mov eax, esi
add esp, 0xc
shr eax, 2
xor ecx, ecx
mov dword [ebp - 0x168], eax
test eax, eax
je 0x58adba
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 0x58ad81
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.0059c410
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0x498708
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x124]
call fcn.0059b1c0
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.0060a150
add esp, 0xc
cmp edi, dword [ebp + 0xc]
jbe 0x58ae3e
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], 0x498708
cmp eax, 0x10
jb 0x58ae7c
lea ecx, [eax + 1]
mov eax, esi
mov byte [ebp - 4], 0x12
cmp ecx, 0x1000
jb 0x58ae72
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58af2a
push ecx
push esi
call fcn.006084e7
add esp, 8
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004c0710
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], 0x498708
cmp edx, 0x10
jb 0x58aed5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0x13
cmp edx, 0x1000
jb 0x58aecb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58af2a
push edx
push ecx
call fcn.006084e7
add esp, 8
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00599970
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.00608a00
mov esp, ebp
pop ebp
ret 0x10
call fcn.00540ccc
call fcn.00540ccc
call fcn.00540ccc
call fcn.00540ccc
call fcn.00540ccc
call fcn.00540ccc
int3