Function at 0x589940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f6e33
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x82f084]
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 - 0x2c4], ecx
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp + 0x1c]
push 0x200
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x210]
push 0
push eax
mov dword [ebp - 0x2bc], 0
call fcn.00690480
mov ecx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x210]
add esp, 0xc
push eax
push 0
push 0
call fcn.004fb960
xor eax, eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov byte [ebp - 4], 3
test edi, edi
je 0x589a5c
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x589a40
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2ac]
call fcn.0042fe00
test esi, esi
je 0x589a81
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x589a65
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x294]
call fcn.0042fe00
mov edx, dword [ebp - 0x2c8]
test edx, edx
je 0x589aac
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x589a90
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x27c]
call fcn.0042fe00
mov edx, dword [ebp - 0x2cc]
test edx, edx
je 0x589adc
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x589ac0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x264]
call fcn.0042fe00
xorps xmm0, xmm0
mov dword [ebp - 0x214], 0
movq qword [ebp - 0x21c], xmm0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 4
test eax, eax
je 0x589b6c
mov dword [ebp - 0x2bc], eax
lea ecx, [ebp - 0x24c]
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x2c0], str.SessionID
push eax
call fcn.0056c200
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x21c]
call fcn.0050b9e0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.0042fd70
lea ecx, [ebp - 0x24c]
call fcn.0042fd70
lea eax, [ebp - 0x210]
mov dword [ebp - 0x2c0], str.Timestamp
mov dword [ebp - 0x2bc], eax
lea ecx, [ebp - 0x24c]
lea eax, [ebp - 0x2c0]
push eax
call fcn.0056c200
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x21c]
call fcn.0050b9e0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.0042fd70
lea ecx, [ebp - 0x24c]
call fcn.0042fd70
lea eax, [ebp - 0x234]
push eax
call fcn.004fbb10
movups xmm0, xmmword [eax]
xor ecx, ecx
mov dword [ebp - 0x2ec], str.ThreadID
movups xmmword [ebp - 0x2e8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2d8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x2ec]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x330]
call fcn.0056c2c0
lea eax, [ebp - 0x330]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x21c]
call fcn.0050b9e0
lea ecx, [ebp - 0x318]
call fcn.0042fd70
lea ecx, [ebp - 0x330]
call fcn.0042fd70
lea ecx, [ebp - 0x2e8]
call fcn.0042fd70
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.0042fd70
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x238], str.CodecID
push eax
lea ecx, [ebp - 0x234]
call fcn.0042fc50
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x330]
call fcn.0056c2c0
lea eax, [ebp - 0x330]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x21c]
call fcn.0050b9e0
lea ecx, [ebp - 0x318]
call fcn.0042fd70
lea ecx, [ebp - 0x330]
call fcn.0042fd70
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.0042fd70
lea eax, [ebp - 0x294]
mov dword [ebp - 0x238], str.DeviceID
push eax
lea ecx, [ebp - 0x234]
call fcn.0042fc50
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x330]
call fcn.0056c2c0
lea eax, [ebp - 0x330]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x21c]
call fcn.0050b9e0
lea ecx, [ebp - 0x318]
call fcn.0042fd70
lea ecx, [ebp - 0x330]
call fcn.0042fd70
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.0042fd70
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x238], str.OSUserID
push eax
lea ecx, [ebp - 0x234]
call fcn.0042fc50
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x330]
call fcn.0056c2c0
lea eax, [ebp - 0x330]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x21c]
call fcn.0050b9e0
lea ecx, [ebp - 0x318]
call fcn.0042fd70
lea ecx, [ebp - 0x330]
call fcn.0042fd70
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.0042fd70
cmp dword [ebp - 0x254], 0
sete al
test al, al
jne 0x589f1e
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 0x2b8], 0xe4b16a34
mov dword [ebp - 0x2b4], 0x67d13381
mov word [ebp - 0x2b0], 0xca
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2e8]
push 9
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], 0xf
mov byte [ebp - 0x2e8], al
mov dword [ebp - 0x2bc], 0xf
call fcn.004585b0
xor esi, esi
mov eax, 0xf2b9d649
mov ecx, esi
mul esi
shr edx, 8
imul eax, edx, 0x10e
sub ecx, eax
mov al, byte [ecx + 0x75de58]
lea ecx, [ebp - 0x2e8]
xor al, byte [ebp + esi - 0x2b8]
movzx eax, al
push eax
push 1
call fcn.00445910
inc esi
cmp esi, 9
jb 0x589e26
cmp dword [ebp - 0x2d4], 0x10
lea ecx, [ebp - 0x2e8]
lea edx, [ebp - 0x234]
cmovae ecx, dword [ebp - 0x2e8]
call fcn.0050d0e0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x2d4]
cmp edx, 0x10
jb 0x589ebb
mov ecx, dword [ebp - 0x2e8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x589eb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x589f8a
push edx
push ecx
call fcn.0067d913
add esp, 8
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x300]
call fcn.0042fc50
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x2e8]
call fcn.0042fc50
lea eax, [ebp - 0x300]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x21c]
call fcn.0050b9e0
lea ecx, [ebp - 0x2e8]
call fcn.0042fd70
lea ecx, [ebp - 0x300]
call fcn.0042fd70
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.0042fd70
push dword [ebp - 0x2d0]
mov ecx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x21c]
push eax
call fcn.00589820
lea ecx, [ebp - 0x21c]
call fcn.004ba8f0
lea ecx, [ebp - 0x264]
call fcn.0042fd70
lea ecx, [ebp - 0x27c]
call fcn.0042fd70
lea ecx, [ebp - 0x294]
call fcn.0042fd70
lea ecx, [ebp - 0x2ac]
call fcn.0042fd70
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.0067d681
mov esp, ebp
pop ebp
ret 0x18
call fcn.00692c95
int3