Function at 0x589ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a54b7
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
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 eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, 0xa
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xd300dd
mov dword [ebp - 0x2c], 0xc900db
mov dword [ebp - 0x28], 0xcc00e2
mov dword [ebp - 0x24], 0xd500c5
mov dword [ebp - 0x20], 0xc600d2
mov dword [ebp - 0x1c], 0xb3
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x30], ax
inc ecx
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jb 0x589b20
xor ecx, ecx
mov dword [ebp - 0x80], 7
mov word [ebp + eax*2 - 0x30], cx
xor eax, eax
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x30]
mov word [ebp - 0x94], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x589b56
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.004044f0
mov dword [ebp - 4], 0
mov eax, 0xe
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov dword [ebp - 0x54], 0xc600ca
mov dword [ebp - 0x50], 0xd900c4
mov dword [ebp - 0x4c], 0xef00c9
mov dword [ebp - 0x48], 0xe300f9
mov dword [ebp - 0x44], 0xd100d4
mov dword [ebp - 0x40], 0xdd00c7
mov dword [ebp - 0x3c], 0xd800da
mov dword [ebp - 0x38], 0xb7
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
mov eax, dword [ebp - 0x58]
cmp ecx, eax
jb 0x589bc0
xor ecx, ecx
mov dword [ebp - 0x1c], 7
mov word [ebp + eax*2 - 0x54], cx
xor eax, eax
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x54]
mov word [ebp - 0x30], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x589bf0
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004044f0
mov byte [ebp - 4], 1
mov eax, dword [0x83ff6c]
test eax, eax
jne 0x589c49
push 0x28
call fcn.0076e8c3
add esp, 4
mov dword [ebp - 0x64], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 2
movups xmmword [eax], xmm0
mov ecx, eax
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.0048e020
mov byte [ebp - 4], 1
mov dword [0x83ff6c], eax
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
call fcn.0048e3a0
mov esi, eax
push 0x94
mov byte [ebp - 4], 3
call fcn.0076e8c3
mov edi, eax
add esp, 4
mov dword [ebp - 0x64], edi
mov byte [ebp - 4], 4
lea eax, [edi + 0xc]
push esi
lea ecx, [ebp - 0x7c]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable..144.0
mov dword [ebp - 0x14], eax
call fcn.00404120
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 5
push eax
lea esi, [edi + 0xc]
push 0xf
mov ecx, esi
call fcn.0059e920
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 7
call fcn.00404490
push dword [ebp - 0x60]
lea ecx, [ebp - 0x4c]
mov dword [esi], vtable..145.0
call fcn.00404120
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404120
lea eax, [esi + 0x64]
lea ecx, [ebp - 0x7c]
cmp eax, ecx
je 0x589d19
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [ebp - 0x7c]
xor eax, eax
mov word [ebp - 0x7c], ax
movups xmmword [esi + 0x64], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [esi + 0x74], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
lea ecx, [ebp - 0x7c]
call fcn.00404490
lea ecx, [ebp - 0x4c]
call fcn.00404490
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0xac]
call fcn.00404490
lea ecx, [ebp - 0x30]
call fcn.00404490
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xc
call fcn.00404490
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
mov byte [esi + 0xc], 1
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x589d89
mov dword [eax], 0
lea edx, [edi + 4]
mov dword [eax + 4], 0
lock inc dword [edx]
mov dword [eax], esi
mov dword [eax + 4], edi
add dword [ecx + 4], 8
jmp 0x589d96
lea edx, [ebp - 0x18]
push edx
push eax
call fcn.00413880
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
add eax, 0x18
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004057b0
add esp, 8
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0xd
call fcn.00406920
lea ecx, [ebp - 0x4c]
call fcn.00404490
mov dword [ebp - 4], 0xe
test edi, edi
je 0x589ded
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x589ded
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x589ded
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
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 8