Function at 0x4381f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x823b71
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
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
cmp dword [0x181ddd4], 0
je 0x4388c1
cmp word [0x9004b2], 0
mov eax, dword [0x9004b0]
mov dword [ebp - 0x1dc], eax
je 0x438275
xor esi, esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0x1dc], ax
inc esi
cmp esi, 2
jl 0x438241
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x48]
push 0x181dd58
push eax
call fcn.0041ebf0
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, 0x181dcc8
cmp dword [0x181dcdc], 8
push dword [0x181dcd8]
cmovae ecx, dword [0x181dcc8]
push ecx
mov ecx, eax
call fcn.004232a0
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 0x1c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x20], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 1
lea edi, [ebp - 0x1d4]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov ecx, 0x39
mov esi, 0x9008f0
cmovae eax, dword [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1d8], eax
movsw word es:[edi], word [esi]
mov edi, dword [0x1817094]
xor esi, esi
cmp edi, 2
jl 0x438450
movaps xmm4, xmmword [0x9046b0]
mov eax, 5
movaps xmm3, xmmword [0x904770]
movaps xmm6, xmmword [0x9046e0]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop dword [eax + eax]
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 [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x1d4]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x1d4], 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 + esi*2 - 0x1cc]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x1cc], xmm1
add esi, 8
cmp esi, 0x70
jl 0x438350
cmp esi, 0x73
jge 0x438484
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0x1d4], ax
inc esi
cmp esi, 0x73
jl 0x438450
push dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00415ad0
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4384db
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4384d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438c76
push edx
push ecx
call fcn.005c4046
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x43852d
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438523
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438c7b
push edx
push ecx
call fcn.005c4046
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x1d8], esp
mov word [ebp - 0x48], ax
mov ecx, esp
lea eax, [ebp - 0x60]
mov dword [ebp - 0x34], 7
push eax
call fcn.00404820
mov byte [ebp - 4], 5
xor esi, esi
mov eax, dword [0x9007f4]
mov dword [ebp - 0x18], eax
mov ax, word [0x9007f8]
mov word [ebp - 0x14], ax
nop dword [eax]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0x18], ax
inc esi
cmp esi, 3
jl 0x438570
sub esp, 0x18
lea ecx, [ebp - 0x18]
mov edx, esp
lea esi, [ecx + 2]
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4385c0
sub ecx, esi
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0040eb10
mov byte [ebp - 4], 4
call fcn.00437850
movups xmm0, xmmword [0x9008a0]
add esp, 0x30
xor esi, esi
movups xmmword [ebp - 0xe0], xmm0
movups xmm0, xmmword [0x9008b0]
movups xmmword [ebp - 0xd0], xmm0
movups xmm0, xmmword [0x9008c0]
movups xmmword [ebp - 0xc0], xmm0
movups xmm0, xmmword [0x9008d0]
movups xmmword [ebp - 0xb0], xmm0
movups xmm0, xmmword [0x9008e0]
movups xmmword [ebp - 0xa0], xmm0
cmp edi, 2
jl 0x438760
movaps xmm4, xmmword [0x9046b0]
mov eax, 5
movaps xmm3, xmmword [0x904770]
xor ecx, ecx
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 - 0xe0]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0xe0], 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 - 0xd8]
pxor xmm1, xmm0
movq qword [ebp + ecx*2 - 0xd8], xmm1
add ecx, 8
cmp ecx, 0x28
jl 0x438661
jmp 0x438794
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0xe0], ax
inc esi
cmp esi, 0x28
jl 0x438760
sub esp, 0x18
lea ecx, [ebp - 0xe0]
mov edx, esp
mov dword [ebp - 0x1d8], esp
xor eax, eax
lea esi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4387c0
sub ecx, esi
lea eax, [ebp - 0xe0]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0040eb10
mov byte [ebp - 4], 6
xor esi, esi
mov eax, dword [0x9007f4]
mov dword [ebp - 0x18], eax
mov ax, word [0x9007f8]
mov word [ebp - 0x14], ax
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0x18], ax
inc esi
cmp esi, 3
jl 0x4387f6
sub esp, 0x18
lea ecx, [ebp - 0x18]
mov edx, esp
lea esi, [ecx + 2]
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438845
sub ecx, esi
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0040eb10
mov byte [ebp - 4], 4
call fcn.00437850
mov dword [ebp - 4], 0xffffffff
add esp, 0x30
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x4388ad
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4388a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438c80
push edx
push ecx
call fcn.005c4046
add esp, 8
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov eax, dword [0x181dbec]
cmp dword [eax + 0x77c], 0
jne 0x438c5b
mov ax, word [0x9004ac]
xor ecx, ecx
mov word [ebp - 0x1dc], ax
mov al, byte [0x9004ae]
mov byte [ebp - 0x1da], al
mov dword [ebp - 0x1d8], 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 - 0x1d8]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0x1d8]
add al, 0x35
xor byte [ebp + ecx - 0x1dc], al
inc ecx
mov dword [ebp - 0x1d8], ecx
cmp ecx, 3
jl 0x4388f3
lea edx, [ebp - 0x1dc]
call fcn.004054e0
test al, al
je 0x438c5b
cmp word [0x9004b2], 0
mov eax, dword [0x9004b0]
mov dword [ebp - 0x1d8], eax
je 0x438994
xor esi, esi
nop dword [eax]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0x1d8], ax
inc esi
cmp esi, 2
jl 0x438960
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x48]
push 0x181dd58
push eax
call fcn.0041ebf0
push 0x181dcf8
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 7
push eax
call fcn.00446350
add esp, 0x18
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x438a03
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4389f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438c85
push edx
push ecx
call fcn.005c4046
add esp, 8
movups xmm0, xmmword [0x900824]
xor eax, eax
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x7c], 8
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x90]
cmovae eax, dword [ebp - 0x90]
xor esi, esi
mov dword [ebp - 0x1d8], eax
mov eax, dword [0x900834]
mov dword [ebp - 0x68], eax
mov ax, word [0x900838]
mov dword [ebp - 0x34], 7
movups xmmword [ebp - 0x78], xmm0
mov word [ebp - 0x64], ax
nop dword [eax]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0x78], ax
inc esi
cmp esi, 0xb
jl 0x438a50
mov ecx, 0x17
lea edi, [ebp - 0xec]
mov esi, 0x900840
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [0x1817094], 2
jl 0x438bd0
movaps xmm4, xmmword [0x9046b0]
mov eax, 5
movaps xmm3, xmmword [0x904770]
movaps xmm6, xmmword [0x9046e0]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop dword [eax]
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 [0x904710]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0xec]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0xec], 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 + esi*2 - 0xe4]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0xe4], xmm1
add esi, 8
cmp esi, 0x28
jl 0x438ad0
cmp esi, 0x2e
jge 0x438c04
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0xec], ax
inc esi
cmp esi, 0x2e
jl 0x438bd0
push ecx
push dword [ebp - 0x1d8]
lea eax, [ebp - 0x78]
mov ecx, 0x80000001
push eax
lea edx, [ebp - 0xec]
call fcn.0041bd50
mov edx, dword [ebp - 0x7c]
add esp, 0xc
cmp edx, 8
jb 0x438c5b
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438c51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438c8a
push edx
push ecx
call fcn.005c4046
add esp, 8
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
call fcn.006d2f99
call fcn.006d2f99
call fcn.006d2f99
int3