Function at 0x436c60
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
push 0xffffffffffffffff
push 0x821f70
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x93bf44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x274], ecx
mov dword [ebp - 4], 0
mov esi, 4
cmp byte [0x8fee4f], 0
mov eax, dword [0x8fee48]
mov ecx, dword [0x1816094]
mov dword [ebp - 0x1c], eax
lea edi, [esi + 0x1b]
mov eax, dword [0x8fee4c]
mov dword [ebp - 0x18], eax
je 0x436e24
xor edx, edx
mov dword [ebp - 0x23c], edx
cmp ecx, 2
jl 0x436df0
movaps xmm2, xmmword [0x903710]
movaps xmm4, xmmword [0x9037a0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, esi
psrad xmm1, xmm5
movd xmm6, edi
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x903730]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x903720]
paddd xmm2, xmmword [0x903710]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x903780]
movd xmm0, dword [0x8fee48]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x903790]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x1c], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x903730]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x903780]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x903790]
movd xmm0, eax
pxor xmm1, xmm0
movd dword [ebp - 0x18], xmm1
jmp 0x436e24
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x23c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 0x23c], edx
cmp edx, 8
jl 0x436df0
lea edx, [ebx + 8]
lea ecx, [ebp - 0x38]
call fcn.00445890
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436e56
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.00406210
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xb0], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x436ee3
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x436ed9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4374e1
push edx
push ecx
call fcn.005c2556
add esp, 8
mov ax, word [0x8fee44]
xor edx, edx
movq xmm0, qword [0x8fee3c]
mov word [ebp - 0x3c], ax
mov al, byte [0x8fee46]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
movq qword [ebp - 0x44], xmm0
mov byte [ebp - 0x3a], al
mov dword [ebp - 0x23c], edx
nop dword [eax]
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x23c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x44], cl
inc edx
mov dword [ebp - 0x23c], edx
cmp edx, 0xb
jl 0x436f20
xor edx, edx
lea eax, [ebp - 0x44]
cmp dword [0x1816094], 2
lea edi, [ebp - 0x150]
mov ecx, 0x1d
mov dword [ebp - 0x23c], eax
mov esi, 0x8fedc8
mov dword [ebp - 0x238], edx
rep movsd dword es:[edi], dword [esi]
jl 0x4370d0
movaps xmm0, xmmword [0x903790]
mov eax, 4
movaps xmm4, xmmword [0x903710]
movaps xmm3, xmmword [0x9037a0]
movaps xmm6, xmmword [0x903730]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x270], xmm0
mov ecx, dword [ebp - 0x270]
movd xmm7, eax
nop
movd xmm0, edx
lea eax, [edx + 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
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
pand xmm1, xmmword [0x903780]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x150]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x150], 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
pand xmm1, xmmword [0x903780]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x14c]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x14c], xmm1
add edx, 8
cmp edx, 0x70
jl 0x436fc0
mov dword [ebp - 0x238], edx
cmp edx, 0x74
jge 0x437107
nop
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x238]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x150], cl
inc edx
mov dword [ebp - 0x238], edx
cmp edx, 0x74
jl 0x4370d0
lea eax, [ebp - 0x150]
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0xa8]
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00432460
mov byte [ebp - 4], 4
lea eax, [ebp - 0x248]
xorps xmm0, xmm0
mov byte [ebp - 0x231], 0
push eax
lea ecx, [ebp - 0x240]
movlpd qword [ebp - 0x288], xmm0
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x244], 0
call fcn.004447d0
mov eax, dword [ebp - 0x240]
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x78]
push eax
push ecx
lea ecx, [ebp - 0x250]
call fcn.004321b0
mov esi, eax
push dword [ebp - 0x274]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 5
call fcn.00405d70
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x78]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.00436ba0
lea ecx, [ebp - 0x231]
mov byte [ebp - 4], 7
push ecx
lea ecx, [ebp - 0x288]
mov edx, eax
push ecx
lea ecx, [ebp - 0x280]
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.00444800
add esp, 0x10
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x437220
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x437216
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4374e6
push edx
push ecx
call fcn.005c2556
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
push fcn.004040e0
push 1
push 0x18
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0xa
push eax
call fcn.005c2821
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x250]
mov esi, dword [ebp - 0x250]
push dword [esi + 4]
call fcn.00432410
mov eax, dword [ebp - 0x250]
push 0x40
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x250]
mov dword [eax], esi
mov eax, dword [ebp - 0x250]
mov dword [eax + 8], esi
push dword [ebp - 0x250]
mov dword [ebp - 0x24c], 0
call fcn.005c2556
add esp, 8
push fcn.00436bd0
push 2
push 0x30
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xd
push eax
call fcn.005c2821
cmp dword [ebp - 0x1d0], 0
jne 0x437475
mov eax, dword [ebp - 0x228]
add eax, 0xffffff38
cmp eax, 6
ja 0x437475
mov esi, dword [ebp - 0x214]
cmp esi, 0x80
jbe 0x437475
cmp dword [ebp - 0x210], 0x10
lea ecx, [ebp - 0x224]
push dword [ebp - 0x254]
cmovae ecx, dword [ebp - 0x224]
add ecx, esi
mov dword [ebp - 0x26c], 0
cmp dword [ebp - 0x210], 0x10
lea esi, [ebp - 0x224]
push ecx
cmovae esi, dword [ebp - 0x224]
lea ecx, [ebp - 0x26c]
push esi
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
call fcn.00409730
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x38]
mov edi, dword [ebp - 0x268]
push dword [ebp - 0x254]
mov esi, dword [ebp - 0x26c]
sub edi, esi
call fcn.00405d70
mov ax, word [0x8ffa0c]
xor edx, edx
mov word [ebp - 0x238], ax
mov al, byte [0x8ffa0e]
mov dword [ebp - 0x23c], 0
mov byte [ebp - 0x236], al
mov dword [ebp - 0x244], edx
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x244]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x238], cl
inc edx
mov dword [ebp - 0x244], edx
cmp edx, 3
jl 0x437385
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x238]
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push ecx
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.006dc53d
mov eax, dword [ebp - 0x23c]
add esp, 0xc
test eax, eax
jne 0x437414
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x437438
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43742e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4374eb
jmp 0x43742e
push eax
push edi
push 1
push esi
call fcn.006d7c55
push dword [ebp - 0x23c]
call fcn.006d799d
add esp, 0x14
jmp 0x4373e8
push edx
push ecx
call fcn.005c2556
add esp, 8
test esi, esi
je 0x43746c
mov ecx, dword [ebp - 0x264]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x437462
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4374eb
push ecx
push esi
call fcn.005c2556
add esp, 8
mov byte [ebp - 0x231], 1
jmp 0x43747c
mov byte [ebp - 0x231], 0
lea ecx, [ebp - 0x230]
call fcn.0042efd0
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x4374bd
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4374b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4374eb
push edx
push ecx
call fcn.005c2556
add esp, 8
mov al, byte [ebp - 0x231]
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.005c234a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.006d14a9
call fcn.006d14a9
call fcn.006d14a9
int3