Function at 0x437e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x822081
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x93bf44]
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 [0x181cdd4], 0
je 0x4384e0
cmp word [0x8ff4b2], 0
mov eax, dword [0x8ff4b0]
mov dword [ebp - 0x1d8], eax
je 0x437eca
xor esi, esi
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x1d8], cx
inc esi
cmp esi, 2
jl 0x437ea1
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x48]
push 0x181cd58
push eax
call fcn.0041ead0
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, 0x181ccc8
cmp dword [0x181ccdc], 8
push dword [0x181ccd8]
cmovae ecx, dword [0x181ccc8]
push ecx
mov ecx, eax
call fcn.00423180
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, 0x8ff8f0
cmovae eax, dword [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1dc], eax
movsw word es:[edi], word [esi]
mov edi, dword [0x1816094]
xor esi, esi
cmp edi, 2
jl 0x4380a0
movaps xmm4, xmmword [0x903710]
mov eax, 4
movaps xmm3, xmmword [0x9037a0]
movaps xmm6, xmmword [0x903730]
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
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
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 [0x903770]
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
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 [0x903770]
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 0x437fa0
cmp esi, 0x73
jge 0x4380c9
nop dword [eax + eax]
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x1d4], cx
inc esi
cmp esi, 0x73
jl 0x4380a0
push dword [ebp - 0x1dc]
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00415a20
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x438120
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438116
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43885b
push edx
push ecx
call fcn.005c2556
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 0x438172
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438168
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438860
push edx
push ecx
call fcn.005c2556
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x1dc], esp
mov word [ebp - 0x48], ax
mov ecx, esp
lea eax, [ebp - 0x60]
mov dword [ebp - 0x34], 7
push eax
call fcn.00404770
mov byte [ebp - 4], 5
xor esi, esi
mov eax, dword [0x8ff7f4]
mov dword [ebp - 0x18], eax
mov ax, word [0x8ff7f8]
mov word [ebp - 0x14], ax
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x18], cx
inc esi
cmp esi, 3
jl 0x4381b2
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 0x4381f6
sub ecx, esi
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0040ea60
mov byte [ebp - 4], 4
call fcn.00437500
movups xmm0, xmmword [0x8ff8a0]
add esp, 0x30
xor esi, esi
movups xmmword [ebp - 0xe0], xmm0
movups xmm0, xmmword [0x8ff8b0]
movups xmmword [ebp - 0xd0], xmm0
movups xmm0, xmmword [0x8ff8c0]
movups xmmword [ebp - 0xc0], xmm0
movups xmm0, xmmword [0x8ff8d0]
movups xmmword [ebp - 0xb0], xmm0
movups xmm0, xmmword [0x8ff8e0]
movups xmmword [ebp - 0xa0], xmm0
cmp edi, 2
jl 0x438395
movaps xmm4, xmmword [0x903710]
mov eax, 4
movaps xmm3, xmmword [0x9037a0]
xor ecx, ecx
movaps xmm6, xmmword [0x903730]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
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 [0x903770]
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
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 [0x903770]
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 0x4382a0
jmp 0x4383be
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0xe0], cx
inc esi
cmp esi, 0x28
jl 0x438395
sub esp, 0x18
lea ecx, [ebp - 0xe0]
mov edx, esp
mov dword [ebp - 0x1dc], esp
xor eax, eax
lea esi, [ecx + 2]
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 0x4383e5
sub ecx, esi
lea eax, [ebp - 0xe0]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0040ea60
mov byte [ebp - 4], 6
xor esi, esi
mov eax, dword [0x8ff7f4]
mov dword [ebp - 0x18], eax
mov ax, word [0x8ff7f8]
mov word [ebp - 0x14], ax
nop dword [eax + eax]
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x18], cx
inc esi
cmp esi, 3
jl 0x438420
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 0x438464
sub ecx, esi
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0040ea60
mov byte [ebp - 4], 4
call fcn.00437500
mov dword [ebp - 4], 0xffffffff
add esp, 0x30
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x4384cc
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4384c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438865
push edx
push ecx
call fcn.005c2556
add esp, 8
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov eax, dword [0x181cbec]
cmp dword [eax + 0x77c], 0
jne 0x438840
mov ax, word [0x8ff4ac]
xor edx, edx
mov word [ebp - 0x1d8], ax
mov al, byte [0x8ff4ae]
mov byte [ebp - 0x1d6], al
mov dword [ebp - 0x1dc], edx
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1dc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x1d8], cl
inc edx
mov dword [ebp - 0x1dc], edx
cmp edx, 3
jl 0x438512
lea edx, [ebp - 0x1d8]
call fcn.00405430
test al, al
je 0x438840
cmp word [0x8ff4b2], 0
mov eax, dword [0x8ff4b0]
mov dword [ebp - 0x1d8], eax
je 0x43859c
xor esi, esi
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x1d8], cx
inc esi
cmp esi, 2
jl 0x438573
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x48]
push 0x181cd58
push eax
call fcn.0041ead0
push 0x181ccf8
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 7
push eax
call fcn.00445830
add esp, 0x18
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x43860b
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438601
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43886a
push edx
push ecx
call fcn.005c2556
add esp, 8
movups xmm0, xmmword [0x8ff824]
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 - 0x1dc], eax
mov eax, dword [0x8ff834]
mov dword [ebp - 0x68], eax
mov ax, word [0x8ff838]
mov dword [ebp - 0x34], 7
movups xmmword [ebp - 0x78], xmm0
mov word [ebp - 0x64], ax
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0x78], cx
inc esi
cmp esi, 0xb
jl 0x438655
mov ecx, 0x17
lea edi, [ebp - 0xec]
mov esi, 0x8ff840
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [0x1816094], 2
jl 0x4387c0
movaps xmm4, xmmword [0x903710]
mov eax, 4
movaps xmm3, xmmword [0x9037a0]
movaps xmm6, xmmword [0x903730]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
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 [0x903770]
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
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 [0x903770]
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 0x4386c3
cmp esi, 0x2e
jge 0x4387e9
nop dword [eax + eax]
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
sub ecx, eax
add ecx, 0x33
xor word [ebp + esi*2 - 0xec], cx
inc esi
cmp esi, 0x2e
jl 0x4387c0
push ecx
push dword [ebp - 0x1dc]
lea eax, [ebp - 0x78]
mov ecx, 0x80000001
push eax
lea edx, [ebp - 0xec]
call fcn.0041bc60
mov edx, dword [ebp - 0x7c]
add esp, 0xc
cmp edx, 8
jb 0x438840
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438836
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43886f
push edx
push ecx
call fcn.005c2556
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.005c234a
mov esp, ebp
pop ebp
ret
call fcn.006d14a9
call fcn.006d14a9
call fcn.006d14a9
call fcn.006d14a9
call fcn.006d14a9
int3