Function at 0x430040
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 0x7f7850
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d8
mov eax, dword [0x90cf34]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1e0], edi
mov eax, dword [edi + 0x48]
call eax
mov esi, eax
mov edx, esi
lea eax, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x430095
sub edx, eax
lea ecx, [edi + 0x864]
sar edx, 1
push edx
push esi
call fcn.0040d800
mov eax, dword [edi + 0x4c]
push esi
call eax
mov ecx, edi
call fcn.00433560
mov eax, dword [edi + 0x50]
call eax
mov esi, dword [0x18011f4]
test eax, eax
mov edi, 1
setne al
cmp byte [0x8d3ffb], 0
mov byte [ebp - 0x1e4], al
mov eax, dword [0x8d3ff4]
mov dword [ebp - 0x1c], eax
lea ecx, [edi + 0x1e]
mov eax, dword [0x8d3ff8]
mov dword [ebp - 0x18], eax
je 0x430238
xor edx, edx
mov dword [ebp - 0x1dc], edx
cmp esi, 2
jl 0x430205
movaps xmm2, xmmword [0x8d5c60]
movaps xmm4, xmmword [0x8d5cd0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, edi
psrad xmm1, xmm5
movd xmm6, ecx
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d5c70]
paddd xmm2, xmmword [0x8d5c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
movd xmm0, dword [0x8d3ff4]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x8d5ce0]
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 [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x8d5ce0]
movd xmm0, eax
pxor xmm1, xmm0
movd dword [ebp - 0x18], xmm1
jmp 0x430238
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1dc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x32
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 0x1dc], edx
cmp edx, 8
jl 0x430205
push dword [ebp - 0x1e4]
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00443f70
cmp byte [0x8d3ffb], 0
mov eax, dword [0x8d3ff4]
mov ecx, dword [0x8d3ff8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
je 0x4303b3
xor edx, edx
mov dword [ebp - 0x1dc], edx
cmp esi, 2
jl 0x430380
movaps xmm2, xmmword [0x8d5c60]
mov eax, 0x1f
movaps xmm5, xmmword [0x8d5cd0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
movd xmm6, edi
psrad xmm1, xmm6
movd xmm7, eax
mov eax, dword [0x8d5ce0]
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d5c70]
paddd xmm2, xmmword [0x8d5c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x8d3ff4]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x1c], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [ebp - 0x18], xmm1
jmp 0x4303b3
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1dc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x32
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 0x1dc], edx
cmp edx, 8
jl 0x430380
push 1
push 2
lea eax, [ebp - 0x1c]
push eax
call fcn.00443f70
cmp byte [0x8d3ffb], 0
mov eax, dword [0x8d3ff4]
mov ecx, dword [0x8d3ff8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
je 0x430527
xor edx, edx
mov dword [ebp - 0x1dc], edx
cmp esi, 2
jl 0x4304f4
movaps xmm2, xmmword [0x8d5c60]
mov eax, 0x1f
movaps xmm5, xmmword [0x8d5cd0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
movd xmm6, edi
psrad xmm1, xmm6
movd xmm7, eax
mov eax, dword [0x8d5ce0]
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d5c70]
paddd xmm2, xmmword [0x8d5c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x8d3ff4]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x1c], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [ebp - 0x18], xmm1
jmp 0x430527
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1dc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x32
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 0x1dc], edx
cmp edx, 8
jl 0x4304f4
push 0
push 3
lea eax, [ebp - 0x1c]
push eax
call fcn.00443f70
cmp byte [0x8d3ffb], 0
mov eax, dword [0x8d3ff4]
mov ecx, dword [0x8d3ff8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
je 0x4306a3
xor edx, edx
mov dword [ebp - 0x1dc], edx
cmp esi, 2
jl 0x430670
movaps xmm2, xmmword [0x8d5c60]
mov eax, 0x1f
movaps xmm5, xmmword [0x8d5cd0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
movd xmm6, edi
psrad xmm1, xmm6
movd xmm7, eax
mov eax, dword [0x8d5ce0]
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d5c70]
paddd xmm2, xmmword [0x8d5c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x8d3ff4]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x1c], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [ebp - 0x18], xmm1
jmp 0x4306a3
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1dc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x32
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 0x1dc], edx
cmp edx, 8
jl 0x430670
push 0
push 4
lea eax, [ebp - 0x1c]
push eax
call fcn.00443f70
mov ecx, 0x23
lea edi, [ebp - 0x148]
mov esi, 0x8d40c8
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [0x18011f4], 2
jl 0x430800
movaps xmm4, xmmword [0x8d5c60]
mov edx, 1
movaps xmm3, xmmword [0x8d5cd0]
mov eax, 0x1f
movaps xmm6, xmmword [0x8d5c80]
movd xmm5, edx
movd xmm7, eax
nop dword [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 [0x8d5cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x148]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0x148], 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 [0x8d5cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x140]
pxor xmm1, xmm0
movq qword [ebp + ecx*2 - 0x140], xmm1
add ecx, 8
cmp ecx, 0x40
jl 0x430700
cmp ecx, 0x46
jge 0x43082d
nop dword [eax + eax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x37
sub edx, eax
add edx, 0x32
xor word [ebp + ecx*2 - 0x148], dx
inc ecx
cmp ecx, 0x46
jl 0x430800
mov edx, 1
mov ecx, 0x23
lea edi, [ebp - 0x1d8]
mov esi, 0x8d4038
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [0x18011f4]
xor esi, esi
cmp edi, 2
jl 0x430970
movaps xmm4, xmmword [0x8d5c60]
mov eax, 0x1f
movaps xmm3, xmmword [0x8d5cd0]
movaps xmm6, xmmword [0x8d5c80]
movd xmm5, edx
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 [0x8d5cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x1d8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x1d8], 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 [0x8d5cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x1d0]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x1d0], xmm1
add esi, 8
cmp esi, 0x40
jl 0x430874
cmp esi, 0x47
jge 0x430998
nop dword [eax]
mov eax, 0x94f2095
mov ecx, esi
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x37
sub ecx, eax
add ecx, 0x32
xor word [ebp + esi*2 - 0x1d8], cx
inc esi
cmp esi, 0x47
jl 0x430970
xor eax, eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4309b5
sub ecx, edx
lea eax, [ebp - 0x148]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d800
mov esi, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x34]
add esi, 0x87c
mov dword [ebp - 4], 0
push esi
xor edx, edx
call fcn.00408cd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x430a36
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430a2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431635
push edx
push ecx
call fcn.0059982b
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430a53
sub ecx, edx
lea eax, [ebp - 0x1d8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d800
push esi
xor edx, edx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00408cd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x430ac8
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430abe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43163a
push edx
push ecx
call fcn.0059982b
add esp, 8
cmp byte [0x8d3ffb], 0
mov eax, dword [0x8d3ff4]
mov ecx, dword [0x8d3ff8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
je 0x430c34
xor edx, edx
mov dword [ebp - 0x1dc], edx
cmp edi, 2
jl 0x430c01
movaps xmm2, xmmword [0x8d5c60]
mov eax, 1
movaps xmm5, xmmword [0x8d5cd0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
movd xmm6, eax
mov eax, 0x1f
psrad xmm1, xmm6
movaps xmm0, xmm1
movd xmm7, eax
mov eax, dword [0x8d5ce0]
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d5c70]
paddd xmm2, xmmword [0x8d5c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x8d3ff4]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x1c], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [ebp - 0x18], xmm1
jmp 0x430c34
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1dc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x32
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 0x1dc], edx
cmp edx, 8
jl 0x430c01
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.00444150
test eax, eax
je 0x430d78
xor eax, eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430c64
sub ecx, edx
lea eax, [ebp - 0x148]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d800
push esi
mov edx, 1
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00408cd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x430cdc
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430cd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43163f
push edx
push ecx
call fcn.0059982b
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430d00
sub ecx, edx
lea eax, [ebp - 0x1d8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d800
push esi
mov edx, 1
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00408cd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x430d78
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430d6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431644
push edx
push ecx
call fcn.0059982b
add esp, 8
movups xmm0, xmmword [0x8d3ffc]
mov eax, dword [0x8d402c]
xor esi, esi
mov dword [ebp - 0x4c], eax
mov ax, word [0x8d4030]
mov word [ebp - 0x48], ax
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [0x8d400c]
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [0x8d401c]
movups xmmword [ebp - 0x5c], xmm0
cmp edi, 2
jl 0x430ed0
movaps xmm4, xmmword [0x8d5c60]
mov ecx, 1
movaps xmm3, xmmword [0x8d5cd0]
mov edx, 0x1f
movaps xmm6, xmmword [0x8d5c80]
movd xmm5, ecx
movd xmm7, edx
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 [0x8d5cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x7c]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x7c], 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 [0x8d5cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x74]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x74], xmm1
add esi, 8
cmp esi, 0x18
jl 0x430de0
cmp esi, 0x1b
jge 0x430efd
nop dword [eax]
mov eax, 0x94f2095
mov ecx, esi
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x37
sub ecx, eax
add ecx, 0x32
xor word [ebp + esi*2 - 0x7c], cx
inc esi
cmp esi, 0x1b
jl 0x430ed0
mov ecx, 1
lea edx, [ecx + 0x1e]
movups xmm0, xmmword [0x8d3d40]
xor esi, esi
movups xmmword [ebp - 0xb4], xmm0
movups xmm0, xmmword [0x8d3d50]
movups xmmword [ebp - 0xa4], xmm0
movups xmm0, xmmword [0x8d3d60]
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [0x8d3d70]
movq qword [ebp - 0x84], xmm0
cmp edi, 2
jl 0x431060
movaps xmm4, xmmword [0x8d5c60]
movaps xmm3, xmmword [0x8d5cd0]
movaps xmm6, xmmword [0x8d5c80]
movd xmm5, ecx
movd xmm7, edx
nop
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 [0x8d5cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0xb4]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0xb4], 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 [0x8d5cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0xac]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0xac], xmm1
add esi, 8
cmp esi, 0x18
jl 0x430f60
cmp esi, 0x1c
jge 0x431088
nop dword [eax + eax]
mov eax, 0x94f2095
mov ecx, esi
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x37
sub ecx, eax
add ecx, 0x32
xor word [ebp + esi*2 - 0xb4], cx
inc esi
cmp esi, 0x1c
jl 0x431060
xor eax, eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4310a2
sub ecx, edx
lea eax, [ebp - 0x7c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d800
mov esi, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x34]
add esi, 0x888
mov dword [ebp - 4], 4
push esi
xor edx, edx
call fcn.00408cd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x431120
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431116
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431649
push edx
push ecx
call fcn.0059982b
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431140
sub ecx, edx
lea eax, [ebp - 0xb4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d800
push esi
xor edx, edx
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00408cd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x4311b5
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4311ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43164e
push edx
push ecx
call fcn.0059982b
add esp, 8
cmp byte [0x8d3ffb], 0
mov eax, dword [0x8d3ff4]
mov ecx, dword [0x8d3ff8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
je 0x431323
xor edx, edx
mov dword [ebp - 0x1dc], edx
cmp edi, 2
jl 0x4312f0
movaps xmm2, xmmword [0x8d5c60]
mov eax, 1
movaps xmm5, xmmword [0x8d5cd0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
movd xmm6, eax
mov eax, 0x1f
psrad xmm1, xmm6
movaps xmm0, xmm1
movd xmm7, eax
mov eax, dword [0x8d5ce0]
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d5c70]
paddd xmm2, xmmword [0x8d5c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x8d3ff4]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x1c], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [ebp - 0x18], xmm1
jmp 0x431323
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1dc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x32
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 0x1dc], edx
cmp edx, 8
jl 0x4312f0
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.00444150
test eax, eax
je 0x43145a
xor eax, eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431350
sub ecx, edx
lea eax, [ebp - 0x7c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d800
push esi
mov edx, 1
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.00408cd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x4313c5
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4313bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431653
push edx
push ecx
call fcn.0059982b
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4313e2
sub ecx, edx
lea eax, [ebp - 0xb4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d800
push esi
mov edx, 1
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00408cd0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x43145a
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431450
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431658
push edx
push ecx
call fcn.0059982b
add esp, 8
mov esi, dword [ebp - 0x1e0]
mov ecx, esi
call fcn.00431660
mov eax, dword [0x8d3fec]
xor edx, edx
movq xmm0, qword [0x8d3fe4]
mov dword [ebp - 0x3c], eax
mov al, byte [0x8d3ff0]
movq qword [ebp - 0x44], xmm0
mov byte [ebp - 0x38], al
mov dword [ebp - 0x1e0], edx
cmp edi, 2
jl 0x4315b0
movaps xmm2, xmmword [0x8d5c60]
mov eax, 1
movaps xmm5, xmmword [0x8d5cd0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
movd xmm6, eax
mov eax, 0x1f
psrad xmm1, xmm6
mov dword [ebp - 0x1e0], edx
movaps xmm0, xmm1
movd xmm7, eax
mov eax, dword [0x8d5ce0]
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d5c70]
paddd xmm2, xmmword [0x8d5c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x8d3fe4]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x44], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d5c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d5cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x40]
pxor xmm1, xmm0
movd dword [ebp - 0x40], xmm1
nop dword [eax]
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1e0]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x32
xor byte [ebp + edx - 0x44], cl
inc edx
mov dword [ebp - 0x1e0], edx
cmp edx, 0xd
jl 0x4315b0
lea eax, [ebp - 0x44]
push eax
push 0
push 0x1f0001
call dword [0x810330]
test eax, eax
je 0x431605
push eax
mov dword [esi], 0
call dword [0x8103b8]
push 0
call fcn.006b163b
add esp, 4
mov dword [esi + 0x6d8], eax
xor eax, eax
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.0059961f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
int3