Function at 0x441030
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 0x7f9107
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f0
mov eax, dword [0x90df34]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
lea eax, [edx + 0x864]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x1ec], eax
jb 0x4410be
mov eax, dword [eax]
mov dword [ebp - 0x1ec], eax
cmp dword [0x1808dcc], 8
mov eax, 0x1808db8
cmovae eax, dword [0x1808db8]
cmp dword [edx + 0x800], 8
mov dword [ebp - 0x1f4], eax
lea eax, [edx + 0x7ec]
mov dword [ebp - 0x1f0], eax
jb 0x4410f4
mov eax, dword [eax]
mov dword [ebp - 0x1f0], eax
mov ecx, 0x17
lea edi, [ebp - 0x110]
mov esi, 0x8d4360
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
cmp dword [0x18021f4], 2
jl 0x441240
movaps xmm4, xmmword [0x8d6c60]
mov eax, 5
movaps xmm3, xmmword [0x8d6d00]
movaps xmm6, xmmword [0x8d6c90]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop
movd xmm0, esi
lea eax, [esi + 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 [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x110]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x110], 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 [0x8d6cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x108]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x108], xmm1
add esi, 8
cmp esi, 0x28
jl 0x441140
cmp esi, 0x2f
jge 0x441271
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x110], cx
inc esi
cmp esi, 0x2f
jl 0x441240
mov edx, dword [ebp - 0x1f8]
lea eax, [edx + 0x11c]
push eax
lea eax, [edx + 0x15c]
push eax
push dword [ebp - 0x1ec]
lea eax, [ebp - 0x110]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f0]
push 0x8d3dd8
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00413dc0
add esp, 0x20
xorps xmm0, xmm0
mov dword [ebp - 0xe8], 0
xor eax, eax
movlpd qword [ebp - 0x100], xmm0
movaps xmm0, xmmword [0x8d6ca0]
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
movups xmmword [ebp - 0xc8], xmm0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
push ecx
cmovae eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x100]
push eax
call fcn.00456990
xor edi, edi
lea esi, [edi + 1]
cmp dword [ebp - 0x88], edi
je 0x441762
push edi
lea ecx, [ebp - 0x50]
call fcn.0045fcf0
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 3
call fcn.00465aa0
push esi
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00467740
lea ecx, [ebp - 0x50]
call fcn.004628e0
test al, al
je 0x441732
push 0x8d3e24
lea ecx, [ebp - 0x50]
call fcn.00460570
lea ecx, [ebp - 0x68]
push ecx
mov ecx, eax
call fcn.00461950
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.00450ec0
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 8
jb 0x4413a3
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4413c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.0040d850
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x44141d
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441413
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44197d
push edx
push ecx
call fcn.0059a5db
add esp, 8
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x441472
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x441468
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441982
push edx
push ecx
call fcn.0059a5db
add esp, 8
push 0x8d3e2c
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.00460570
lea ecx, [ebp - 0x170]
push ecx
mov ecx, eax
call fcn.00461950
cmp dword [eax + 0x14], 0x10
jb 0x4414a7
mov eax, dword [eax]
push eax
call fcn.006ae215
mov edx, dword [ebp - 0x15c]
add esp, 4
mov esi, eax
mov dword [ebp - 0x1f4], esi
cmp edx, 0x10
jb 0x4414f2
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4414e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441987
push edx
push ecx
call fcn.0059a5db
add esp, 8
cmp dword [ebp - 0x28], 0
je 0x4415ba
mov esi, dword [ebp - 0x1fc]
xor edi, edi
mov dword [ebp - 0x1f0], 1
nop
mov eax, dword [esi]
xorps xmm0, xmm0
mov dword [esi + 4], eax
xor eax, eax
movlpd qword [ebp - 0x158], xmm0
movaps xmm0, xmmword [0x8d6ca0]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
movups xmmword [ebp - 0x120], xmm0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x158]
push esi
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.004560c0
test eax, eax
je 0x44158e
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp eax, 0x400
ja 0x4415fb
push 0xc8
call dword [0x811368]
lea ecx, [ebp - 0x158]
inc edi
call fcn.00456020
cmp edi, 3
jl 0x441510
mov esi, dword [ebp - 0x1f4]
mov edi, dword [ebp - 0x1f0]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x441732
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441728
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44198c
jmp 0x441728
mov ax, word [0x8d33b8]
movq xmm0, qword [0x8d33b0]
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x18], ax
test ah, ah
je 0x44165a
xor edx, edx
mov dword [ebp - 0x1ec], edx
nop
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x1ec]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1ec]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x20], cl
inc edx
mov dword [ebp - 0x1ec], edx
cmp edx, 0xa
jl 0x441620
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x68]
call fcn.00405c70
mov edx, esi
lea ecx, [ebp - 0x68]
call fcn.00413af0
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x4416a4
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44169a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441991
push edx
push ecx
call fcn.0059a5db
add esp, 8
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push 0
sub eax, ecx
push eax
push ecx
call fcn.005b7b7d
add esp, 0xc
lea ecx, [ebp - 0x158]
call fcn.00456020
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x4416fc
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4416f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441996
push edx
push ecx
call fcn.0059a5db
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.0043dcc0
lea ecx, [ebp - 0x50]
call fcn.004600c0
jmp 0x4418c9
push edx
push ecx
call fcn.0059a5db
add esp, 8
lea ecx, [ebp - 0x1e8]
call fcn.0043dcc0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.004600c0
test edi, edi
je 0x441762
mov eax, dword [ebp - 0x1f8]
cmp dword [eax + 0x7b0], 0
je 0x441762
mov dword [eax + 0x7b0], esi
push 4
call fcn.005b7b70
add esp, 4
push 0x8d2730
call fcn.005b7b27
add esp, 4
push 0x8d3e38
push 0x70
call fcn.005b31a0
push eax
call dword [0x811620]
mov esi, eax
test esi, esi
je 0x4418c9
push esi
call fcn.005b31a0
push eax
call dword [0x811618]
mov edi, eax
test edi, edi
je 0x4418c9
push esi
call fcn.005b31a0
push eax
call dword [0x811610]
mov esi, eax
test esi, esi
je 0x4418c9
push edi
call dword [0x8113e0]
push dword [ebp - 0x1f4]
lea ecx, [eax + esi]
mov esi, dword [ebp - 0x1fc]
push ecx
push eax
mov ecx, esi
push dword [esi + 4]
call fcn.00406960
mov ax, word [0x8d33b8]
movq xmm0, qword [0x8d33b0]
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x18], ax
test ah, ah
je 0x44184a
xor edx, edx
mov dword [ebp - 0x1ec], edx
nop dword [eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x1ec]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1ec]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x20], cl
inc edx
mov dword [ebp - 0x1ec], edx
cmp edx, 0xa
jl 0x441810
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x50], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x441862
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00405b40
mov edx, esi
lea ecx, [ebp - 0x50]
call fcn.00413af0
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x4418b6
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4418ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44199b
push edx
push ecx
call fcn.0059a5db
add esp, 8
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push 0
sub eax, ecx
push eax
push ecx
call fcn.005b7b7d
add esp, 0xc
lea ecx, [ebp - 0x100]
call fcn.00456020
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x44190e
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441904
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4419a0
push edx
push ecx
call fcn.0059a5db
add esp, 8
mov edx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
cmp edx, 0x10
jb 0x441958
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44194e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4419a5
push edx
push ecx
call fcn.0059a5db
add esp, 8
mov eax, 1
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.0059a3cf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
call fcn.006a7c79
int3