Function at 0x58a890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a40a3
mov eax, dword fs:[0]
push eax
sub esp, 0x128
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, ecx
mov dword [ebp - 0x110], edi
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 4
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], 0xded7d8d6
mov byte [ebp - 0x104], 0xbc
mov word [ebp - 0x103], cx
mov byte [ebp - 0x101], cl
nop dword [eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x108], al
inc ecx
mov eax, dword [ebp - 0x10c]
cmp ecx, eax
jb 0x58a900
mov byte [ebp + eax - 0x108], 0
mov ecx, edx
lea eax, [ebp - 0x108]
push eax
call fcn.00771630
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.007721f0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00404120
lea esi, [edi + 0x1c]
lea eax, [ebp - 0x40]
cmp esi, eax
je 0x58a97d
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x40]
xor eax, eax
mov word [ebp - 0x40], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
xor ecx, ecx
mov dword [ebp - 0x108], 0xcfdbcdcb
mov eax, 4
mov byte [ebp - 0x104], 0xbc
mov dword [ebp - 0x10c], eax
mov word [ebp - 0x103], cx
mov byte [ebp - 0x101], cl
nop
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x108], al
inc ecx
mov eax, dword [ebp - 0x10c]
cmp ecx, eax
jb 0x58a9c0
mov esi, dword [ebp - 0x114]
mov ecx, esi
mov byte [ebp + eax - 0x108], 0
lea eax, [ebp - 0x108]
push eax
call fcn.00771630
mov ecx, eax
call fcn.00771d30
xorps xmm0, xmm0
mov byte [edi + 0x88], al
movups xmmword [ebp - 0xa0], xmm0
xor ecx, ecx
mov dword [ebp - 0x10c], 7
movq qword [ebp - 0x90], xmm0
mov dword [ebp - 0x108], 0xd2c8dcce
mov dword [ebp - 0x104], 0xbfd1dbd2
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x108], al
inc ecx
mov eax, dword [ebp - 0x10c]
cmp ecx, eax
jb 0x58aa31
mov byte [ebp + eax - 0x108], 0
mov ecx, esi
lea eax, [ebp - 0x108]
push eax
call fcn.00771630
push eax
lea ecx, [ebp - 0xa0]
call fcn.00770aa0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 1
call fcn.00772ad0
test al, al
je 0x58b0eb
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
push 0x7d82c4
movups xmmword [ebp - 0x40], xmm0
movq qword [ebp - 0x30], xmm0
call fcn.00771500
push eax
lea ecx, [ebp - 0x40]
call fcn.00770aa0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00772ae0
lea ecx, [ebp - 0x40]
test al, al
je 0x58aae8
lea eax, [ebp - 0x12c]
push eax
call fcn.007721f0
push eax
lea ecx, [edi + 0x8c]
mov byte [ebp - 4], 3
call fcn.00406920
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.00404490
jmp 0x58ab49
call fcn.007728f0
test al, al
je 0x58ab49
lea ecx, [ebp - 0x40]
xor esi, esi
call fcn.00773590
test eax, eax
je 0x58ab49
nop
push esi
lea ecx, [ebp - 0x40]
call fcn.007713b0
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007721f0
push eax
lea ecx, [edi + 0x8c]
mov byte [ebp - 4], 4
call fcn.00406920
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.00404490
lea ecx, [ebp - 0x40]
inc esi
call fcn.00773590
cmp esi, eax
jb 0x58ab00
mov edi, dword [ebp - 0x110]
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
push 0x7d82cc
movups xmmword [ebp - 0x58], xmm0
movq qword [ebp - 0x48], xmm0
call fcn.00771500
push eax
lea ecx, [ebp - 0x58]
call fcn.00770aa0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00772ae0
lea ecx, [ebp - 0x58]
test al, al
je 0x58abb1
lea eax, [ebp - 0x12c]
push eax
call fcn.007721f0
push eax
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 6
call fcn.00406920
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.00404490
jmp 0x58ac66
call fcn.007728f0
test al, al
je 0x58ac66
lea ecx, [ebp - 0x58]
xor edi, edi
call fcn.00773590
test eax, eax
je 0x58ac66
mov esi, dword [ebp - 0x110]
push edi
lea ecx, [ebp - 0x58]
call fcn.007713b0
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 7
mov ecx, dword [esi + 0x9c]
cmp dword [esi + 0xa0], ecx
je 0x58ac39
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [esi + 0x9c], 0x18
jmp 0x58ac46
push eax
push ecx
lea ecx, [esi + 0x98]
call fcn.004081e0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.00404490
lea ecx, [ebp - 0x58]
inc edi
call fcn.00773590
cmp edi, eax
jb 0x58abd6
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
push 0x7d82c8
movups xmmword [ebp - 0x88], xmm0
movq qword [ebp - 0x78], xmm0
call fcn.00771500
push eax
lea ecx, [ebp - 0x88]
call fcn.00770aa0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.00772ae0
lea ecx, [ebp - 0x88]
test al, al
je 0x58ace0
mov edi, dword [ebp - 0x110]
lea eax, [ebp - 0x12c]
push eax
call fcn.007721f0
push eax
lea ecx, [edi + 0xa4]
mov byte [ebp - 4], 9
call fcn.00406920
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 8
call fcn.00404490
jmp 0x58adac
call fcn.007728f0
test al, al
je 0x58ada6
lea ecx, [ebp - 0x88]
xor edi, edi
call fcn.00773590
test eax, eax
je 0x58ada6
mov esi, dword [ebp - 0x110]
nop dword [eax + eax]
push edi
lea ecx, [ebp - 0x88]
call fcn.007713b0
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 0xa
mov ecx, dword [esi + 0xa8]
cmp dword [esi + 0xac], ecx
je 0x58ad76
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [esi + 0xa8], 0x18
jmp 0x58ad83
push eax
push ecx
lea ecx, [esi + 0xa4]
call fcn.004081e0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 8
call fcn.00404490
lea ecx, [ebp - 0x88]
inc edi
call fcn.00773590
cmp edi, eax
jb 0x58ad10
mov edi, dword [ebp - 0x110]
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
push 0x7d82b8
movups xmmword [ebp - 0x70], xmm0
movq qword [ebp - 0x60], xmm0
call fcn.00771500
push eax
lea ecx, [ebp - 0x70]
call fcn.00770aa0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
call fcn.00772ae0
lea ecx, [ebp - 0x70]
test al, al
je 0x58ae73
lea eax, [ebp - 0x12c]
push eax
call fcn.007721f0
mov byte [ebp - 4], 0xc
mov ecx, dword [edi + 0xb4]
cmp dword [edi + 0xb8], ecx
je 0x58ae52
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x12c]
add dword [edi + 0xb4], 0x18
mov byte [ebp - 4], 0xb
call fcn.00404490
jmp 0x58af30
push eax
push ecx
lea ecx, [edi + 0xb0]
call fcn.004081e0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0xb
call fcn.00404490
jmp 0x58af30
call fcn.007728f0
test al, al
je 0x58af30
lea ecx, [ebp - 0x70]
xor edi, edi
call fcn.00773590
test eax, eax
je 0x58af30
mov esi, dword [ebp - 0x110]
nop dword [eax + eax]
push edi
lea ecx, [ebp - 0x70]
call fcn.007713b0
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 0xd
mov ecx, dword [esi + 0xb4]
cmp dword [esi + 0xb8], ecx
je 0x58af03
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [esi + 0xb4], 0x18
jmp 0x58af10
push eax
push ecx
lea ecx, [esi + 0xb0]
call fcn.004081e0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0xb
call fcn.00404490
lea ecx, [ebp - 0x70]
inc edi
call fcn.00773590
cmp edi, eax
jb 0x58aea0
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
push 0x7d82b4
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.00771500
push eax
lea ecx, [ebp - 0x28]
call fcn.00770aa0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.00772ae0
lea ecx, [ebp - 0x28]
test al, al
je 0x58aff5
mov edi, dword [ebp - 0x110]
lea eax, [ebp - 0x12c]
push eax
call fcn.007721f0
mov byte [ebp - 4], 0xf
mov ecx, dword [edi + 0xc0]
cmp dword [edi + 0xc4], ecx
je 0x58afd8
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x12c]
add dword [edi + 0xc0], 0x18
call fcn.00404490
jmp 0x58b0b6
push eax
push ecx
lea ecx, [edi + 0xbc]
call fcn.004081e0
lea ecx, [ebp - 0x12c]
call fcn.00404490
jmp 0x58b0b6
call fcn.007728f0
test al, al
je 0x58b0b0
lea ecx, [ebp - 0x28]
xor edi, edi
call fcn.00773590
test eax, eax
je 0x58b0b0
mov esi, dword [ebp - 0x110]
nop word [eax + eax]
push edi
lea ecx, [ebp - 0x28]
call fcn.007713b0
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 0x10
mov ecx, dword [esi + 0xc0]
cmp dword [esi + 0xc4], ecx
je 0x58b083
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [esi + 0xc0], 0x18
jmp 0x58b090
push eax
push ecx
lea ecx, [esi + 0xbc]
call fcn.004081e0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0xe
call fcn.00404490
lea ecx, [ebp - 0x28]
inc edi
call fcn.00773590
cmp edi, eax
jb 0x58b020
mov edi, dword [ebp - 0x110]
lea ecx, [ebp - 0x28]
call fcn.007711e0
lea ecx, [ebp - 0x70]
call fcn.007711e0
lea ecx, [ebp - 0x88]
call fcn.007711e0
lea ecx, [ebp - 0x58]
call fcn.007711e0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.007711e0
mov esi, dword [ebp - 0x114]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0xd2ddd0dc
mov eax, 9
movq qword [ebp - 0xd8], xmm0
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0xd8d7cec8
mov dword [ebp - 0x14], 0xc1ae
nop dword [eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x1c], al
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x58b120
mov byte [ebp + eax - 0x1c], 0
mov ecx, esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00771630
push eax
lea ecx, [ebp - 0xe8]
call fcn.00770aa0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x11
call fcn.007728f0
test al, al
je 0x58b36f
xor esi, esi
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x130], esi
call fcn.00773590
test eax, eax
je 0x58b369
nop
xor eax, eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], al
push esi
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x12
call fcn.007713b0
mov esi, eax
mov dword [ebp - 0x108], 0xded7d8d6
xor eax, eax
mov byte [ebp - 0x104], 0xbc
mov edx, 4
mov word [ebp - 0x103], ax
mov dword [ebp - 0x10c], edx
xor ecx, ecx
mov byte [ebp - 0x101], al
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x108], al
inc ecx
mov edx, dword [ebp - 0x10c]
cmp ecx, edx
jb 0x58b1f2
lea eax, [ebp - 0x108]
mov byte [ebp + edx - 0x108], 0
push eax
mov ecx, esi
call fcn.00771500
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007721f0
mov esi, eax
lea eax, [ebp - 0xd0]
cmp eax, esi
je 0x58b269
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0xc0], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x12c]
call fcn.00404490
push dword [ebp - 0x130]
lea ecx, [ebp - 0xe8]
call fcn.007713b0
push 0x7d82c0
mov ecx, eax
call fcn.00771500
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.00772100
mov esi, eax
lea eax, [ebp - 0xb8]
cmp eax, esi
je 0x58b2da
mov ecx, eax
call fcn.00407a10
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
movq qword [ebp - 0xa8], xmm0
mov byte [esi], 0
lea ecx, [ebp - 0x12c]
call fcn.00407a10
mov esi, dword [edi + 0xcc]
lea eax, [ebp - 0xd0]
push eax
cmp dword [edi + 0xd0], esi
je 0x58b323
mov ecx, esi
mov dword [ebp - 0x134], esi
call fcn.00404120
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x13
lea ecx, [esi + 0x18]
push eax
call fcn.00406bb0
add dword [edi + 0xcc], 0x30
jmp 0x58b32f
push esi
lea ecx, [edi + 0xc8]
call fcn.00589eb0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x11
call fcn.00407a10
lea ecx, [ebp - 0xd0]
call fcn.00404490
mov esi, dword [ebp - 0x130]
lea ecx, [ebp - 0xe8]
inc esi
mov dword [ebp - 0x130], esi
call fcn.00773590
cmp esi, eax
jb 0x58b180
mov esi, dword [ebp - 0x114]
xor ecx, ecx
mov dword [ebp - 0x108], 0xd3c9dadd
xorps xmm0, xmm0
mov byte [ebp - 0x104], 0xbc
mov eax, 4
movq qword [ebp - 0xf0], xmm0
movups xmmword [ebp - 0x100], xmm0
mov dword [ebp - 0x10c], eax
xor edx, edx
mov word [ebp - 0x103], cx
mov byte [ebp - 0x101], cl
nop
mov al, dl
sub al, 0x48
xor byte [ebp + edx - 0x108], al
inc edx
mov eax, dword [ebp - 0x10c]
cmp edx, eax
jb 0x58b3b0
mov byte [ebp + eax - 0x108], cl
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
call fcn.00771630
push eax
lea ecx, [ebp - 0x100]
call fcn.00770aa0
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x14
call fcn.007728f0
test al, al
je 0x58b4b6
lea ecx, [ebp - 0x100]
xor edi, edi
call fcn.00773590
test eax, eax
je 0x58b4b6
mov esi, dword [ebp - 0x110]
nop dword [eax]
push edi
lea ecx, [ebp - 0x100]
call fcn.007713b0
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 0x15
mov ecx, dword [esi + 0xd8]
cmp dword [esi + 0xdc], ecx
je 0x58b486
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [esi + 0xd8], 0x18
jmp 0x58b493
push eax
push ecx
lea ecx, [esi + 0xd4]
call fcn.004081e0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x14
call fcn.00404490
lea ecx, [ebp - 0x100]
inc edi
call fcn.00773590
cmp edi, eax
jb 0x58b420
lea ecx, [ebp - 0x100]
call fcn.007711e0
lea ecx, [ebp - 0xe8]
call fcn.007711e0
lea ecx, [ebp - 0xa0]
call fcn.007711e0
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 4