Function at 0x4172a0
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 0x7f53b9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x240
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x8cdbab], 0
mov edx, 4
mov eax, dword [0x8cdba4]
mov edi, dword [0x1813edc]
mov dword [ebp - 0x28], eax
mov eax, dword [0x8cdba8]
mov dword [ebp - 0x24], eax
je 0x417453
xor ecx, ecx
mov dword [ebp - 0x18c], ecx
cmp edi, 2
jl 0x417420
movaps xmm2, xmmword [0x8d1c60]
mov ecx, 0x1f
movaps xmm4, xmmword [0x8d1ce0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, edx
psrad xmm1, xmm5
movd xmm6, ecx
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d1c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d1c70]
paddd xmm2, xmmword [0x8d1c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d1cc0]
movd xmm0, dword [0x8cdba4]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x8d1cd0]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x28], 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 [0x8d1c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d1cc0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x8d1cd0]
movd xmm0, eax
pxor xmm1, xmm0
movd dword [ebp - 0x24], xmm1
jmp 0x417453
mov eax, 0x4d4873ed
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x18c]
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x28], al
inc ecx
mov dword [ebp - 0x18c], ecx
cmp ecx, 8
jl 0x417420
movq xmm0, qword [0x8cdb64]
xor ecx, ecx
mov al, byte [0x8cdb6c]
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x18], al
mov dword [ebp - 0x18c], ecx
mov eax, 0x4d4873ed
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x18c]
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x20], al
inc ecx
mov dword [ebp - 0x18c], ecx
cmp ecx, 9
jl 0x417470
push ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00440840
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.0041ad90
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x417510
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417506
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181ae
push edx
push ecx
call fcn.004787c4
add esp, 8
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
mov byte [ebp - 4], 3
mov ax, word [0x8cdba0]
movq xmm0, qword [0x8cdb98]
movq qword [ebp - 0x2c], xmm0
mov word [ebp - 0x24], ax
test ah, ah
je 0x417585
xor ecx, ecx
mov dword [ebp - 0x18c], ecx
mov eax, 0x4d4873ed
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x18c]
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x2c], al
inc ecx
mov dword [ebp - 0x18c], ecx
cmp ecx, 0xa
jl 0x417552
movq xmm0, qword [0x8cdb64]
xor ecx, ecx
mov al, byte [0x8cdb6c]
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x18], al
mov dword [ebp - 0x18c], ecx
mov eax, 0x4d4873ed
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x18c]
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x20], al
inc ecx
mov dword [ebp - 0x18c], ecx
cmp ecx, 9
jl 0x4175a2
push ecx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00440840
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x98]
mov ecx, esp
push eax
call fcn.004040f0
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0xc8]
call fcn.00416b60
add esp, 0x18
test eax, eax
je 0x41763d
cmp dword [ebp - 0x9c], 0x10
lea eax, [ebp - 0xb0]
push dword [ebp - 0xa0]
cmovae eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00405ff0
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0069f9d0
add esp, 8
lea edx, [ebp - 0x80]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.0041ae70
push eax
lea ecx, [ebp - 0x80]
call fcn.00405150
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x41769c
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417692
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181b3
push edx
push ecx
call fcn.004787c4
add esp, 8
sub esp, 8
lea ecx, [ebp - 0x80]
call fcn.00418ee0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
lea edx, [eax + 1]
mov eax, dword [ebp - 0x70]
cmp eax, edx
jb 0x4181b8
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push ecx
add eax, edx
lea ecx, [ebp - 0x68]
push eax
call fcn.00405ff0
push ecx
push 0x8cda48
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00418f30
mov edx, eax
test edx, edx
js 0x41776f
cmp dword [ebp - 0x58], edx
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
cmovb edx, dword [ebp - 0x58]
cmp dword [ebp - 0x54], 0x10
push edx
cmovae eax, dword [ebp - 0x68]
push eax
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.00405ff0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x68]
call fcn.00405150
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x41776f
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417765
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181bd
push edx
push ecx
call fcn.004787c4
add esp, 8
mov eax, dword [0x181e118]
cmp dword [eax + 0x680], 0
je 0x41778b
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0xc8]
call fcn.00414e60
xor eax, eax
mov dword [ebp - 0x188], 0
push eax
push 0x8cd0ec
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 7
mov word [ebp - 0x180], ax
call fcn.0040daf0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x150]
push 0
push 0x8ccfc9
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
call fcn.00405ff0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x138]
push 0
push 0x8ccfc9
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
call fcn.00405ff0
xor eax, eax
mov byte [ebp - 4], 0xa
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x108], 0
push 0x8cd0ec
lea ecx, [ebp - 0x118]
movsd qword [ebp - 0x120], xmm0
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
call fcn.0040daf0
xor eax, eax
mov byte [ebp - 4], 0xb
push eax
push 0x8cd0ec
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
call fcn.0040daf0
xor eax, eax
mov byte [ebp - 4], 0xc
push eax
push 0x8cd0ec
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
call fcn.0040daf0
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0xc8]
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], 0x7b
call fcn.00419bc0
mov esi, eax
lea eax, [ebp - 0x180]
cmp eax, esi
je 0x417961
mov ecx, eax
call fcn.00406c20
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x180], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x170], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x41799b
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417991
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181c2
push edx
push ecx
call fcn.004787c4
add esp, 8
mov edx, dword [0x181e118]
lea ecx, [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
lea edx, [edx + 0x704]
call fcn.0041ad90
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.00405a20
lea ecx, [ebp - 0x138]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x50]
push eax
movq qword [ebp - 0x40], xmm0
call fcn.00405150
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x417a37
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417a2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181c7
push edx
push ecx
call fcn.004787c4
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x417a6f
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417a65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181cc
push edx
push ecx
call fcn.004787c4
add esp, 8
mov edx, dword [0x181e118]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
lea edx, [edx + 0x704]
call fcn.0041ad90
push eax
lea ecx, [ebp - 0x168]
call fcn.00405150
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x417ad5
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417acb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181d1
push edx
push ecx
call fcn.004787c4
add esp, 8
push 0
push 0x8cd0ec
lea ecx, [ebp - 0x118]
call fcn.0040daf0
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
push dword [ebp - 0x88]
cmovae eax, dword [ebp - 0x98]
lea ecx, [ebp - 0xe0]
push eax
call fcn.0040daf0
mov eax, dword [0x181e118]
cmp dword [eax + 0x7b8], 0
je 0x417d16
cmp dword [ebp - 0x16c], 8
lea esi, [ebp - 0x180]
mov eax, dword [0x8cdb90]
cmovae esi, dword [ebp - 0x180]
movq xmm0, qword [0x8cdb88]
mov dword [ebp - 0x28], eax
mov ax, word [0x8cdb94]
movq qword [ebp - 0x30], xmm0
mov word [ebp - 0x24], ax
test ah, ah
je 0x417cb3
xor ecx, ecx
mov dword [ebp - 0x18c], ecx
cmp edi, 2
jl 0x417c80
movaps xmm2, xmmword [0x8d1c60]
mov eax, 4
movaps xmm5, xmmword [0x8d1ce0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
movd xmm6, eax
mov eax, 0x1f
psrad xmm1, xmm6
mov dword [ebp - 0x18c], ecx
movaps xmm0, xmm1
movd xmm7, eax
mov eax, dword [0x8d1cd0]
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d1c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d1c70]
paddd xmm2, xmmword [0x8d1c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d1cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x8cdb88]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x30], 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 [0x8d1c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d1cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x2c]
pxor xmm1, xmm0
movd dword [ebp - 0x2c], xmm1
nop
mov eax, 0x4d4873ed
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x18c]
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x30], al
inc ecx
mov dword [ebp - 0x18c], ecx
cmp ecx, 0xe
jl 0x417c80
movq xmm0, qword [0x8cdb64]
xor ecx, ecx
mov al, byte [0x8cdb6c]
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x18], al
mov dword [ebp - 0x18c], ecx
mov eax, 0x4d4873ed
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x18c]
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x20], al
inc ecx
mov dword [ebp - 0x18c], ecx
cmp ecx, 9
jl 0x417cd0
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00440610
jmp 0x417f4f
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0x50]
call fcn.00419bc0
mov esi, eax
mov byte [ebp - 4], 0xf
cmp dword [esi + 0x14], 8
jb 0x417d32
mov esi, dword [esi]
mov eax, dword [0x8cdb90]
movq xmm0, qword [0x8cdb88]
mov dword [ebp - 0x28], eax
mov ax, word [0x8cdb94]
movq qword [ebp - 0x30], xmm0
mov word [ebp - 0x24], ax
test ah, ah
je 0x417eb3
xor ecx, ecx
mov dword [ebp - 0x18c], ecx
cmp edi, 2
jl 0x417e80
movaps xmm2, xmmword [0x8d1c60]
mov eax, 4
movaps xmm5, xmmword [0x8d1ce0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
movd xmm6, eax
mov eax, 0x1f
psrad xmm1, xmm6
mov dword [ebp - 0x18c], ecx
movaps xmm0, xmm1
movd xmm7, eax
mov eax, dword [0x8d1cd0]
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d1c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d1c70]
paddd xmm2, xmmword [0x8d1c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d1cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x8cdb88]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x30], 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 [0x8d1c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x8d1cc0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x2c]
pxor xmm1, xmm0
movd dword [ebp - 0x2c], xmm1
nop
mov eax, 0x4d4873ed
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x18c]
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x30], al
inc ecx
mov dword [ebp - 0x18c], ecx
cmp ecx, 0xe
jl 0x417e80
movq xmm0, qword [0x8cdb64]
xor ecx, ecx
mov al, byte [0x8cdb6c]
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x18], al
mov dword [ebp - 0x18c], ecx
mov eax, 0x4d4873ed
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x18c]
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x20], al
inc ecx
mov dword [ebp - 0x18c], ecx
cmp ecx, 9
jl 0x417ed0
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00440610
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x417f4f
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417f45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181d6
push edx
push ecx
call fcn.004787c4
add esp, 8
push 0xe0
call fcn.00478794
mov esi, eax
add esp, 4
mov dword [ebp - 0x18c], esi
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x250]
call fcn.00418440
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x250]
xorps xmm0, xmm0
mov dword [esi], 0
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
movsd qword [esi + 0x10], xmm0
call fcn.00418440
cmp dword [0x181e114], 0
jne 0x417fba
mov eax, dword [esi + 0x20]
mov dword [0x181e114], eax
lea eax, [esi + 8]
mov dword [esi + 0x18], 0
push eax
push 0
push esi
push 0x429810
push 0
push 0
call fcn.006c7e5d
add esp, 0x18
lea ecx, [ebp - 0x250]
call fcn.00418200
mov byte [ebp - 4], 0xd
xor esi, esi
mov eax, dword [0x8cdb80]
movups xmm0, xmmword [0x8cdb70]
mov dword [ebp - 0x40], eax
mov ax, word [0x8cdb84]
movups xmmword [ebp - 0x50], xmm0
mov word [ebp - 0x3c], ax
nop word [eax + eax]
mov eax, 0x4d4873ed
imul esi
mov eax, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
imul eax, eax, 0x35
add eax, esi
xor word [ebp + esi*2 - 0x50], ax
inc esi
cmp esi, 0xb
jl 0x418010
mov ecx, dword [0x181e118]
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00442730
lea ecx, [ebp - 0x188]
call fcn.00418200
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x418088
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41807e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181db
push edx
push ecx
call fcn.004787c4
add esp, 8
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp edx, 0x10
jb 0x4180ce
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4180c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181e0
push edx
push ecx
call fcn.004787c4
add esp, 8
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 8
jb 0x418120
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418116
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181e5
push edx
push ecx
call fcn.004787c4
add esp, 8
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x41815a
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418150
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181ea
push edx
push ecx
call fcn.004787c4
add esp, 8
mov edx, dword [ebp - 0xb4]
cmp edx, 0x10
jb 0x418190
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418186
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181ef
push edx
push ecx
call fcn.004787c4
add esp, 8
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.00478588
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.006bc8c9
call fcn.006bc8c9
call fcn.00403e90
call fcn.006bc8c9
call fcn.006bc8c9
call fcn.006bc8c9
call fcn.006bc8c9
call fcn.006bc8c9
call fcn.006bc8c9
call fcn.006bc8c9
call fcn.006bc8c9
call fcn.006bc8c9
call fcn.006bc8c9
call fcn.006bc8c9
int3