Function at 0x442f20
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f7f2b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x130
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebx + 8]
cmp dword [0x181e2cc], 8
mov dword [ebp - 0x13c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x120], ecx
mov ecx, dword [eax + 0x858]
mov dword [ebp - 0x124], ecx
mov ecx, 0x181e2b8
cmovae ecx, dword [0x181e2b8]
add eax, 0x864
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x11c], eax
cmp dword [eax + 0x14], 8
jb 0x442fb9
mov eax, dword [eax]
mov dword [ebp - 0x11c], eax
cmp dword [0x181e1c4], 8
lea edi, [ebp - 0x118]
mov ecx, 0x32
mov esi, 0x8cf1e0
rep movsd dword es:[edi], dword [esi]
mov eax, 0x181e1b0
cmovae eax, dword [0x181e1b0]
cmp dword [0x181e2e4], 8
mov dword [ebp - 0x130], eax
mov eax, 0x181e2d0
cmovae eax, dword [0x181e2d0]
cmp dword [0x181e284], 8
mov dword [ebp - 0x134], eax
mov eax, 0x181e270
cmovae eax, dword [0x181e270]
xor ecx, ecx
cmp dword [0x1813edc], 2
mov dword [ebp - 0x138], eax
movsw word es:[edi], word [esi]
jl 0x443150
movaps xmm4, xmmword [0x8d1c50]
mov eax, 5
movaps xmm3, xmmword [0x8d1d00]
movaps xmm6, xmmword [0x8d1c90]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop
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 [0x8d1cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x118]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0x118], 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 [0x8d1cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x110]
pxor xmm1, xmm0
movq qword [ebp + ecx*2 - 0x110], xmm1
add ecx, 8
cmp ecx, 0x60
jl 0x443050
cmp ecx, 0x65
jge 0x44317b
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x39
sub edx, eax
add edx, 0x36
xor word [ebp + ecx*2 - 0x118], dx
inc ecx
cmp ecx, 0x65
jl 0x443150
push dword [ebp - 0x120]
mov esi, dword [ebp - 0x12c]
push dword [ebp - 0x124]
push dword [ebp - 0x128]
lea eax, [esi + 0x15c]
push eax
push dword [esi + 4]
lea eax, [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp - 0x130]
push dword [ebp - 0x134]
push dword [ebp - 0x138]
push dword [ebp - 0x13c]
push 0x8cef68
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040fa60
add esp, 0x34
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], esi
call fcn.00404170
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.004468c0
mov edx, eax
mov byte [ebp - 4], 2
mov ecx, dword [0x181e15c]
cmp dword [0x181e160], ecx
je 0x443232
mov dword [ecx], 0
cmp ecx, edx
je 0x443225
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [edx], 0
mov byte [ecx + 4], 1
add dword [0x181e15c], 8
jmp 0x443239
push edx
push ecx
call fcn.00425990
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x140]
test ecx, ecx
je 0x443265
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x443265
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x44325f
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x443263
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x44329b
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x443291
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4432f1
push edx
push ecx
call fcn.00479074
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x4432d1
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4432c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4432f6
push edx
push ecx
call fcn.00479074
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00478e38
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.006bd179
call fcn.006bd179
int3