Function at 0x10067be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100914ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [edx + 4]
sub eax, dword [edx]
push ebx
push esi
push edi
mov ebx, ecx
sar eax, 2
push edx
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
call fcn.10067a80
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [0x100f5d80]
mov dword [eax], ebx
mov eax, dword fs:[0x2c]
mov dword [esi], ebx
mov edi, dword [eax + ecx*4]
mov dword [ebp - 0x20], edi
mov eax, dword [edi + 0x100]
lea ebx, [edi + 0xa8]
test al, 1
jne 0x10067c91
or eax, 1
mov dword [ebx], 0
push 0x10091ee0
mov dword [edi + 0x100], eax
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
call fcn.100708ea
add esp, 4
mov eax, dword [edi + 0x100]
test al, 2
jne 0x10067cf7
or eax, 2
mov dword [edi + 0xe0], 0
push 0x10091ec0
mov dword [edi + 0x100], eax
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
call fcn.100708ea
add esp, 4
mov eax, dword [ebp - 0x18]
lea ecx, [edi + 0xe4]
mov dword [edi + 0xe0], eax
mov dword [ebx], eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.100249c0
push dword [edi + 0xe8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push dword [edi + 0xe4]
call fcn.100251b0
mov eax, dword [edi + 0xe4]
add esp, 8
mov ebx, dword [ebp + 0xc]
mov dword [eax], 1
lea eax, [ebx + 4]
push 1
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.100249c0
push dword [ebx + 8]
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push dword [ebx]
call fcn.100251b0
mov eax, dword [ebx]
add esp, 8
lea ebx, [esi + 4]
mov ecx, ebx
mov dword [ebp - 0x24], ebx
push 1
mov dword [eax], 0
call fcn.100249c0
push dword [esi + 8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push dword [ebx]
call fcn.100251b0
mov eax, dword [ebx]
add esp, 8
mov dword [eax], 1
mov ecx, dword [edi + 0xe8]
sub ecx, dword [edi + 0xe4]
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x48]
sar ecx, 2
dec ecx
sar eax, 2
cmp eax, ecx
jle 0x10067dde
mov ecx, dword [edi + 0xe0]
lea edx, [edi + 0xe4]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x48]
mov dword [edi + 0xe0], esi
call fcn.10025270
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x48]
cdq
sub eax, edx
sar ecx, 2
sar eax, 1
mov dword [ebp - 0x1c], eax
cmp ecx, eax
jle 0x10067f67
mov dword [ebp - 0x14], edi
nop dword [eax]
mov edx, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, dword [edx]
mov dword [edx], eax
mov edx, ebx
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10025270
mov ecx, dword [edi + 0xe0]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
lea ecx, [edi + 0xe4]
mov dword [edi + 0xe0], eax
call fcn.10025270
mov eax, dword [edi + 0xe4]
cmp dword [eax], 0
je 0x10067f77
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
lea esi, [eax + 0xa8]
push esi
lea eax, [eax + 0xe0]
push eax
call fcn.10024de0
mov eax, dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.10024b60
mov edx, dword [esi + 4]
cmp dword [edx], 0
jne 0x10067e92
mov eax, dword [ebp + 8]
lea ecx, [esi + 4]
mov edx, dword [edi + 0xa8]
mov eax, dword [eax]
mov dword [edi + 0xa8], eax
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov edx, ebx
call fcn.10025270
jmp 0x10067f11
mov eax, dword [ebx]
cmp dword [eax], 0
je 0x10067f11
mov ecx, dword [ebx + 4]
sub ecx, eax
mov eax, dword [esi + 8]
sub eax, edx
sar ecx, 2
sar eax, 2
cmp ecx, eax
jbe 0x10067eb7
lea edx, [esi + 4]
mov ecx, ebx
call fcn.10025270
mov eax, dword [ebp + 8]
mov edx, dword [esi + 8]
mov ebx, dword [esi + 4]
sub edx, ebx
sar edx, 2
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
mov eax, edx
sar ecx, 2
sub eax, ecx
cmp eax, edx
jae 0x10067f03
xor edi, edi
nop dword [eax + eax]
mov ecx, dword [ebp + 8]
lea edi, [edi + 4]
mov ecx, dword [ecx + 4]
mov ecx, dword [edi + ecx - 4]
xor dword [ebx + eax*4], ecx
inc eax
mov edx, dword [esi + 8]
mov ebx, dword [esi + 4]
sub edx, ebx
sar edx, 2
cmp eax, edx
jb 0x10067ee0
mov edi, dword [ebp - 0x20]
lea ecx, [edi + 0xa8]
call fcn.10025120
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp + 8]
lea edx, [edi + 0xac]
mov eax, dword [edi + 0xa8]
mov ecx, dword [esi]
mov dword [esi], eax
mov dword [edi + 0xa8], ecx
mov ecx, ebx
call fcn.10025270
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x48]
mov eax, dword [edi + 0xe8]
sub eax, dword [edi + 0xe4]
sar ecx, 2
sar eax, 2
dec ecx
dec eax
cmp ecx, eax
jge 0x10068000
mov dword [ebp - 0x14], edi
cmp ecx, dword [ebp - 0x1c]
jge 0x10067e00
mov ebx, dword [ebp + 0xc]
lea edi, [ebx + 4]
jmp 0x10067f6d
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [eax - 4]
test ecx, ecx
jne 0x10067f92
lea ecx, [ebp - 0x4c]
call fcn.10009430
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
sub eax, edx
sar eax, 1
cmp eax, ecx
jbe 0x1006801b
movsx eax, word [edx + ecx*2]
mov edx, dword [esi]
mov ecx, dword [ebp + 8]
sub edx, eax
mov eax, dword [esi + 8]
push 0
movsx esi, word [eax + edx*2 - 2]
push esi
call fcn.10024ce0
push 0
push esi
lea ecx, [ebp - 0x4c]
call fcn.10024ce0
mov eax, dword [ebp - 0x4c]
mov ecx, edi
mov dword [ebx], eax
lea eax, [ebp - 0x48]
push eax
call fcn.100253e0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebx + 0x10]
call fcn.100253e0
lea ecx, [ebp - 0x4c]
call fcn.10009430
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push str.Division_algorithm_failed_to_reduce_polynomial_
lea ecx, [ebp - 0x30]
call fcn.10067b90
push 0x100f2ce4
lea eax, [ebp - 0x30]
push eax
call fcn.10071b0a
call fcn.10003330
int3