Function at 0x118cbf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov ebx, 1
mov ebp, 2
xor edx, edx
mov esi, dword [esp + 0x48]
jmp 0x118cc13
inc ebx
inc ebp
inc edx
mov ch, byte [esi + edx]
movzx eax, ch
lea edi, [eax - 9]
cmp edi, 5
jb 0x118cc10
cmp eax, 0x20
je 0x118cc10
mov byte [esp + 0x13], ch
add ch, 0xd5
xor eax, eax
test ch, 0xfd
sete al
add eax, esi
mov dword [esp + 0x1c], eax
xor eax, eax
mov ecx, 0xffffffff
jmp 0x118cc59
mov edi, ecx
mov eax, dword [esp + 0x18]
inc eax
mov ecx, edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
add eax, edi
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + eax - 1]
lea edi, [eax - 0x30]
cmp edi, 0xa
jb 0x118cc50
mov dword [esp + 0x28], eax
cmp eax, 0x2e
jne 0x118cc85
mov edi, dword [esp + 0x18]
test ecx, ecx
js 0x118cc52
test ecx, ecx
setns byte [esp + 8]
mov edi, dword [esp + 0x18]
jns 0x118cc94
mov ecx, edi
mov dword [esp + 4], ecx
add edx, dword [esp + 0x1c]
xor ecx, ecx
movzx eax, byte [esp + 8]
mov cl, al
sub edi, ecx
cmp edi, 0x10
jl 0x118ccba
mov eax, dword [esp + 4]
add eax, 0xfffffff1
mov edi, 0xf
jmp 0x118ccd3
test edi, edi
mov eax, dword [esp + 4]
je 0x118cd27
neg ecx
sub eax, ecx
sub eax, dword [esp + 0x18]
cmp edi, 9
jle 0x118cdbc
mov esi, dword [esp + 0x1c]
lea ecx, [esi + ebx]
mov dword [esp + 8], ecx
mov ch, byte [esi + ebx - 1]
cmp ch, 0x2e
jne 0x118ccf3
mov ecx, dword [esp + 8]
mov ch, byte [ecx]
add esi, ebp
mov dword [esp + 8], esi
movsx ecx, ch
mov dword [esp + 4], ecx
add ecx, 0xffffffd0
cmp edi, 0xb
jb 0x118cf6f
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 8]
movzx ecx, byte [esi]
cmp cl, 0x2e
jne 0x118cd3d
movzx ecx, byte [esi + 1]
mov byte [esp + 3], cl
add esi, 2
mov dword [esp + 8], esi
jmp 0x118cd46
mov eax, dword [esp + 0x4c]
test eax, eax
movzx ecx, byte [esp + 0x13]
je 0x118cd36
mov dword [eax], esi
fldz
jmp 0x118d0d8
inc esi
mov dword [esp + 8], esi
mov byte [esp + 3], cl
mov ecx, dword [esp + 4]
and ecx, 0xa
mov dword [esp + 4], ecx
xor ecx, 0xa
mov dword [esp + 0x24], ecx
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], esi
and dword [esp + 0xc], 0xfffffff5
mov ecx, dword [esp + 0xc]
imul ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
or esi, 0xa
imul esi, dword [esp + 4]
movsx ecx, byte [esp + 3]
mov dword [esp + 4], ecx
mov ecx, esi
add ecx, dword [esp + 0xc]
mov esi, dword [esp + 4]
add ecx, esi
add ecx, 0xffffffd0
cmp edi, 0xb
je 0x118cf6f
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 8]
movzx ecx, byte [esi]
cmp cl, 0x2e
jne 0x118cdd5
movzx ecx, byte [esi + 1]
mov byte [esp + 3], cl
add esi, 2
mov dword [esp + 8], esi
jmp 0x118cdde
fldz
mov dword [esp + 8], edx
fld st(0)
test edi, edi
mov ecx, dword [esp + 0x20]
jg 0x118cf7e
jmp 0x118cfca
inc esi
mov dword [esp + 8], esi
mov byte [esp + 3], cl
mov esi, dword [esp + 0x14]
mov ecx, esi
and ecx, 0xa
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
or esi, 0xa
imul esi, dword [esp + 0xc]
xor dword [esp + 0xc], 0xa
mov ecx, dword [esp + 4]
and ecx, 0xfffffff5
imul ecx, dword [esp + 0xc]
mov dword [esp + 4], ecx
movsx ecx, byte [esp + 3]
mov dword [esp + 0xc], ecx
mov ecx, esi
add ecx, dword [esp + 4]
mov esi, dword [esp + 0xc]
add ecx, esi
add ecx, 0xffffffd0
cmp edi, 0xd
jb 0x118cf6f
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 8]
movzx ecx, byte [esi]
cmp cl, 0x2e
jne 0x118ce4e
movzx ecx, byte [esi + 1]
mov byte [esp + 3], cl
add esi, 2
mov dword [esp + 8], esi
jmp 0x118ce57
inc esi
mov dword [esp + 8], esi
mov byte [esp + 3], cl
mov esi, dword [esp + 0x14]
mov ecx, esi
and ecx, 0xa
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
or esi, 0xa
imul esi, dword [esp + 0xc]
xor dword [esp + 0xc], 0xa
mov ecx, dword [esp + 4]
and ecx, 0xfffffff5
imul ecx, dword [esp + 0xc]
mov dword [esp + 4], ecx
movsx ecx, byte [esp + 3]
mov dword [esp + 0xc], ecx
mov ecx, esi
add ecx, dword [esp + 4]
mov esi, dword [esp + 0xc]
add ecx, esi
add ecx, 0xffffffd0
cmp edi, 0xd
je 0x118cf6f
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 8]
movzx ecx, byte [esi]
cmp cl, 0x2e
jne 0x118cec7
movzx ecx, byte [esi + 1]
mov byte [esp + 3], cl
add esi, 2
mov dword [esp + 8], esi
jmp 0x118ced0
inc esi
mov dword [esp + 8], esi
mov byte [esp + 3], cl
mov esi, dword [esp + 0x14]
mov ecx, esi
and ecx, 0xa
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
or esi, 0xa
imul esi, dword [esp + 0xc]
xor dword [esp + 0xc], 0xa
mov ecx, dword [esp + 4]
and ecx, 0xfffffff5
imul ecx, dword [esp + 0xc]
mov dword [esp + 4], ecx
movsx ecx, byte [esp + 3]
mov dword [esp + 0xc], ecx
mov ecx, esi
add ecx, dword [esp + 4]
mov esi, dword [esp + 0xc]
add ecx, esi
add ecx, 0xffffffd0
cmp edi, 0xf
jb 0x118cf6f
mov edi, ecx
mov esi, dword [esp + 8]
movzx ecx, byte [esi]
cmp cl, 0x2e
jne 0x118cf3a
movzx ecx, byte [esi + 1]
mov byte [esp + 4], cl
add esi, 2
mov dword [esp + 8], esi
jmp 0x118cf43
inc esi
mov dword [esp + 8], esi
mov byte [esp + 4], cl
mov esi, edi
mov ecx, edi
and ecx, 0xa
or esi, 0xa
imul esi, ecx
xor ecx, 0xa
and edi, 0xfffffff5
imul edi, ecx
movsx ecx, byte [esp + 4]
mov dword [esp + 4], ecx
mov ecx, esi
add ecx, edi
mov esi, dword [esp + 4]
add ecx, esi
add ecx, 0xffffffd0
mov dword [esp + 0x30], ecx
mov edi, 9
fild dword [esp + 0x30]
fldz
fstp st(0)
mov dword [esp + 4], eax
inc edi
xor esi, esi
jmp 0x118cfb4
mov ch, byte [eax + 1]
add eax, 2
mov dword [esp + 8], eax
lea esi, [esi + esi*4]
movsx eax, ch
lea esi, [eax + esi*2]
add esi, 0xffffffd0
dec edi
cmp edi, 1
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
jle 0x118cfc2
mov eax, dword [esp + 8]
mov ch, byte [eax]
cmp ch, 0x2e
je 0x118cf90
inc eax
jmp 0x118cf96
mov dword [esp + 0x2c], esi
fild dword [esp + 0x2c]
mov esi, ecx
mov ecx, eax
fxch st(1)
fmul dword [str._knN]
faddp st(1)
mov eax, dword [esp + 0x28]
or eax, 0x20
cmp eax, 0x65
jne 0x118cfff
mov dword [esp + 4], ecx
mov ch, byte [ebx + esi]
mov al, ch
add al, 0xd5
test al, 0xfd
mov esi, dword [esp + 0x18]
je 0x118d007
mov eax, dword [esp + 0x1c]
add eax, ebx
jmp 0x118d00d
add edx, dword [esp + 0x18]
xor edi, edi
jmp 0x118d04e
mov eax, dword [esp + 0x1c]
add eax, ebp
lea edx, [eax + esi]
movzx ebx, byte [eax + esi]
lea esi, [ebx - 0x30]
xor edi, edi
cmp esi, 9
ja 0x118d043
xor edi, edi
add edi, edi
lea eax, [edi + edi*4]
movsx esi, bl
add esi, 0xffffffd0
mov edi, esi
and edi, eax
xor esi, eax
lea edi, [esi + edi*2]
movzx ebx, byte [edx + 1]
inc edx
mov esi, ebx
add esi, 0xffffffd0
cmp esi, 0xa
jb 0x118d020
cmp ch, 0x2d
jne 0x118d04a
neg edi
mov ecx, dword [esp + 4]
add edi, ecx
mov esi, edi
sar esi, 0x1f
mov eax, edi
xor eax, esi
sub eax, esi
cmp eax, 0x200
jb 0x118d07e
mov eax, 0x1ff
mov esi, dword [esp + 0x50]
test esi, esi
movzx ecx, byte [esp + 0x13]
je 0x118d07a
mov dword [esi], 0x22
fldz
jmp 0x118d089
fld1
test edi, edi
movzx ecx, byte [esp + 0x13]
je 0x118d0b6
fstp st(0)
fld1
mov esi, 0x11c4718
jmp 0x118d0ae
mov ebx, eax
shr ebx, 1
add esi, 8
cmp eax, 2
mov eax, ebx
jb 0x118d0b6
test al, 1
je 0x118d0a0
fmul qword [esi]
jmp 0x118d0a0
fld st(1)
fmul st(1)
test edi, edi
jns 0x118d0ca
fstp st(0)
fdivp st(1)
fldz
fldz
fxch st(1)
fxch st(2)
fstp st(2)
fstp st(0)
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x118d0d8
mov dword [eax], edx
fld st(0)
fchs
cmp cl, 0x2d
je 0x118d0e7
fstp st(0)
fldz
fxch st(1)
fstp st(1)
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret