Function at 0x47b6f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8264db
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x93cf44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x181dbec]
xor edx, edx
lea ecx, [ecx + 0x1a8]
call fcn.0041c490
mov esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00492962
lea ecx, [esi*2 + 2]
mov edi, eax
push ecx
push 0
push edi
mov dword [ebp - 0xb8], edi
call fcn.006d0040
mov ecx, dword [0x181dbec]
add esp, 0x10
add ecx, 0x1a8
mov edx, edi
call fcn.0041c490
mov ecx, 0x17
lea edi, [ebp - 0xac]
mov esi, 0x902b68
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [0x1817094], 2
jl 0x47b8c1
movaps xmm4, xmmword [0x9046b0]
mov eax, 5
movaps xmm3, xmmword [0x904770]
movaps xmm6, xmmword [0x9046e0]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0xac]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0xac], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0xa4]
pxor xmm1, xmm0
movq qword [ebp + ecx*2 - 0xa4], xmm1
add ecx, 8
cmp ecx, 0x28
jl 0x47b7c1
cmp ecx, 0x2e
jge 0x47b8f5
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
shl edx, 3
sub eax, edx
add eax, 0x35
xor word [ebp + ecx*2 - 0xac], ax
inc ecx
cmp ecx, 0x2e
jl 0x47b8c1
mov eax, dword [0x902bc4]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov ax, word [0x902bc8]
mov word [ebp - 0x14], ax
mov al, byte [0x902bca]
mov byte [ebp - 0x12], al
mov dword [ebp - 0xb0], ecx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0xb0]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0xb0]
add al, 0x35
xor byte [ebp + ecx - 0x18], al
inc ecx
mov dword [ebp - 0xb0], ecx
cmp ecx, 7
jl 0x47b917
mov eax, dword [0x902bcc]
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov ax, word [0x902bd0]
mov word [ebp - 0x1c], ax
mov al, byte [0x902bd2]
mov byte [ebp - 0x1a], al
mov dword [ebp - 0xb0], ecx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0xb0]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0xb0]
add al, 0x35
xor byte [ebp + ecx - 0x20], al
inc ecx
mov dword [ebp - 0xb0], ecx
cmp ecx, 7
jl 0x47b976
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0046dfe0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
mov edx, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x38]
push 2
push 0x902ac0
push ecx
call fcn.0041f2f0
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0xb8]
mov edx, eax
lea edi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x47ba00
sub edx, edi
lea ecx, [ebp - 0x38]
sar edx, 1
push edx
push eax
push 2
push esi
call fcn.00421250
lea ecx, [ebp - 0x38]
cmp ecx, eax
je 0x47ba38
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x47ba2e
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.0040eb10
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404820
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0047c970
mov edx, eax
mov byte [ebp - 4], 2
mov ecx, dword [0x181dc30]
cmp dword [0x181dc34], ecx
je 0x47ba8d
mov dword [ecx], 0
cmp ecx, edx
je 0x47ba80
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [edx], 0
mov byte [ecx + 4], 1
add dword [0x181dc30], 8
jmp 0x47ba94
push edx
push ecx
call fcn.00432b00
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x47bac0
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x47bac0
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x47baba
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x47babe
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x47baf6
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47baec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bb49
push edx
push ecx
call fcn.005c4046
add esp, 8
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x47bb2c
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47bb22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bb4e
push edx
push ecx
call fcn.005c4046
add esp, 8
xor eax, eax
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.005c3e3a
mov esp, ebp
pop ebp
ret
call fcn.006d2f99
call fcn.006d2f99
int3