Function at 0x10fed00
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x1131eb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, 0x1000000
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xec], eax
cmp ebx, edi
mov dword [ebp - 0xf4], ebx
jb 0x10ffbb4
mov eax, dword [0x100003c]
mov eax, dword [eax + 0x1000050]
add eax, edi
cmp ebx, eax
jae 0x10ff492
mov esi, dword [0x1001b10]
and dword [ebp - 0xe0], 0
sub ebx, edi
dec esi
js 0x10fedad
mov eax, dword [ebp - 0xe0]
add eax, esi
cdq
sub eax, edx
sar eax, 1
lea edx, [eax*8 + 0x100b148]
mov dword [ebp - 0xf8], edx
mov edx, dword [edx + 4]
and edx, ecx
cmp ebx, edx
jae 0x10fed98
lea esi, [eax - 1]
jmp 0x10feda5
jbe 0x10ff251
inc eax
mov dword [ebp - 0xe0], eax
cmp esi, dword [ebp - 0xe0]
jge 0x10fed70
xor eax, eax
test eax, eax
je 0x10ff48c
mov edx, dword [eax]
shr edx, 2
mov esi, dword [eax + 4]
and esi, ecx
and edx, 7
lea ebx, [edx + eax + 8]
lea eax, [esi + ebx]
mov dword [ebp - 0xf8], eax
mov eax, dword [0x10d4588]
sub eax, esi
mov dword [ebp - 0xf0], ebx
sub dword [ebp - 0xf0], edi
lea ecx, [eax + 1]
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xfc], esi
xor eax, eax
test ecx, ecx
mov dword [ebp - 0xe0], ecx
je 0x10fee2f
mov edx, dword [0x113b250]
shr dword [ebp - 0xe0], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x113b250], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0xe0], 0
jne 0x10fedff
xor edx, edx
div ecx
mov eax, dword [ebp - 0xec]
add eax, edx
push esi
push dword [ebp - 0xf0]
mov dword [ebp - 0x104], eax
mov eax, 0x506fac7f
mov eax, dword [ebp - 0x104]
test esi, esi
pop ecx
pop ecx
mov byte [ebp - 0xd9], 0
mov dword [ebp - 0x100], esi
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xe0], eax
je 0x10ff2b4
mov esi, dword [ebp - 0xf8]
lea edi, [ebp - 0xd8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x1ec], eax
xor eax, eax
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f4], eax
mov eax, dword [0x1009a74]
mov dword [ebp - 0x218], eax
mov eax, dword [0x1009a78]
mov dword [ebp - 0x204], eax
mov eax, dword [0x1009a7c]
mov dword [ebp - 0x1f0], eax
mov eax, dword [0x1009a80]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x1e8], ecx
lea ecx, [ebp - 0x48]
sub eax, ecx
sub ebx, dword [ebp - 0x104]
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x208], esi
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e0], esi
mov dword [ebp - 0x108], eax
mov dword [ebp - 0xe4], ebx
lea edi, [ebp - 0x1d0]
lea esi, [ebp - 0x218]
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x1c0]
mov esi, dword [ebp - 0x1d0]
mov dword [ebp - 0xe8], 3
lea edi, [edx + esi]
rol edi, 7
xor eax, edi
lea edi, [esi + eax]
mov ebx, dword [ebp - 0x1bc]
rol edi, 9
xor ecx, edi
lea edi, [eax + ecx]
rol edi, 0xd
xor edx, edi
lea edi, [ecx + edx]
ror edi, 0xe
xor esi, edi
mov edi, dword [ebp - 0x1cc]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x1ac], edi
mov edi, ebx
mov ebx, dword [ebp - 0x1ac]
add edi, ebx
rol edi, 9
xor dword [ebp - 0x19c], edi
mov edi, ebx
mov ebx, dword [ebp - 0x19c]
add ebx, edi
mov edi, dword [ebp - 0x19c]
rol ebx, 0xd
xor dword [ebp - 0x1cc], ebx
mov ebx, dword [ebp - 0x1cc]
add edi, ebx
ror edi, 0xe
mov ebx, dword [ebp - 0x1a8]
xor dword [ebp - 0x1bc], edi
mov edi, dword [ebp - 0x1b8]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x198], edi
mov edi, ebx
mov ebx, dword [ebp - 0x198]
add edi, ebx
rol edi, 9
xor dword [ebp - 0x1c8], edi
mov edi, ebx
mov ebx, dword [ebp - 0x1c8]
add ebx, edi
rol ebx, 0xd
mov edi, dword [ebp - 0x1c8]
xor dword [ebp - 0x1b8], ebx
mov ebx, dword [ebp - 0x1b8]
add edi, ebx
mov ebx, dword [ebp - 0x194]
ror edi, 0xe
xor dword [ebp - 0x1a8], edi
mov edi, dword [ebp - 0x1a4]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x1c4], edi
mov edi, ebx
mov ebx, dword [ebp - 0x1c4]
add edi, ebx
rol edi, 9
xor dword [ebp - 0x1b4], edi
mov edi, ebx
mov ebx, dword [ebp - 0x1b4]
add ebx, edi
mov edi, dword [ebp - 0x1b4]
rol ebx, 0xd
xor dword [ebp - 0x1a4], ebx
mov ebx, dword [ebp - 0x1a4]
add edi, ebx
ror edi, 0xe
xor dword [ebp - 0x194], edi
mov edi, dword [ebp - 0x1c4]
add edi, esi
rol edi, 7
xor dword [ebp - 0x1cc], edi
mov edi, dword [ebp - 0x1cc]
add edi, esi
rol edi, 9
xor dword [ebp - 0x1c8], edi
mov ebx, dword [ebp - 0x1c8]
mov edi, dword [ebp - 0x1cc]
add ebx, edi
rol ebx, 0xd
mov edi, dword [ebp - 0x1c8]
xor dword [ebp - 0x1c4], ebx
mov ebx, dword [ebp - 0x1c4]
add ebx, edi
mov edi, dword [ebp - 0x1bc]
add edi, eax
ror ebx, 0xe
xor esi, ebx
rol edi, 7
xor dword [ebp - 0x1b8], edi
mov ebx, dword [ebp - 0x1b8]
mov edi, dword [ebp - 0x1bc]
add ebx, edi
mov edi, dword [ebp - 0x1b8]
rol ebx, 9
xor dword [ebp - 0x1b4], ebx
mov ebx, dword [ebp - 0x1b4]
add ebx, edi
rol ebx, 0xd
mov edi, dword [ebp - 0x1b4]
xor eax, ebx
mov ebx, dword [ebp - 0x1ac]
add edi, eax
ror edi, 0xe
xor dword [ebp - 0x1bc], edi
mov edi, dword [ebp - 0x1a8]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x1a4], edi
mov ebx, dword [ebp - 0x1a4]
mov edi, dword [ebp - 0x1a8]
add ebx, edi
rol ebx, 9
xor ecx, ebx
mov ebx, dword [ebp - 0x198]
mov edi, dword [ebp - 0x1a4]
add edi, ecx
rol edi, 0xd
xor dword [ebp - 0x1ac], edi
mov edi, dword [ebp - 0x1ac]
add edi, ecx
ror edi, 0xe
xor dword [ebp - 0x1a8], edi
mov edi, dword [ebp - 0x194]
add edi, ebx
rol edi, 7
xor edx, edi
mov edi, dword [ebp - 0x194]
add edi, edx
rol edi, 9
xor dword [ebp - 0x19c], edi
mov edi, dword [ebp - 0x19c]
add edi, edx
rol edi, 0xd
xor dword [ebp - 0x198], edi
mov edi, dword [ebp - 0x19c]
mov ebx, dword [ebp - 0x198]
add ebx, edi
ror ebx, 0xe
xor dword [ebp - 0x194], ebx
dec dword [ebp - 0xe8]
jne 0x10fef64
mov dword [ebp - 0x1a0], edx
push 0x40
xor edx, edx
mov dword [ebp - 0x1c0], eax
xor eax, eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x1d0], esi
pop ebx
mov ecx, dword [ebp + eax - 0x218]
add dword [ebp + eax - 0x1d0], ecx
add eax, 4
cmp eax, ebx
jl 0x10ff1db
inc dword [ebp - 0x1f8]
lea edi, [ebp - 0x48]
push 0x10
pop ecx
lea esi, [ebp - 0x1d0]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x100], ebx
jbe 0x10ff26d
mov eax, dword [ebp - 0xe4]
mov esi, dword [ebp - 0x108]
lea edi, [esi + eax]
lea ecx, [ebp + edx - 0x48]
mov al, byte [edi + ecx]
xor al, byte [ecx]
xor byte [ebp - 0xd9], al
inc edx
cmp edx, ebx
mov byte [esi + ecx], al
jb 0x10ff21b
sub dword [ebp - 0x100], ebx
add dword [ebp - 0xe0], ebx
add esi, ebx
add dword [ebp - 0xec], ebx
mov dword [ebp - 0x108], esi
jmp 0x10fef31
mov eax, dword [ebp - 0xf8]
mov edx, dword [eax + 4]
and edx, ecx
mov eax, dword [eax]
and eax, 0x3f
lea eax, [edx + eax + 0x1000000]
jmp 0x10fedaf
cmp dword [ebp - 0x100], edx
jbe 0x10ff2a3
lea eax, [ebp - 0x48]
mov edi, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xec]
sub esi, eax
sub edi, eax
lea ecx, [ebp + edx - 0x48]
mov al, byte [esi + ecx]
xor al, byte [ecx]
xor byte [ebp - 0xd9], al
inc edx
mov byte [edi + ecx], al
cmp edx, dword [ebp - 0x100]
jb 0x10ff288
mov edi, 0x1000000
mov ebx, dword [ebp - 0xf4]
mov esi, dword [ebp - 0xfc]
mov eax, dword [ebp - 0xf8]
movzx ecx, byte [ebp - 0xd9]
movzx eax, byte [eax + 0x10]
sub ecx, eax
je 0x10ff37c
lea ebp, [ebp - 0x63b27828]
call fcn.01020e87
mov ecx, eax
mov eax, 0xfffff000
and ecx, eax
mov dword [ebp - 0xe4], ecx
mov ebx, 0x10fe507
mov ecx, dword [ebp - 0x10c]
lea esi, [ecx + 0xc]
and esi, 0xfffffffc
lea edi, [esi + 0xfff]
and edi, eax
mov dword [ecx + 8], ebx
mov ecx, 0xffff
xor eax, eax
mov dword [ebp - 0xec], ecx
mov edx, dword [0x113b250]
shr dword [ebp - 0xec], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x113b250], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0xec], 0
jne 0x10ff310
xor edx, edx
div ecx
inc edx
mov eax, dword [ebp - 0x1d4]
cmp esi, edi
mov ecx, dword [ebp - 0xe4]
mov dword [eax + 0x1c], ecx
mov dword [eax], edx
mov dword [ebp - 0xe4], 0
mov eax, esi
jae 0x10ff375
mov ecx, dword [ebp - 0xe4]
mov dword [eax], ecx
add eax, 4
cmp eax, edi
jb 0x10ff366
mov eax, ebx
jmp 0x110036b
mov ecx, ebx
sub ecx, dword [ebp - 0x104]
mov eax, dword [0x100b3f0]
sub edi, eax
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xfc], edi
jne 0x10ff3a1
test ecx, ecx
je 0x10ff477
mov edi, dword [ebp - 0x104]
mov eax, dword [ebp - 0xf0]
sub edi, ebx
mov ebx, dword [0x10b82b8]
add eax, esi
mov dword [ebp - 0xe4], eax
xor esi, esi
dec ebx
js 0x10ff3f3
lea eax, [esi + ebx]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [eax*4 + 0x10b82bc]
and ecx, 0xfffffff
cmp dword [ebp - 0xf0], ecx
jae 0x10ff3e4
lea ebx, [eax - 1]
jmp 0x10ff3e9
jbe 0x10ff3fb
lea esi, [eax + 1]
cmp ebx, esi
jge 0x10ff3c2
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xf4], esi
jmp 0x10ff469
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xf4], eax
jmp 0x10ff469
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax*4 + 0x10b82bc]
mov edx, eax
and edx, 0xfffffff
cmp edx, dword [ebp - 0xe4]
jae 0x10ff477
lea esi, [edx + edi + 0x1000000]
mov edx, eax
shl edx, 2
sar edx, 0x1e
sar eax, 0x1e
and edx, 3
and eax, 3
xor ebx, ebx
dec edx
je 0x10ff455
dec edx
je 0x10ff451
dec edx
jne 0x10ff45d
mov ebx, dword [ebp - 0xfc]
jmp 0x10ff45d
mov ebx, ecx
jmp 0x10ff45d
mov ebx, dword [ebp - 0xfc]
sub ebx, ecx
dec eax
dec eax
jne 0x10ff463
add dword [esi], ebx
inc dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf4]
cmp eax, dword [0x10b82b8]
jb 0x10ff409
mov eax, dword [0x10d4588]
mov eax, 0x484a946c
mov eax, dword [ebp - 0x104]
jmp 0x110036b
mov ebx, dword [ebp - 0xf4]
cmp ebx, edi
jb 0x10ffbb4
mov eax, dword [0x100003c]
mov eax, dword [eax + 0x1000050]
add eax, edi
cmp ebx, eax
jae 0x10ffbb4
mov esi, dword [0x100932c]
and dword [ebp - 0xe0], 0
sub ebx, edi
dec esi
js 0x10ff4fd
mov eax, dword [ebp - 0xe0]
add eax, esi
cdq
sub eax, edx
sar eax, 1
lea edx, [eax*8 + 0x1096ab0]
mov dword [ebp - 0xe4], edx
mov edx, dword [edx]
and edx, ecx
cmp ebx, edx
jae 0x10ff4e8
lea esi, [eax - 1]
jmp 0x10ff4f5
jbe 0x10ff992
inc eax
mov dword [ebp - 0xe0], eax
cmp esi, dword [ebp - 0xe0]
jge 0x10ff4c1
xor eax, eax
test eax, eax
je 0x10ffbb4
mov edx, dword [eax + 4]
and edx, 7
mov esi, dword [eax]
shr esi, 1
and esi, ecx
lea ebx, [edx + eax + 8]
lea eax, [esi + ebx]
mov dword [ebp - 0x108], eax
mov eax, dword [0x10d4588]
mov dword [ebp - 0xf0], ebx
sub eax, esi
lea ecx, [eax + 1]
sub dword [ebp - 0xf0], edi
mov dword [ebp - 0xf4], ebx
xor eax, eax
test ecx, ecx
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xe0], ecx
je 0x10ff57e
mov edx, dword [0x113b250]
shr dword [ebp - 0xe0], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x113b250], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0xe0], 0
jne 0x10ff54e
xor edx, edx
div ecx
mov eax, dword [ebp - 0xec]
add eax, edx
push esi
push dword [ebp - 0xf0]
mov dword [ebp - 0xec], eax
mov eax, 0xbbae1f50
mov eax, dword [ebp - 0xec]
pop ecx
pop ecx
test esi, esi
mov byte [ebp - 0xd9], 0
mov dword [ebp - 0x100], esi
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0xe0], eax
je 0x10ff9f6
mov esi, dword [ebp - 0x108]
lea edi, [ebp - 0xd8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x26c], eax
xor eax, eax
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
mov eax, dword [0x1009a74]
mov dword [ebp - 0x298], eax
mov eax, dword [0x1009a78]
mov dword [ebp - 0x284], eax
mov eax, dword [0x1009a7c]
mov dword [ebp - 0x270], eax
mov eax, dword [0x1009a80]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x290], ecx
lea eax, [ebp - 0xc8]
sub eax, ebx
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x260], esi
mov dword [ebp - 0xe8], eax
push 0x10
lea esi, [ebp - 0x298]
lea edi, [ebp - 0x150]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x140]
mov esi, dword [ebp - 0x150]
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0xf8], 3
mov ebx, dword [ebp - 0x13c]
lea edi, [edx + esi]
rol edi, 7
xor eax, edi
lea edi, [esi + eax]
rol edi, 9
xor ecx, edi
lea edi, [eax + ecx]
rol edi, 0xd
xor edx, edi
lea edi, [ecx + edx]
ror edi, 0xe
xor esi, edi
mov edi, dword [ebp - 0x14c]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x12c], edi
mov edi, ebx
mov ebx, dword [ebp - 0x12c]
add edi, ebx
rol edi, 9
xor dword [ebp - 0x11c], edi
mov edi, ebx
mov ebx, dword [ebp - 0x11c]
add ebx, edi
mov edi, dword [ebp - 0x11c]
rol ebx, 0xd
xor dword [ebp - 0x14c], ebx
mov ebx, dword [ebp - 0x14c]
add edi, ebx
ror edi, 0xe
mov ebx, dword [ebp - 0x128]
xor dword [ebp - 0x13c], edi
mov edi, dword [ebp - 0x138]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x118], edi
mov edi, ebx
mov ebx, dword [ebp - 0x118]
add edi, ebx
rol edi, 9
xor dword [ebp - 0x148], edi
mov edi, ebx
mov ebx, dword [ebp - 0x148]
add ebx, edi
mov edi, dword [ebp - 0x148]
rol ebx, 0xd
xor dword [ebp - 0x138], ebx
mov ebx, dword [ebp - 0x138]
add edi, ebx
ror edi, 0xe
mov ebx, dword [ebp - 0x114]
xor dword [ebp - 0x128], edi
mov edi, dword [ebp - 0x124]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x144], edi
mov edi, ebx
mov ebx, dword [ebp - 0x144]
add edi, ebx
rol edi, 9
xor dword [ebp - 0x134], edi
mov edi, ebx
mov ebx, dword [ebp - 0x134]
add ebx, edi
mov edi, dword [ebp - 0x134]
rol ebx, 0xd
xor dword [ebp - 0x124], ebx
mov ebx, dword [ebp - 0x124]
add edi, ebx
ror edi, 0xe
xor dword [ebp - 0x114], edi
mov edi, dword [ebp - 0x144]
add edi, esi
rol edi, 7
xor dword [ebp - 0x14c], edi
mov edi, dword [ebp - 0x14c]
add edi, esi
rol edi, 9
xor dword [ebp - 0x148], edi
mov ebx, dword [ebp - 0x148]
mov edi, dword [ebp - 0x14c]
add ebx, edi
mov edi, dword [ebp - 0x148]
rol ebx, 0xd
xor dword [ebp - 0x144], ebx
mov ebx, dword [ebp - 0x144]
add ebx, edi
mov edi, dword [ebp - 0x13c]
add edi, eax
ror ebx, 0xe
xor esi, ebx
rol edi, 7
xor dword [ebp - 0x138], edi
mov ebx, dword [ebp - 0x138]
mov edi, dword [ebp - 0x13c]
add ebx, edi
rol ebx, 9
mov edi, dword [ebp - 0x138]
xor dword [ebp - 0x134], ebx
mov ebx, dword [ebp - 0x134]
add ebx, edi
mov edi, dword [ebp - 0x134]
rol ebx, 0xd
xor eax, ebx
add edi, eax
mov ebx, dword [ebp - 0x12c]
ror edi, 0xe
xor dword [ebp - 0x13c], edi
mov edi, dword [ebp - 0x128]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x124], edi
mov ebx, dword [ebp - 0x124]
mov edi, dword [ebp - 0x128]
add ebx, edi
rol ebx, 9
mov edi, dword [ebp - 0x124]
xor ecx, ebx
mov ebx, dword [ebp - 0x118]
add edi, ecx
rol edi, 0xd
xor dword [ebp - 0x12c], edi
mov edi, dword [ebp - 0x12c]
add edi, ecx
ror edi, 0xe
xor dword [ebp - 0x128], edi
mov edi, dword [ebp - 0x114]
add edi, ebx
rol edi, 7
xor edx, edi
mov edi, dword [ebp - 0x114]
add edi, edx
rol edi, 9
xor dword [ebp - 0x11c], edi
mov edi, dword [ebp - 0x11c]
add edi, edx
rol edi, 0xd
xor dword [ebp - 0x118], edi
mov ebx, dword [ebp - 0x118]
mov edi, dword [ebp - 0x11c]
add ebx, edi
ror ebx, 0xe
xor dword [ebp - 0x114], ebx
dec dword [ebp - 0xf8]
jne 0x10ff6a4
push 0x40
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x140], eax
xor eax, eax
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x150], esi
pop edx
mov ecx, dword [ebp + eax - 0x298]
add dword [ebp + eax - 0x150], ecx
add eax, 4
cmp eax, edx
jl 0x10ff919
lea edi, [ebp - 0xc8]
inc dword [ebp - 0x278]
push 0x10
lea esi, [ebp - 0x150]
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x100], edx
jbe 0x10ff9ae
mov esi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x104]
mov edi, edx
sub esi, ecx
mov eax, dword [ebp - 0xe8]
mov al, byte [eax + ecx]
xor al, byte [ecx]
xor byte [ebp - 0xd9], al
mov byte [esi + ecx], al
inc ecx
dec edi
jne 0x10ff95d
sub dword [ebp - 0x100], edx
add dword [ebp - 0xe0], edx
add dword [ebp - 0x104], edx
sub dword [ebp - 0xe8], edx
jmp 0x10ff671
mov eax, dword [ebp - 0xe4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
and edx, 0x3f
and eax, ecx
lea eax, [edx + eax + 0x1000000]
jmp 0x10ff4ff
cmp dword [ebp - 0x100], 0
jbe 0x10ff9e5
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x100]
lea esi, [ebp - 0xc8]
sub esi, ecx
mov edi, dword [ebp - 0xe0]
sub edi, ecx
mov al, byte [esi + ecx]
xor al, byte [ecx]
xor byte [ebp - 0xd9], al
mov byte [edi + ecx], al
inc ecx
dec edx
jne 0x10ff9d3
mov esi, dword [ebp - 0xfc]
mov edi, 0x1000000
mov ebx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x108]
movzx eax, byte [eax + 0x10]
movzx ecx, byte [ebp - 0xd9]
sub ecx, eax
je 0x10ffac0
lea ebp, [ebp - 0x63b27828]
call fcn.01020e87
mov ecx, eax
mov ebx, 0x10fe507
mov eax, 0xfffff000
and ecx, eax
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0x10c]
lea esi, [ecx + 0xc]
and esi, 0xfffffffc
mov dword [ecx + 8], ebx
lea edi, [esi + 0xfff]
and edi, eax
xor eax, eax
mov ecx, 0xffff
mov dword [ebp - 0xe8], ecx
mov edx, dword [0x113b250]
shr dword [ebp - 0xe8], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x113b250], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0xe8], 0
jne 0x10ffa52
xor edx, edx
div ecx
inc edx
mov ecx, dword [ebp - 0xe4]
cmp esi, edi
mov eax, dword [ebp - 0x1d4]
mov dword [eax + 0x1c], ecx
mov dword [eax], edx
mov dword [ebp - 0xe4], 0
mov eax, esi
jae 0x10ff375
mov ecx, dword [ebp - 0xe4]
mov dword [eax], ecx
add eax, 4
cmp eax, edi
jb 0x10ffaac
jmp 0x10ff375
mov ecx, dword [0x100b3f0]
mov eax, ebx
sub eax, dword [ebp - 0xec]
sub edi, ecx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], edi
jne 0x10ffae6
test eax, eax
je 0x10ffb9f
mov edi, dword [ebp - 0xec]
mov eax, dword [ebp - 0xf0]
sub edi, ebx
mov ebx, dword [0x10b82b8]
add eax, esi
mov dword [ebp - 0xe4], eax
xor esi, esi
dec ebx
js 0x10ffb32
lea eax, [esi + ebx]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [eax*4 + 0x10b82bc]
and ecx, 0xfffffff
cmp dword [ebp - 0xf0], ecx
jae 0x10ffb29
lea ebx, [eax - 1]
jmp 0x10ffb2e
jbe 0x10ffb36
lea esi, [eax + 1]
cmp ebx, esi
jge 0x10ffb07
mov ecx, esi
jmp 0x10ffb97
mov ecx, eax
jmp 0x10ffb97
mov eax, dword [ecx*4 + 0x10b82bc]
mov edx, eax
and edx, 0xfffffff
cmp edx, dword [ebp - 0xe4]
jae 0x10ffb9f
lea esi, [edx + edi + 0x1000000]
mov edx, eax
shl edx, 2
sar edx, 0x1e
sar eax, 0x1e
and edx, 3
and eax, 3
xor ebx, ebx
dec edx
je 0x10ffb84
dec edx
je 0x10ffb7c
dec edx
jne 0x10ffb90
mov ebx, dword [ebp - 0xf8]
jmp 0x10ffb90
mov ebx, dword [ebp - 0xfc]
jmp 0x10ffb90
mov ebx, dword [ebp - 0xf8]
sub ebx, dword [ebp - 0xfc]
dec eax
dec eax
jne 0x10ffb96
add dword [esi], ebx
inc ecx
cmp ecx, dword [0x10b82b8]
jb 0x10ffb3a
mov eax, dword [0x10d4588]
mov eax, 0x9c89a2bc
mov eax, dword [ebp - 0xec]
jmp 0x110036b
mov ebx, dword [ebp - 0xf4]
cmp ebx, edi
jb 0x11002d6
mov eax, dword [0x100003c]
mov eax, dword [eax + 0x1000050]
add eax, edi
cmp ebx, eax
jae 0x11002d6
mov esi, dword [0x100c238]
and dword [ebp - 0xe8], 0
sub ebx, edi
dec esi
js 0x10ffc28
mov eax, dword [ebp - 0xe8]
add eax, esi
cdq
sub eax, edx
sar eax, 1
lea edx, [eax*8 + 0x100a8c4]
mov dword [ebp - 0xe4], edx
mov edx, dword [edx]
shr edx, 2
and edx, ecx
cmp ebx, edx
jae 0x10ffc13
lea esi, [eax - 1]
jmp 0x10ffc20
jbe 0x11000bd
inc eax
mov dword [ebp - 0xe8], eax
cmp esi, dword [ebp - 0xe8]
jge 0x10ffbe9
xor ecx, ecx
test ecx, ecx
je 0x11002d6
mov eax, dword [ecx]
mov edx, eax
shr eax, 4
shr edx, 1
mov esi, eax
and edx, 7
lea ebx, [edx + ecx + 8]
lea eax, [esi + ebx]
mov dword [ebp - 0x108], eax
mov eax, dword [0x10d4588]
mov dword [ebp - 0xf0], ebx
sub eax, esi
sub dword [ebp - 0xf0], edi
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xfc], esi
lea ecx, [eax + 1]
mov dword [ebp - 0xe8], ecx
xor eax, eax
test ecx, ecx
je 0x10ffcab
mov edx, dword [0x113b250]
shr dword [ebp - 0xe8], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x113b250], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0xe8], 0
jne 0x10ffc7b
xor edx, edx
div ecx
mov eax, dword [ebp - 0xec]
add eax, edx
push esi
push dword [ebp - 0xf0]
mov dword [ebp - 0x104], eax
mov eax, 0xd23ea51a
test esi, esi
mov eax, dword [ebp - 0x104]
pop ecx
pop ecx
mov byte [ebp - 0xd9], 0
mov dword [ebp - 0x100], esi
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xe0], eax
je 0x1100124
mov esi, dword [ebp - 0x108]
lea edi, [ebp - 0xd8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x22c], eax
xor eax, eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov eax, dword [0x1009a74]
mov dword [ebp - 0x258], eax
mov eax, dword [0x1009a78]
mov dword [ebp - 0x244], eax
mov eax, dword [0x1009a7c]
mov dword [ebp - 0x230], eax
mov eax, dword [0x1009a80]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x250], ecx
sub eax, ebx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0xe8], eax
lea edi, [ebp - 0x190]
push 0x10
lea esi, [ebp - 0x258]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x180]
mov edx, dword [ebp - 0x160]
mov esi, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0xf8], 2
mov ebx, dword [ebp - 0x18c]
lea edi, [edx + esi]
rol edi, 7
xor eax, edi
lea edi, [esi + eax]
rol edi, 9
xor ecx, edi
lea edi, [eax + ecx]
rol edi, 0xd
xor edx, edi
lea edi, [ecx + edx]
ror edi, 0xe
xor esi, edi
mov edi, dword [ebp - 0x17c]
add ebx, edi
rol ebx, 7
xor dword [ebp - 0x16c], ebx
mov ebx, dword [ebp - 0x16c]
add edi, ebx
rol edi, 9
xor dword [ebp - 0x15c], edi
mov edi, ebx
mov ebx, dword [ebp - 0x15c]
add ebx, edi
mov edi, dword [ebp - 0x15c]
rol ebx, 0xd
xor dword [ebp - 0x18c], ebx
mov ebx, dword [ebp - 0x18c]
add edi, ebx
mov ebx, dword [ebp - 0x168]
ror edi, 0xe
xor dword [ebp - 0x17c], edi
mov edi, dword [ebp - 0x178]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x158], edi
mov edi, ebx
mov ebx, dword [ebp - 0x158]
add edi, ebx
rol edi, 9
xor dword [ebp - 0x188], edi
mov edi, ebx
mov ebx, dword [ebp - 0x188]
add ebx, edi
rol ebx, 0xd
mov edi, dword [ebp - 0x188]
xor dword [ebp - 0x178], ebx
mov ebx, dword [ebp - 0x178]
add edi, ebx
ror edi, 0xe
mov ebx, dword [ebp - 0x154]
xor dword [ebp - 0x168], edi
mov edi, dword [ebp - 0x164]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x184], edi
mov edi, ebx
mov ebx, dword [ebp - 0x184]
add edi, ebx
rol edi, 9
xor dword [ebp - 0x174], edi
mov edi, ebx
mov ebx, dword [ebp - 0x174]
add ebx, edi
rol ebx, 0xd
mov edi, dword [ebp - 0x174]
xor dword [ebp - 0x164], ebx
mov ebx, dword [ebp - 0x164]
add edi, ebx
ror edi, 0xe
xor dword [ebp - 0x154], edi
mov edi, dword [ebp - 0x184]
add edi, esi
rol edi, 7
xor dword [ebp - 0x18c], edi
mov edi, dword [ebp - 0x18c]
add edi, esi
rol edi, 9
xor dword [ebp - 0x188], edi
mov edi, dword [ebp - 0x18c]
mov ebx, dword [ebp - 0x188]
add ebx, edi
rol ebx, 0xd
mov edi, dword [ebp - 0x188]
xor dword [ebp - 0x184], ebx
mov ebx, dword [ebp - 0x184]
add ebx, edi
mov edi, dword [ebp - 0x17c]
add edi, eax
ror ebx, 0xe
xor esi, ebx
rol edi, 7
xor dword [ebp - 0x178], edi
mov ebx, dword [ebp - 0x178]
mov edi, dword [ebp - 0x17c]
add ebx, edi
rol ebx, 9
mov edi, dword [ebp - 0x178]
xor dword [ebp - 0x174], ebx
mov ebx, dword [ebp - 0x174]
add ebx, edi
mov edi, dword [ebp - 0x174]
rol ebx, 0xd
xor eax, ebx
mov ebx, dword [ebp - 0x16c]
add edi, eax
ror edi, 0xe
xor dword [ebp - 0x17c], edi
mov edi, dword [ebp - 0x168]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x164], edi
mov ebx, dword [ebp - 0x164]
mov edi, dword [ebp - 0x168]
add ebx, edi
rol ebx, 9
xor ecx, ebx
mov edi, dword [ebp - 0x164]
add edi, ecx
mov ebx, dword [ebp - 0x158]
rol edi, 0xd
xor dword [ebp - 0x16c], edi
mov edi, dword [ebp - 0x16c]
add edi, ecx
ror edi, 0xe
xor dword [ebp - 0x168], edi
mov edi, dword [ebp - 0x154]
add edi, ebx
rol edi, 7
xor edx, edi
mov edi, dword [ebp - 0x154]
add edi, edx
rol edi, 9
xor dword [ebp - 0x15c], edi
mov edi, dword [ebp - 0x15c]
add edi, edx
rol edi, 0xd
xor dword [ebp - 0x158], edi
mov edi, dword [ebp - 0x15c]
mov ebx, dword [ebp - 0x158]
add ebx, edi
ror ebx, 0xe
xor dword [ebp - 0x154], ebx
dec dword [ebp - 0xf8]
jne 0x10ffdd1
push 0x40
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x180], eax
xor eax, eax
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x190], esi
pop edx
mov ecx, dword [ebp + eax - 0x258]
add dword [ebp + eax - 0x190], ecx
add eax, 4
cmp eax, edx
jl 0x1100044
inc dword [ebp - 0x238]
lea esi, [ebp - 0x190]
lea edi, [ebp - 0x88]
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x100], edx
jbe 0x11000dc
mov esi, dword [ebp - 0xe0]
mov edi, edx
mov ecx, dword [ebp - 0xec]
sub esi, ecx
mov eax, dword [ebp - 0xe8]
mov al, byte [eax + ecx]
xor al, byte [ecx]
xor byte [ebp - 0xd9], al
mov byte [esi + ecx], al
inc ecx
dec edi
jne 0x1100088
sub dword [ebp - 0x100], edx
add dword [ebp - 0xe0], edx
add dword [ebp - 0xec], edx
sub dword [ebp - 0xe8], edx
jmp 0x10ffd9e
mov eax, dword [ebp - 0xe4]
mov edx, dword [eax]
shr edx, 2
and edx, ecx
mov eax, dword [eax + 4]
and eax, 0x3f
lea ecx, [edx + eax + 0x1000000]
jmp 0x10ffc2a
cmp dword [ebp - 0x100], 0
jbe 0x1100113
lea esi, [ebp - 0x88]
mov edx, dword [ebp - 0x100]
mov edi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xec]
sub esi, ecx
sub edi, ecx
mov al, byte [esi + ecx]
xor al, byte [ecx]
xor byte [ebp - 0xd9], al
mov byte [edi + ecx], al
inc ecx
dec edx
jne 0x1100101
mov ebx, dword [ebp - 0xf4]
mov esi, dword [ebp - 0xfc]
mov edi, 0x1000000
movzx eax, byte [ebp - 0xd9]
mov ecx, dword [ebp - 0x108]
movzx ecx, byte [ecx + 0x10]
sub eax, ecx
je 0x11001ee
lea ebp, [ebp - 0x63b27828]
call fcn.01020e87
mov ecx, eax
mov eax, 0xfffff000
and ecx, eax
mov ebx, 0x10fe507
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0x10c]
lea esi, [ecx + 0xc]
mov dword [ecx + 8], ebx
mov ecx, 0xffff
and esi, 0xfffffffc
mov dword [ebp - 0x10c], ecx
lea edi, [esi + 0xfff]
and edi, eax
xor eax, eax
mov edx, dword [0x113b250]
shr dword [ebp - 0x10c], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x113b250], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0x10c], 0
jne 0x1100180
xor edx, edx
div ecx
inc edx
mov ecx, dword [ebp - 0xe4]
cmp esi, edi
mov eax, dword [ebp - 0x1d4]
mov dword [eax + 0x1c], ecx
mov dword [eax], edx
mov dword [ebp - 0xe4], 0
mov eax, esi
jae 0x10ff375
mov ecx, dword [ebp - 0xe4]
mov dword [eax], ecx
add eax, 4
cmp eax, edi
jb 0x11001da
jmp 0x10ff375
mov ecx, dword [0x100b3f0]
mov eax, ebx
sub eax, dword [ebp - 0x104]
mov dword [ebp - 0xfc], eax
sub edi, ecx
mov dword [ebp - 0xf8], edi
jne 0x1100214
test eax, eax
je 0x10ff477
mov edi, dword [ebp - 0x104]
sub edi, ebx
mov ebx, dword [0x10b82b8]
mov eax, dword [ebp - 0xf0]
add eax, esi
xor esi, esi
dec ebx
mov dword [ebp - 0xe4], eax
js 0x1100260
lea eax, [esi + ebx]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [eax*4 + 0x10b82bc]
and ecx, 0xfffffff
cmp dword [ebp - 0xf0], ecx
jae 0x1100257
lea ebx, [eax - 1]
jmp 0x110025c
jbe 0x1100264
lea esi, [eax + 1]
cmp ebx, esi
jge 0x1100235
mov ecx, esi
jmp 0x11002c9
mov ecx, eax
jmp 0x11002c9
mov eax, dword [ecx*4 + 0x10b82bc]
mov edx, eax
and edx, 0xfffffff
cmp edx, dword [ebp - 0xe4]
jae 0x10ff477
lea esi, [edx + edi + 0x1000000]
mov edx, eax
shl edx, 2
sar edx, 0x1e
sar eax, 0x1e
and edx, 3
and eax, 3
xor ebx, ebx
dec edx
je 0x11002b6
dec edx
je 0x11002ae
dec edx
jne 0x11002c2
mov ebx, dword [ebp - 0xf8]
jmp 0x11002c2
mov ebx, dword [ebp - 0xfc]
jmp 0x11002c2
mov ebx, dword [ebp - 0xf8]
sub ebx, dword [ebp - 0xfc]
dec eax
dec eax
jne 0x11002c8
add dword [esi], ebx
inc ecx
cmp ecx, dword [0x10b82b8]
jb 0x1100268
jmp 0x10ff477
mov eax, 0x8534b5e
mov edi, dword [ebp - 0xec]
mov esi, 0x1109044
cmp edi, esi
jb 0x1100321
mov eax, dword [0x10f17c8]
mov ecx, dword [0x10d4588]
imul eax, ecx
lea eax, [eax + 0x1109044]
cmp edi, eax
jae 0x1100321
mov eax, edi
sub eax, esi
xor edx, edx
mov ecx, dword [0x10d4588]
div ecx
mov ecx, dword [0x10d4588]
imul ecx, eax
lea ecx, [ecx + 0x1109044]
jmp 0x1100323
xor ecx, ecx
test ecx, ecx
je 0x1100348
mov ecx, dword [0x10d4588]
mov eax, edi
sub eax, esi
xor edx, edx
div ecx
mov ecx, dword [0x10f17c8]
mov dword [eax*4 + 0x113b06c], 0x23ad
jmp 0x1100365
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010106f2
leave
ret 0x10