Function at 0x58b880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a5843
mov eax, dword fs:[0]
push eax
sub esp, 0x128
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 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], 0xc9c6cbc7
mov byte [ebp - 0x104], 0xad
mov word [ebp - 0x103], cx
mov byte [ebp - 0x101], cl
nop dword [eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x108], al
inc ecx
mov eax, dword [ebp - 0x10c]
cmp ecx, eax
jb 0x58b8f0
mov byte [ebp + eax - 0x108], 0
mov ecx, edx
lea eax, [ebp - 0x108]
push eax
call fcn.00772c10
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.007737d0
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 0x58b96d
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], 0xd8cadeda
mov eax, 4
mov byte [ebp - 0x104], 0xad
mov dword [ebp - 0x10c], eax
mov word [ebp - 0x103], cx
mov byte [ebp - 0x101], cl
nop
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x108], al
inc ecx
mov eax, dword [ebp - 0x10c]
cmp ecx, eax
jb 0x58b9b0
mov esi, dword [ebp - 0x114]
mov ecx, esi
mov byte [ebp + eax - 0x108], 0
lea eax, [ebp - 0x108]
push eax
call fcn.00772c10
mov ecx, eax
call fcn.00773310
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], 0xc5d9cfdf
mov dword [ebp - 0x104], 0xb0c0c8c3
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x108], al
inc ecx
mov eax, dword [ebp - 0x10c]
cmp ecx, eax
jb 0x58ba21
mov byte [ebp + eax - 0x108], 0
mov ecx, esi
lea eax, [ebp - 0x108]
push eax
call fcn.00772c10
push eax
lea ecx, [ebp - 0xa0]
call fcn.00772080
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 1
call fcn.007740b0
test al, al
je 0x58c0db
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
push 0x7da310
movups xmmword [ebp - 0x40], xmm0
movq qword [ebp - 0x30], xmm0
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x40]
call fcn.00772080
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.007740c0
lea ecx, [ebp - 0x40]
test al, al
je 0x58bad8
lea eax, [ebp - 0x12c]
push eax
call fcn.007737d0
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 0x58bb39
call fcn.00773ed0
test al, al
je 0x58bb39
lea ecx, [ebp - 0x40]
xor esi, esi
call fcn.00774b70
test eax, eax
je 0x58bb39
nop
push esi
lea ecx, [ebp - 0x40]
call fcn.00772990
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007737d0
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.00774b70
cmp esi, eax
jb 0x58baf0
mov edi, dword [ebp - 0x110]
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
push 0x7da318
movups xmmword [ebp - 0x58], xmm0
movq qword [ebp - 0x48], xmm0
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x58]
call fcn.00772080
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.007740c0
lea ecx, [ebp - 0x58]
test al, al
je 0x58bba1
lea eax, [ebp - 0x12c]
push eax
call fcn.007737d0
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 0x58bc56
call fcn.00773ed0
test al, al
je 0x58bc56
lea ecx, [ebp - 0x58]
xor edi, edi
call fcn.00774b70
test eax, eax
je 0x58bc56
mov esi, dword [ebp - 0x110]
push edi
lea ecx, [ebp - 0x58]
call fcn.00772990
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007737d0
mov byte [ebp - 4], 7
mov ecx, dword [esi + 0x9c]
cmp dword [esi + 0xa0], ecx
je 0x58bc29
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 0x58bc36
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.00774b70
cmp edi, eax
jb 0x58bbc6
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
push 0x7da314
movups xmmword [ebp - 0x88], xmm0
movq qword [ebp - 0x78], xmm0
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x88]
call fcn.00772080
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.007740c0
lea ecx, [ebp - 0x88]
test al, al
je 0x58bcd0
mov edi, dword [ebp - 0x110]
lea eax, [ebp - 0x12c]
push eax
call fcn.007737d0
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 0x58bd9c
call fcn.00773ed0
test al, al
je 0x58bd96
lea ecx, [ebp - 0x88]
xor edi, edi
call fcn.00774b70
test eax, eax
je 0x58bd96
mov esi, dword [ebp - 0x110]
nop dword [eax + eax]
push edi
lea ecx, [ebp - 0x88]
call fcn.00772990
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007737d0
mov byte [ebp - 4], 0xa
mov ecx, dword [esi + 0xa8]
cmp dword [esi + 0xac], ecx
je 0x58bd66
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 0x58bd73
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.00774b70
cmp edi, eax
jb 0x58bd00
mov edi, dword [ebp - 0x110]
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
push 0x7da304
movups xmmword [ebp - 0x70], xmm0
movq qword [ebp - 0x60], xmm0
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x70]
call fcn.00772080
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
call fcn.007740c0
lea ecx, [ebp - 0x70]
test al, al
je 0x58be63
lea eax, [ebp - 0x12c]
push eax
call fcn.007737d0
mov byte [ebp - 4], 0xc
mov ecx, dword [edi + 0xb4]
cmp dword [edi + 0xb8], ecx
je 0x58be42
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 0x58bf20
push eax
push ecx
lea ecx, [edi + 0xb0]
call fcn.004081e0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0xb
call fcn.00404490
jmp 0x58bf20
call fcn.00773ed0
test al, al
je 0x58bf20
lea ecx, [ebp - 0x70]
xor edi, edi
call fcn.00774b70
test eax, eax
je 0x58bf20
mov esi, dword [ebp - 0x110]
nop dword [eax + eax]
push edi
lea ecx, [ebp - 0x70]
call fcn.00772990
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007737d0
mov byte [ebp - 4], 0xd
mov ecx, dword [esi + 0xb4]
cmp dword [esi + 0xb8], ecx
je 0x58bef3
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 0x58bf00
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.00774b70
cmp edi, eax
jb 0x58be90
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
push 0x7da300
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x28]
call fcn.00772080
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.007740c0
lea ecx, [ebp - 0x28]
test al, al
je 0x58bfe5
mov edi, dword [ebp - 0x110]
lea eax, [ebp - 0x12c]
push eax
call fcn.007737d0
mov byte [ebp - 4], 0xf
mov ecx, dword [edi + 0xc0]
cmp dword [edi + 0xc4], ecx
je 0x58bfc8
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 0x58c0a6
push eax
push ecx
lea ecx, [edi + 0xbc]
call fcn.004081e0
lea ecx, [ebp - 0x12c]
call fcn.00404490
jmp 0x58c0a6
call fcn.00773ed0
test al, al
je 0x58c0a0
lea ecx, [ebp - 0x28]
xor edi, edi
call fcn.00774b70
test eax, eax
je 0x58c0a0
mov esi, dword [ebp - 0x110]
nop word [eax + eax]
push edi
lea ecx, [ebp - 0x28]
call fcn.00772990
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007737d0
mov byte [ebp - 4], 0x10
mov ecx, dword [esi + 0xc0]
cmp dword [esi + 0xc4], ecx
je 0x58c073
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 0x58c080
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.00774b70
cmp edi, eax
jb 0x58c010
mov edi, dword [ebp - 0x110]
lea ecx, [ebp - 0x28]
call fcn.007727c0
lea ecx, [ebp - 0x70]
call fcn.007727c0
lea ecx, [ebp - 0x88]
call fcn.007727c0
lea ecx, [ebp - 0x58]
call fcn.007727c0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.007727c0
mov esi, dword [ebp - 0x114]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0xc5ccc3cd
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], 0xd7c6ddd9
mov dword [ebp - 0x14], 0xb2df
nop dword [eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x1c], al
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x58c110
mov byte [ebp + eax - 0x1c], 0
mov ecx, esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00772c10
push eax
lea ecx, [ebp - 0xe8]
call fcn.00772080
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x11
call fcn.00773ed0
test al, al
je 0x58c35f
xor esi, esi
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x130], esi
call fcn.00774b70
test eax, eax
je 0x58c359
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.00772990
mov esi, eax
mov dword [ebp - 0x108], 0xc9c6cbc7
xor eax, eax
mov byte [ebp - 0x104], 0xad
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, 0x57
xor byte [ebp + ecx - 0x108], al
inc ecx
mov edx, dword [ebp - 0x10c]
cmp ecx, edx
jb 0x58c1e2
lea eax, [ebp - 0x108]
mov byte [ebp + edx - 0x108], 0
push eax
mov ecx, esi
call fcn.00772ae0
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007737d0
mov esi, eax
lea eax, [ebp - 0xd0]
cmp eax, esi
je 0x58c259
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.00772990
push 0x7da30c
mov ecx, eax
call fcn.00772ae0
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007736e0
mov esi, eax
lea eax, [ebp - 0xb8]
cmp eax, esi
je 0x58c2ca
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 0x58c313
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 0x58c31f
push esi
lea ecx, [edi + 0xc8]
call fcn.0058aeb0
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.00774b70
cmp esi, eax
jb 0x58c170
mov esi, dword [ebp - 0x114]
xor ecx, ecx
mov dword [ebp - 0x108], 0xc4d8c9cc
xorps xmm0, xmm0
mov byte [ebp - 0x104], 0xad
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, 0x57
xor byte [ebp + edx - 0x108], al
inc edx
mov eax, dword [ebp - 0x10c]
cmp edx, eax
jb 0x58c3a0
mov byte [ebp + eax - 0x108], cl
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
call fcn.00772c10
push eax
lea ecx, [ebp - 0x100]
call fcn.00772080
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x14
call fcn.00773ed0
test al, al
je 0x58c4a6
lea ecx, [ebp - 0x100]
xor edi, edi
call fcn.00774b70
test eax, eax
je 0x58c4a6
mov esi, dword [ebp - 0x110]
nop dword [eax]
push edi
lea ecx, [ebp - 0x100]
call fcn.00772990
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.007737d0
mov byte [ebp - 4], 0x15
mov ecx, dword [esi + 0xd8]
cmp dword [esi + 0xdc], ecx
je 0x58c476
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 0x58c483
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.00774b70
cmp edi, eax
jb 0x58c410
lea ecx, [ebp - 0x100]
call fcn.007727c0
lea ecx, [ebp - 0xe8]
call fcn.007727c0
lea ecx, [ebp - 0xa0]
call fcn.007727c0
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 4