Function at 0x121d60e
Capabilities:
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], edi
lea edi, [ebp + 4]
mov ebx, dword [edi + 4]
push ebx
sub edi, 4
push ebx
mov dword [ebp - 0x10], ebx
mov eax, 0xb575b50e
mov eax, dword [ebx + 8]
mov esi, dword [0x11e47bc]
mov edx, 0xfffffff
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
pop ecx
pop ecx
mov ecx, dword [ebx + 4]
and ecx, edx
and eax, edx
mov edx, 0x1000000
add ecx, 0x1000000
sub edx, esi
mov dword [ebp - 0x14], edx
jne 0x121d6b6
and dword [ebp - 4], 0
test eax, eax
jbe 0x121d8b5
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ecx]
add edx, 0x7a98383d
add dword [ebp - 0x24], edx
add edx, dword [ebp - 0x20]
imul edx, edx, 0x7a98383d
ror edx, 0x16
mov esi, edx
imul esi, esi, 0xf276
rol esi, 0xd
ror edx, 0xd
xor esi, edx
add dword [ebp - 0x24], esi
inc dword [ebp - 4]
mov dword [ebp - 0x20], esi
cmp dword [ebp - 4], eax
jb 0x121d677
jmp 0x121d8b5
mov esi, ecx
lea edx, [ecx + eax]
sub esi, 0x1000000
mov ebx, esi
and ebx, 0xfffff000
mov dword [ebp - 4], ebx
mov ebx, esi
add eax, esi
mov esi, eax
sub ebx, dword [ebp - 4]
and esi, 0xfffff000
mov dword [ebp - 0x1c], edx
mov edx, dword [0x100003c]
sub eax, esi
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0x10000a0]
add eax, 0x1000000
mov edx, dword [edx + 0x10000a4]
mov dword [ebp - 0xc], ebx
add edx, eax
mov dword [ebp - 0x38], esi
jmp 0x121d70e
mov esi, dword [eax]
cmp esi, dword [ebp - 4]
jae 0x121d712
add eax, dword [eax + 4]
cmp eax, edx
jne 0x121d704
and dword [ebp - 0x28], 0
cmp eax, edx
je 0x121d876
mov esi, dword [ebp - 4]
cmp dword [eax], esi
jne 0x121d75c
mov esi, dword [eax + 4]
sub esi, 8
shr esi, 1
mov dword [ebp - 8], esi
je 0x121d75c
lea esi, [eax + 8]
mov dword [ebp - 4], esi
jmp 0x121d73d
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
movzx esi, word [esi]
and esi, 0xfff
cmp esi, ebx
jae 0x121d75c
inc dword [ebp - 0x28]
mov esi, dword [ebp - 0x28]
add dword [ebp - 4], 2
cmp esi, dword [ebp - 8]
jne 0x121d73a
cmp eax, edx
je 0x121d876
mov esi, dword [eax]
cmp esi, dword [ebp - 0x38]
ja 0x121d876
mov esi, dword [eax + 4]
lea ebx, [esi - 8]
mov esi, dword [ebp - 0x28]
shr ebx, 1
cmp esi, ebx
jne 0x121d79a
add eax, dword [eax + 4]
cmp eax, edx
je 0x121d876
mov esi, dword [ebp - 0x38]
cmp dword [eax], esi
ja 0x121d876
and dword [ebp - 0x28], 0
jmp 0x121d76f
mov ebx, dword [ebp - 0x38]
cmp dword [eax], ebx
jne 0x121d7b5
movzx esi, word [eax + esi*2 + 8]
and esi, 0xfff
cmp esi, dword [ebp - 0x34]
jae 0x121d876
mov esi, dword [ebp - 0x28]
inc dword [ebp - 0x28]
mov ebx, 0xf000
test word [eax + esi*2 + 8], bx
je 0x121d75c
mov ebx, dword [eax]
movzx esi, word [eax + esi*2 + 8]
and esi, 0xfff
lea ebx, [esi + ebx + 0x1000000]
mov dword [ebp - 4], ebx
xor esi, esi
sub dword [ebp - 4], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
je 0x121d828
movzx esi, byte [esi + ecx]
add esi, 0x7a98383d
add dword [ebp - 0x24], esi
add esi, dword [ebp - 0x20]
imul esi, esi, 0x7a98383d
ror esi, 0x16
mov ebx, esi
imul ebx, ebx, 0xf276
rol ebx, 0xd
ror esi, 0xd
xor ebx, esi
mov esi, ebx
add dword [ebp - 0x24], esi
mov esi, dword [ebp - 8]
mov dword [ebp - 0x20], ebx
inc esi
mov dword [ebp - 8], esi
cmp esi, dword [ebp - 4]
jb 0x121d7eb
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x18], ecx
movzx ecx, byte [ebp + ebx - 0x18]
add ecx, 0x7a98383d
add dword [ebp - 0x24], ecx
add ecx, dword [ebp - 0x20]
imul ecx, ecx, 0x7a98383d
ror ecx, 0x16
mov esi, ecx
imul esi, esi, 0xf276
rol esi, 0xd
ror ecx, 0xd
xor esi, ecx
add dword [ebp - 0x24], esi
inc ebx
mov dword [ebp - 0x20], esi
cmp ebx, 4
jb 0x121d835
mov ecx, dword [ebp - 0xc]
add ecx, 4
jmp 0x121d75c
mov ebx, dword [ebp - 0x1c]
xor esi, esi
sub ebx, ecx
je 0x121d8b2
movzx eax, byte [ecx + esi]
add eax, 0x7a98383d
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
imul eax, eax, 0x7a98383d
ror eax, 0x16
mov edx, eax
imul edx, edx, 0xf276
rol edx, 0xd
ror eax, 0xd
xor edx, eax
add dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
inc esi
cmp esi, ebx
jb 0x121d87f
mov ebx, dword [ebp - 0x10]
add dword [edi + 8], 0x10
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx]
and eax, 0xfffffff
sub edx, dword [eax + 0x1000000]
sbb ecx, dword [eax + 0x1000004]
mov eax, edx
or eax, ecx
je 0x121d98a
call fcn.01244f80
lea ecx, [edi + 0xc]
mov edx, 0xfffff000
and eax, edx
mov dword [ebp - 0x1c], eax
and ecx, 0xfffffffc
lea eax, [ecx + 0xfff]
and eax, edx
mov dword [ebp - 0x10], eax
mov edx, 0xffff
mov dword [edi + 8], 0x10d8814
xor eax, eax
mov esi, dword [0x12d47a4]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov dword [0x12d47a4], esi
shr esi, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, esi
test edx, edx
jne 0x121d90a
mov esi, 0xffff
div esi
inc edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x1c], 0
jmp 0x121d953
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
add ecx, 4
cmp ecx, dword [ebp - 0x10]
jb 0x121d94b
mov dword [edi + 8], 0x10d8814
mov ebx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x3c]
and ebx, 0xfffffff
mov dword [ebp - 0x40], eax
mov ecx, eax
shl ecx, 0x10
add ebx, 0x1000000
xor ecx, dword [ebx]
xor ecx, dword [0x12d45ec]
xor ecx, eax
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], ecx
mov eax, 0xf19b95b1
mov edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x50]
mov esp, ebp
pop ebp
popfd
ret