Function at 0x1006bd3d
Capabilities:
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edi
lea edi, [ebp + 4]
mov esi, dword [edi + 4]
push esi
push esi
mov dword [ebp - 0x10], esi
sub edi, 4
mov eax, 0x7426582
mov ebx, dword [0x1001256c]
mov eax, 0xfffffff
mov edx, dword [esi]
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
pop ecx
pop ecx
mov ecx, dword [esi + 4]
and ecx, eax
and edx, eax
mov eax, 0x10000000
add ecx, 0x10000000
sub eax, ebx
mov dword [ebp - 0x14], eax
jne 0x1006bdec
and dword [ebp - 4], 0
test edx, edx
jbe 0x1006bffa
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ecx]
add eax, 0x3abb15bf
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
imul eax, eax, 0x3abb15bf
ror eax, 6
imul eax, eax, 0x3abb15bf
ror eax, 6
mov ebx, eax
imul eax, eax, 0x4166
rol eax, 0xf
ror ebx, 0xf
xor eax, ebx
add dword [ebp - 0x24], eax
inc dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 4], edx
jb 0x1006bda5
jmp 0x1006bffa
lea eax, [ecx + edx]
mov esi, dword [0x1000003c]
mov dword [ebp - 0x1c], eax
mov eax, ecx
sub eax, 0x10000000
mov ebx, eax
and ebx, 0xfffff000
mov dword [ebp - 4], ebx
mov ebx, eax
sub ebx, dword [ebp - 4]
add eax, edx
mov edx, eax
and edx, 0xfffff000
sub eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x100000a0]
mov esi, dword [esi + 0x100000a4]
add eax, 0x10000000
add esi, eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], esi
jmp 0x1006be43
mov edx, dword [ebp - 4]
cmp dword [eax], edx
jae 0x1006be47
add eax, dword [eax + 4]
cmp eax, esi
jne 0x1006be39
and dword [ebp - 0x28], 0
cmp eax, esi
je 0x1006be88
mov edx, dword [ebp - 4]
cmp dword [eax], edx
jne 0x1006be88
mov edx, dword [eax + 4]
sub edx, 8
shr edx, 1
mov dword [ebp - 8], edx
je 0x1006be88
lea edx, [eax + 8]
jmp 0x1006be6b
mov edx, dword [ebp - 0xc]
movzx esi, word [edx]
and esi, 0xfff
cmp esi, ebx
jae 0x1006be88
inc dword [ebp - 0x28]
inc edx
inc edx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 8]
jne 0x1006be68
mov ebx, 0x3abb15bf
cmp eax, dword [ebp - 0x30]
je 0x1006bfb1
mov edx, dword [ebp - 0x38]
cmp dword [eax], edx
ja 0x1006bfb1
mov esi, dword [ebp - 0x28]
mov edx, dword [eax + 4]
add edx, 0xfffffff8
shr edx, 1
cmp esi, edx
jne 0x1006becb
add eax, dword [eax + 4]
cmp eax, dword [ebp - 0x30]
je 0x1006bfb1
mov edx, dword [ebp - 0x38]
cmp dword [eax], edx
ja 0x1006bfb1
xor esi, esi
jmp 0x1006bea4
mov edx, dword [ebp - 0x38]
cmp dword [eax], edx
jne 0x1006bee6
movzx edx, word [eax + esi*2 + 8]
and edx, 0xfff
cmp edx, dword [ebp - 0x34]
jae 0x1006bfb1
mov edx, esi
inc esi
mov dword [ebp - 0x28], esi
mov esi, 0xf000
test word [eax + edx*2 + 8], si
je 0x1006be8d
mov esi, dword [eax]
movzx edx, word [eax + edx*2 + 8]
and edx, 0xfff
lea esi, [edx + esi + 0x10000000]
xor edx, edx
mov dword [ebp - 4], esi
sub dword [ebp - 4], ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edx
je 0x1006bf5e
movzx edx, byte [edx + ecx]
add edx, ebx
add dword [ebp - 0x24], edx
add edx, dword [ebp - 0x20]
imul edx, edx, 0x3abb15bf
ror edx, 6
imul edx, edx, 0x3abb15bf
ror edx, 6
mov esi, edx
imul esi, esi, 0x4166
rol esi, 0xf
ror edx, 0xf
xor esi, edx
mov edx, esi
add dword [ebp - 0x24], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], esi
inc edx
mov dword [ebp - 8], edx
cmp edx, dword [ebp - 4]
jb 0x1006bf1c
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
xor esi, esi
movzx ecx, byte [ebp + esi - 0x18]
add ecx, ebx
add dword [ebp - 0x24], ecx
add ecx, dword [ebp - 0x20]
imul ecx, ecx, 0x3abb15bf
ror ecx, 6
imul ecx, ecx, 0x3abb15bf
ror ecx, 6
mov edx, ecx
imul ecx, ecx, 0x4166
rol ecx, 0xf
ror edx, 0xf
xor ecx, edx
add dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
inc esi
cmp esi, 4
jb 0x1006bf6b
mov ecx, dword [ebp - 0xc]
add ecx, 4
jmp 0x1006be8d
mov eax, dword [ebp - 0x1c]
xor esi, esi
sub eax, ecx
mov dword [ebp - 0x1c], eax
je 0x1006bff7
movzx eax, byte [esi + ecx]
add eax, ebx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
imul eax, eax, 0x3abb15bf
ror eax, 6
imul eax, eax, 0x3abb15bf
ror eax, 6
mov edx, eax
imul eax, eax, 0x4166
rol eax, 0xf
ror edx, 0xf
xor eax, edx
add dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x1006bfbd
mov esi, dword [ebp - 0x10]
add dword [edi + 8], 0x10
mov ecx, dword [esi + 0xc]
and ecx, 0xfffffff
mov eax, dword [ecx + 0x10000000]
mov ecx, dword [ecx + 0x10000004]
xor eax, dword [ebp - 0x24]
xor ecx, dword [ebp - 0x20]
or eax, ecx
je 0x1006c0cf
call fcn.100c797f
mov edx, 0xfffff000
lea ecx, [edi + 0xc]
and eax, edx
and ecx, 0xfffffffc
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 0xfff]
and eax, edx
mov edx, 0xffff
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [edi + 8], 0x100f1b6e
mov ebx, dword [0x1012ee38]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x1012ee38], ebx
shr ebx, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, ebx
test edx, edx
jne 0x1006c04f
mov ebx, 0xffff
div ebx
inc edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x1c], 0
jmp 0x1006c098
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
add ecx, 4
cmp ecx, dword [ebp - 0x10]
jb 0x1006c090
mov dword [edi + 8], 0x100f1b6e
mov esi, dword [esi + 8]
and esi, 0xfffffff
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov dword [ebp - 0x40], eax
shl ecx, 0x10
add esi, 0x10000000
xor ecx, dword [esi]
xor ecx, dword [0x1012ea74]
xor ecx, eax
and dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], ecx
mov eax, 0x3ed91303
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x40]
mov esp, ebp
pop ebp
popfd
ret