Function at 0x439e60
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [0x9dd804]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x310], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebx + 0x14]
push esi
mov dword [ebp - 0x2e8], eax
mov esi, 0x40
mov eax, dword [ebx + 0x18]
push edi
mov dword [ebp - 0x2e0], eax
mov edi, 8
mov eax, dword [ebx + 0x24]
push ecx
mov dword [ebp - 0x30c], ecx
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 0x2b8], edi
call fcn.00447640
add esp, 4
sub eax, esi
je 0x439f76
sub eax, 0x260
je 0x439f4f
sub eax, 1
je 0x439f12
mov ecx, dword [ebp - 0x2ec]
xor eax, eax
mov dword [ecx], 0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00698575
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x2b0]
push eax
call fcn.0045b840
mov esi, 0x80
mov dword [ebp - 0x2e4], 0x43a7e0
mov edi, 0x10
mov dword [ebp - 0x2c0], 0x45bf40
mov ecx, 0x30
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 0x2b8], edi
jmp 0x439f9b
lea eax, [ebp - 0x2b0]
push eax
call fcn.0045a720
mov dword [ebp - 0x2e4], 0x43a6e0
mov ecx, 0x20
mov dword [ebp - 0x2c0], 0x45a780
jmp 0x439f9b
lea eax, [ebp - 0x2b0]
push eax
call fcn.00457cb0
mov dword [ebp - 0x2e4], 0x43a640
mov ecx, 0x14
mov dword [ebp - 0x2c0], 0x457cf0
mov edx, dword [ebx + 0x20]
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x2d8], ecx
add eax, esi
add edx, 0xc
add eax, edx
xor edi, edi
xor edx, edx
mov dword [ebp - 0x2d4], edi
div esi
xor edx, edx
mov dword [ebp - 0x2c4], edi
mov dword [ebp - 0x2c8], eax
add esp, 4
mov eax, dword [ebx + 0x1c]
sub eax, ecx
add eax, 0xd
mov dword [ebx + 0x1c], eax
div esi
mov dword [ebp - 0x318], eax
mov eax, dword [ebx + 0x1c]
add eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2d0], edx
xor edx, edx
div esi
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x2c8]
cmp eax, 6
jbe 0x43a015
lea edi, [eax - 6]
mov dword [ebp - 0x2d4], edi
imul edi, esi
mov dword [ebp - 0x2c4], edi
mov eax, dword [ebx + 0x1c]
add eax, esi
shl eax, 3
push esi
mov dword [ebp - 0x2c8], eax
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.0069a540
push dword [ebx + 0x28]
lea eax, [ebp - 0xd8]
push dword [ebp - 0x2dc]
push eax
call fcn.0069a6e0
movaps xmm2, xmmword [0x910ef0]
add esp, 0x18
xor eax, eax
nop dword [eax]
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax - 0xd8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0xd8], xmm1
movups xmm0, xmmword [ebp + eax - 0xc8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0xc8], xmm1
add eax, 0x20
cmp eax, esi
jb 0x43a060
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x2b0]
push eax
call dword [ebp - 0x2c0]
mov eax, dword [ebp - 0x2b8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0069a540
mov edx, dword [ebp - 0x2c8]
add esp, 0x14
mov ecx, dword [ebp - 0x2b8]
mov eax, edx
shr eax, 0x18
mov byte [ebp + ecx - 0x18], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + ecx - 0x17], al
mov eax, edx
shr eax, 8
mov byte [ebp + ecx - 0x16], al
mov byte [ebp + ecx - 0x15], dl
test edi, edi
je 0x43a188
mov ecx, dword [ebp - 0x2e8]
mov eax, dword [ecx + 8]
movq xmm0, qword [ecx]
mov dword [ebp - 0x1d0], eax
mov al, byte [ecx + 0xc]
mov byte [ebp - 0x1cc], al
lea eax, [esi - 0xd]
push eax
push dword [ebp - 0x2e0]
lea eax, [ebp - 0x1cb]
movq qword [ebp - 0x1d8], xmm0
push eax
call fcn.0069a6e0
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x2b0]
push eax
call dword [ebp - 0x2c0]
xor edx, edx
mov eax, edi
div esi
add esp, 0x14
cmp eax, 1
jbe 0x43a188
mov ecx, dword [ebp - 0x2e0]
lea edi, [eax - 1]
add ecx, 0xfffffff3
add esi, ecx
nop
lea eax, [ebp - 0x2b0]
push esi
push eax
call dword [ebp - 0x2c0]
add esi, dword [ebp - 0x2cc]
add esp, 8
sub edi, 1
jne 0x43a160
mov edi, dword [ebp - 0x2c4]
mov esi, dword [ebp - 0x2cc]
push 0x40
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.0069a540
mov ecx, dword [ebp - 0x2d4]
add esp, 0xc
lea eax, [ecx + 6]
mov dword [ebp - 0x308], eax
cmp ecx, eax
ja 0x43a42d
mov eax, dword [ebp - 0x2d0]
neg dword [ebp - 0x2d0]
lea edx, [eax + 1]
sar eax, 0x1f
mov dword [ebp - 0x2f8], eax
mov eax, edx
sar eax, 0x1f
mov dword [ebp - 0x2fc], edx
mov edx, esi
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x2b8]
sub edx, eax
sub eax, esi
mov dword [ebp - 0x304], edx
lea eax, [ebp + eax - 0x14]
mov dword [ebp - 0x2f4], eax
mov eax, ecx
xor esi, esi
xor eax, dword [ebp - 0x318]
lea edx, [eax - 1]
not eax
sar eax, 0x1f
sar edx, 0x1f
and dl, al
mov eax, ecx
xor eax, dword [ebp - 0x31c]
mov dword [ebp - 0x2f0], edx
lea ecx, [eax - 1]
not eax
sar ecx, 0x1f
sar eax, 0x1f
and cl, al
movsx eax, cl
mov dword [ebp - 0x2c8], ecx
not cl
or cl, dl
mov byte [ebp - 0x2b9], cl
mov ecx, dword [ebp - 0x2d0]
movd xmm0, eax
mov eax, dword [ebp - 0x2f4]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x340], xmm0
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 0x2c4], eax
nop dword [eax]
mov byte [ebp - 0x2b1], 0
cmp edi, 0xd
jae 0x43a287
mov eax, dword [ebp - 0x2e8]
mov al, byte [eax + edi]
jmp 0x43a29b
mov eax, dword [ebx + 0x20]
add eax, 0xd
cmp edi, eax
jae 0x43a2a1
mov eax, dword [ebp - 0x2e0]
mov al, byte [eax + edi - 0xd]
mov byte [ebp - 0x2b1], al
movzx eax, byte [ebp - 0x2f8]
mov edx, esi
sar edx, 0x1f
inc edi
xor al, dl
sar ecx, 0x1f
xor cl, dl
or cl, al
mov eax, dword [ebp - 0x2f0]
xor cl, dl
movzx eax, al
not cl
movzx ecx, cl
and ecx, eax
mov eax, esi
sub eax, dword [ebp - 0x2fc]
sar eax, 0x1f
xor al, dl
mov dword [ebp - 0x2b8], eax
movzx eax, byte [ebp - 0x300]
xor al, dl
or byte [ebp - 0x2b8], al
mov al, cl
xor byte [ebp - 0x2b8], dl
not al
mov edx, dword [ebp - 0x2b8]
and cl, 0x80
and al, byte [ebp - 0x2b1]
not dl
and dl, byte [ebp - 0x2f0]
or al, cl
not dl
and dl, al
and dl, byte [ebp - 0x2b9]
mov dword [ebp - 0x2b8], edx
cmp esi, dword [ebp - 0x304]
jb 0x43a345
mov eax, dword [ebp - 0x2c8]
movzx ecx, al
mov eax, dword [ebp - 0x2c4]
mov dl, cl
not dl
and dl, byte [ebp - 0x2b8]
mov al, byte [eax]
and al, cl
or dl, al
mov ecx, dword [ebp - 0x2dc]
inc dword [ebp - 0x2c4]
inc ecx
mov byte [ebp + esi - 0x158], dl
inc esi
mov dword [ebp - 0x2dc], ecx
cmp esi, dword [ebp - 0x2cc]
jb 0x43a270
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x2b0]
push eax
call dword [ebp - 0x2c0]
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x2b0]
push eax
call dword [ebp - 0x2e4]
mov esi, dword [ebp - 0x2d8]
add esp, 0x10
xor eax, eax
cmp esi, 0x20
jb 0x43a3eb
movaps xmm2, xmmword [ebp - 0x340]
mov ecx, esi
and ecx, 0xffffffe0
movups xmm0, xmmword [ebp + eax - 0x58]
movups xmm1, xmmword [ebp + eax - 0x158]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [ebp + eax - 0x58], xmm1
movups xmm1, xmmword [ebp + eax - 0x148]
movups xmm0, xmmword [ebp + eax - 0x48]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [ebp + eax - 0x48], xmm1
add eax, 0x20
cmp eax, ecx
jb 0x43a3b0
cmp eax, esi
jae 0x43a412
mov edx, dword [ebp - 0x2c8]
nop word [eax + eax]
mov cl, byte [ebp + eax - 0x158]
and cl, dl
or byte [ebp + eax - 0x58], cl
inc eax
cmp eax, esi
jb 0x43a400
mov ecx, dword [ebp - 0x2d4]
inc ecx
mov dword [ebp - 0x2d4], ecx
cmp ecx, dword [ebp - 0x308]
jbe 0x43a1f4
jmp 0x43a433
mov esi, dword [ebp - 0x2d8]
lea eax, [ebp - 0x32c]
push eax
call fcn.00435120
push 0
push dword [ebp - 0x30c]
lea eax, [ebp - 0x32c]
push eax
call fcn.004411e0
add esp, 0x10
test eax, eax
jne 0x43a47e
lea eax, [ebp - 0x32c]
push eax
call fcn.00441280
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00698575
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movaps xmm2, xmmword [0x910f10]
xor eax, eax
mov ecx, dword [ebp - 0x2cc]
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0xd8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0xd8], xmm1
movups xmm0, xmmword [ebp + eax - 0xc8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0xc8], xmm1
add eax, 0x20
cmp eax, ecx
jb 0x43a490
push ecx
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x32c]
push eax
call fcn.00441260
push esi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x32c]
push eax
call fcn.00441260
lea eax, [ebp - 0x314]
push eax
push dword [ebp - 0x310]
lea eax, [ebp - 0x32c]
push eax
call fcn.00441120
mov ecx, dword [ebp - 0x2ec]
mov eax, dword [ebp - 0x314]
mov dword [ecx], eax
lea eax, [ebp - 0x32c]
push eax
call fcn.00441280
mov ecx, dword [ebp - 4]
add esp, 0x28
xor ecx, ebp
mov eax, 1
pop edi
pop esi
call fcn.00698575
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret