Function at 0x64d200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8956
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
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
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
call fcn.00451b60
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
cmp eax, edx
je 0x64d259
mov ecx, dword [eax]
cmp dword [ecx + 8], 2
je 0x64d255
add eax, 8
cmp eax, edx
jne 0x64d246
cmp eax, edx
jne 0x64d25f
xor edx, edx
xor esi, esi
jmp 0x64d26f
mov esi, dword [eax + 4]
test esi, esi
je 0x64d26d
lock inc dword [esi + 4]
mov esi, dword [eax + 4]
mov edx, dword [eax]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
test edx, edx
je 0x64d554
mov dword [ebp - 0x70], 9
xor ecx, ecx
mov dword [ebp - 0x6c], 0xda00f5
mov dword [ebp - 0x68], 0xc900d9
mov dword [ebp - 0x64], 0xdd00cb
mov dword [ebp - 0x60], 0xda0081
mov dword [ebp - 0x5c], 0xb200c2
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x6c], ax
inc ecx
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x64d2b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x6c], cx
lea eax, [edx + 0x84]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00404120
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x9c]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x7c]
call fcn.00403b80
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 7
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x55], al
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00404220
lea ecx, [ebp - 0x7c]
call fcn.00404490
cmp byte [ebp - 0x55], 0
je 0x64d54c
xorps xmm0, xmm0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
call fcn.00404120
mov byte [ebp - 4], 9
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.0064aa50
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.00648de0
mov byte [ebp - 4], 0xb
mov eax, 0x12
mov dword [ebp - 0xb0], eax
xor ecx, ecx
mov dword [ebp - 0xac], 0xda00c8
mov dword [ebp - 0xa8], 0x8200db
mov dword [ebp - 0xa4], 0xde00d8
mov dword [ebp - 0xa0], 0xd100cb
mov dword [ebp - 0x9c], 0xd700c5
mov dword [ebp - 0x98], 0xd1009d
mov dword [ebp - 0x94], 0xd700db
mov dword [ebp - 0x90], 0xd400d5
mov dword [ebp - 0x8c], 0xde00dc
mov dword [ebp - 0x88], 0xbb
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xac], ax
inc ecx
mov eax, dword [ebp - 0xb0]
cmp ecx, eax
jb 0x64d420
xor ecx, ecx
mov dword [ebp - 0x5c], 7
mov word [ebp + eax*2 - 0xac], cx
xor eax, eax
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0xac]
mov word [ebp - 0x70], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x64d460
sub ecx, edx
lea eax, [ebp - 0xac]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.004044f0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.0064a560
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x70]
cmp eax, dword [ebp - 0x24]
setne byte [ebp - 0x55]
call fcn.00404490
cmp byte [ebp - 0x55], 0
je 0x64d544
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], 0x12
mov dword [ebp - 0x80], 0xda00c8
mov dword [ebp - 0x7c], 0x8200db
mov dword [ebp - 0x78], 0xde00d8
mov dword [ebp - 0x74], 0xd100cb
mov dword [ebp - 0x70], 0xd700c5
mov dword [ebp - 0x6c], 0xd1009d
mov dword [ebp - 0x68], 0xd700db
mov dword [ebp - 0x64], 0xd400d5
mov dword [ebp - 0x60], 0xde00dc
mov dword [ebp - 0x5c], 0xbb
call fcn.00403e20
push eax
lea ecx, [ebp - 0x9c]
call fcn.004040b0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x3c]
call fcn.00649b40
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0x55], al
call fcn.00404490
cmp byte [ebp - 0x55], 0
jne 0x64d544
mov byte [edi + 0xc], 1
lea ecx, [ebp - 0x3c]
call fcn.00648d60
lea ecx, [ebp - 0x54]
call fcn.00404490
mov dword [ebp - 4], 0xd
test esi, esi
je 0x64d580
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x64d580
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x64d580
mov eax, dword [esi]
mov ecx, esi
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